使用xcodebuild和xcode 6进行临时构建崩溃除非“干净”

时间:2014-09-24 21:42:05

标签: ios xcode xcode6 xcodebuild

我使用xcodebuild进行自动构建,我发现使用新的xcode 6,如果我不在两个ad hoc构建之间“清理”,那么构建几乎立即就会在设备上崩溃时崩溃。堆栈跟踪如下所示:

   Last Exception Backtrace:
0   CoreFoundation                  0x2e9bbec6 __exceptionPreprocess + 126
1   libobjc.A.dylib                 0x39156ce2 objc_exception_throw + 34
2   CoreFoundation                  0x2e9bbe08 +[NSException raise:format:] + 108
3   UIKit                           0x3155c3ec -[UINib instantiateWithOwner:options:] + 784
4   UIKit                           0x3155dd86 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 134
5   UIKit                           0x314643fe -[UIApplication _loadMainNibFileNamed:bundle:] + 30
6   UIKit                           0x31256bb6 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 478
7   UIKit                           0x311f2c72 -[UIApplication handleEvent:withNewEvent:] + 3546
8   UIKit                           0x311f1dd4 -[UIApplication sendEvent:] + 68
9   UIKit                           0x312563e0 _UIApplicationHandleEvent + 612
10  GraphicsServices                0x3385fb50 _PurpleEventCallback + 604
11  GraphicsServices                0x3385f73a PurpleEventCallback + 30
12  CoreFoundation                  0x2e986802 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
13  CoreFoundation                  0x2e98679e __CFRunLoopDoSource1 + 342
14  CoreFoundation                  0x2e984f6a __CFRunLoopRun + 1402
15  CoreFoundation                  0x2e8ef724 CFRunLoopRunSpecific + 520
16  CoreFoundation                  0x2e8ef506 CFRunLoopRunInMode + 102
17  UIKit                           0x31255606 -[UIApplication _run] + 758
18  UIKit                           0x3125086c UIApplicationMain + 1132

我想无论如何在构建之间进行清理会更好,但我不确定我是否在做其他错误。

0 个答案:

没有答案