有一个MFI设备通过蓝牙(2.1 + EDR)连接到iPhone 4S(6.0 GM)或iPad(6.0 GM).该项目建立在Xcode 4.5 GM上.当应用程序获取时EAAccessoryDidDisconnectNotification
,它将发送消息[_eaSessionController closeSession];
.所有这些在iOS 5.1.1或耳机中都很好用.但在带有此消息的iOS6上,我得到的日志如下:
-[NSCondition dealloc]: condition (<NSCondition: 0x2e5640> '(null)') deallocated while still in use
Break on _NSLockError() to debug.
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?
在下一个obj-c代码中有问题错误.
if (fabs(originalLocation.timestamp - ((CLLocation *)[lastLocations objectAtIndex:i]).timestamp) > constAverageLocationTimeout)
{
//do
}
Run Code Online (Sandbox Code Playgroud)
xCode发送错误:
error: Semantic Issue: Arithmetic on pointer to interface 'NSDate', which is not a constant size in non-fragile ABI
Run Code Online (Sandbox Code Playgroud)
有什么想法吗?