Xcode iOS Instruments:

I have a build of my application that only fires when the tools start. The playback case is 100%, but not a failure when starting the assembly without tools and when performing a debug assembly. Since the tools run the final build, I can, step by step, find out what the crash is. When a build failure occurs, it does it silently, without the output that I can find. This is only a failure when using Allocations in tools.

I am having difficulty tracking what is happening. Is there a tool mode that I don't know about that will lure this error and tell me the specifics?

I read similar questions in Stackoverflow, but these questions did not help me.

The crash acts like a zombie, but only happens when you start the tools, and “detection of zombies on” does not indicate zombies.

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
CoreSimulator 209.19 - Device: iPad Air 2 - Runtime: iOS 9.3 (13E230) - DeviceType: iPad Air 2

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib              0x0000000109f03dc0 swift_retainCount + 0
1   liboainject.dylib               0x000000010335d223 oa_swift_tryRetain + 297
2   libswiftCore.dylib              0x0000000109f14d69 -[SwiftObject retainWeakReference] + 9
3   libobjc.A.dylib                 0x00000001098b8b6b weak_read_no_lock + 89
4   libobjc.A.dylib                 0x00000001098b94c6 objc_loadWeakRetained + 104
5   libobjc.A.dylib                 0x00000001098b94f2 objc_loadWeak + 15
6   com.apple.Foundation            0x0000000108da975c empty + 35
7   com.apple.Foundation            0x0000000108da96fa -[NSConcreteHashTable dealloc] + 46
8   libobjc.A.dylib                 0x00000001098b9afe objc_object::sidetable_release(bool) + 232
9   liboainject.dylib               0x000000010335c6e9 ___swapMethods_block_invoke_4 + 272 ````
+4
source share
1 answer

For Xcode 9 for Xcode 9, I really like the iOS 10 simulators, by default it is the iOS 11 simulator, but I also want to check on iOS 10.

So far so bad, any manipulation of tools has led to the fact that my application crashed with almost the same backtrace as when using the iOS 10 simulator.

I tried a lot of things, and finally I thought that there might be some incompatibility of Xcode 9 Instrument with the old simulator SDK.

, iOS11, Xcode 9, .

.

+1

All Articles