Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AssertMacros: queueEntry error -ios

What does this error mean?

AssertMacros: queueEntry,  file: /SourceCache/IOKitUser/IOKitUser-920.1.11/hid.subproj/IOHIDEventQueue.c, line: 512
AssertMacros: queueEntry,  file: /SourceCache/IOKitUser/IOKitUser-920.1.11/hid.subproj/IOHIDEventQueue.c, line: 512
AssertMacros: queueEntry,  file: /SourceCache/IOKitUser/IOKitUser-920.1.11/hid.subproj/IOHIDEventQueue.c, line: 512
AssertMacros: queueEntry,  file: /SourceCache/IOKitUser/IOKitUser-920.1.11/hid.subproj/IOHIDEventQueue.c, line: 512

I am getting this error when starting the application

like image 612
amone Avatar asked Aug 12 '13 00:08

amone


2 Answers

Change your main.m file like this:

#import <UIKit/UIKit.h>

#import "AppDelegate.h"


typedef int (*PYStdWriter)(void *, const char *, int);
static PYStdWriter _oldStdWrite;

int __pyStderrWrite(void *inFD, const char *buffer, int size)
{
    if ( strncmp(buffer, "AssertMacros:", 13) == 0 ) {
        return 0;
    }
    return _oldStdWrite(inFD, buffer, size);
}

int main(int argc, char * argv[])
{
    _oldStdWrite = stderr->_write;
    stderr->_write = __pyStderrWrite;
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
}
like image 68
schirrmacher Avatar answered Nov 04 '22 15:11

schirrmacher


As mentioned in the comments, the issue is isolated to iOS 7 Beta. Since the beta is under NDA, you will need to visit the Apple Developer forums for more information.

https://devforums.apple.com/thread/197966?start=0&tstart=0

like image 44
Scott D Avatar answered Nov 04 '22 14:11

Scott D