Why does my iOS program not work in Xcode beta 4?
Why does my iOS program not work in Xcode beta 4?
- Subject: Why does my iOS program not work in Xcode beta 4?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 23 Jul 2014 19:19:14 +0700
Some Swift app worked fine in beta 3.
Now no more.
1. Simulator (8.0) iPhone 4s:
Simulator says: "Unable to boot device in current state: Booted"
Xcode says: "Unable to run app in Simulator
An error was encountered while running (Domain = com.apple.CoreSimulator.SimError, Code = 146)"
2. on device in Release mode:
Sometimes nothing happens, Cpu 0%, device shows black screen. After 2 minutes I clicked "Pause":
(lldb) bt
* thread #1: tid = 0xe15c2, 0x38f4aa58 libsystem_kernel.dylib`mach_msg_trap + 20, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x38f4aa58 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x38f4a858 libsystem_kernel.dylib`mach_msg + 48
frame #2: 0x2e0ea84a CoreFoundation`__CFRunLoopServiceMachPort + 154
frame #3: 0x2e0e8fb6 CoreFoundation`__CFRunLoopRun + 854
frame #4: 0x2e053ebe CoreFoundation`CFRunLoopRunSpecific + 522
frame #5: 0x2e053ca2 CoreFoundation`CFRunLoopRunInMode + 106
frame #6: 0x32fad662 GraphicsServices`GSEventRunModal + 138
frame #7: 0x309a014c UIKit`UIApplicationMain + 1136
frame #8: 0x000944b8 gTalk`main [inlined] top_level_code + 56 at AppDelegate.swift:85
frame #9: 0x00094480 gTalk`main + 32 at AppDelegate.swift:0
(lldb)
Sometimes:
didFinishLaunchingWithOptions
applicationDidBecomeActive will return
then:
(lldb) bt
* thread #1: tid = 0xe1711, 0x389a4626 libobjc.A.dylib`objc_msgSend + 6, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2000000c)
frame #0: 0x389a4626 libobjc.A.dylib`objc_msgSend + 6
frame #1: 0x2e0508ec CoreFoundation`CFRelease + 556
frame #2: 0x2e05bdc8 CoreFoundation`-[__NSArrayM dealloc] + 156
frame #3: 0x389a9b6a libobjc.A.dylib`objc_object::sidetable_release(bool) + 174
frame #4: 0x389aa0d6 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 358
frame #5: 0x2e053c18 CoreFoundation`_CFAutoreleasePoolPop + 16
frame #6: 0x2ea41670 Foundation`-[NSAutoreleasePool release] + 120
frame #7: 0x309a5cc8 UIKit`_UIApplicationHandleEvent + 648
frame #8: 0x32faeaec GraphicsServices`_PurpleEventCallback + 608
frame #9: 0x32fae6d6 GraphicsServices`PurpleEventCallback + 34
frame #10: 0x2e0eaa66 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
frame #11: 0x2e0eaa02 CoreFoundation`__CFRunLoopDoSource1 + 346
frame #12: 0x2e0e91d6 CoreFoundation`__CFRunLoopRun + 1398
frame #13: 0x2e053ebe CoreFoundation`CFRunLoopRunSpecific + 522
frame #14: 0x2e053ca2 CoreFoundation`CFRunLoopRunInMode + 106
frame #15: 0x309a4ed0 UIKit`-[UIApplication _run] + 760
frame #16: 0x309a014c UIKit`UIApplicationMain + 1136
* frame #17: 0x0006a4b8 gTalk`main [inlined] top_level_code + 56 at AppDelegate.swift:85
frame #18: 0x0006a480 gTalk`main + 32 at AppDelegate.swift:0
(lldb)
The only good thing:
3. on device in Debug mode: everything seems to be ok.
Any idea how to debug this?
Gerriet.
P.S.
There were some strange things happening (forgot what) when I opened my project the first time in Xcode beta 4.
Did Clean + Clean Build Folder and it got much better.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden