DP5 errors in IOHIDEventQueue.c

I was working on XCode5-DP4 and I switched to DP5.

Now I have this nasty errors on my logs:

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

Any ideas? I don't even know where to start searching.


Solution 1:

This is a bug in Xcode 5 DP5. Just ignore it, it will go away in the next BETA build eventually.

Solution 2:

change your main.m file with this

#import <UIKit/UIKit.h>
#import "QDAppDelegate.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([QDAppDelegate class]));
    }
}