启动 TestFlight 构建需要几秒钟(App Store 应用程序很好)

Launching a TestFlight build takes multiple seconds (App Store apps are fine)

注意:这个问题最初是 posted to the Apple Developer Forums(需要登录)。

问题

我有一个 iPhone 6 Plus 运行ning iOS 8.1.3 (12B466),在大多数情况下它都按预期运行。但是,我通过 TestFlight 或构建安装的任何应用程序和 运行 在设备上 Xcode 都需要几秒钟才能启动。

图标会变暗,3、4 或 5(!) 秒后应用程序将启动,有时整个 phone 会在启动期间崩溃。这发生在通过 TestFlight 安装的任何应用程序上,而不仅仅是我自己的应用程序。通过 App Store 安装的应用程序可以立即启动。

我还有一个 iPhone 6 和 5S,它们会按预期立即启动 TestFlight 应用程序。

还有其他人遇到这个问题吗?

为解决问题而采取的步骤:

其他信息

关于我的 iPhone 6 Plus,我唯一注意到的另一件事是从应用程序内部调用 UIImagePickerController 也需要几秒钟,这是真的(至少);我自己的应用程序,iMessage,Tweetbot。

控制台输出

运行#1(Luas 应用)

Mar  4 17:02:56 Richards-iPhone kernel[0] <Notice>: 006747.446970 wlan0.A[282] AppleBCMWLANCore::dumpWmeCounters():  per AC tx counters: 2355413 596034 1940 1256, rx counters: 3638640 0 0 0 
Mar  4 17:02:56 Richards-iPhone kernel[0] <Notice>: 006747.446982 wlan0.A[283] AppleBCMWLANCore::dumpWmeCounters():                AWDL: Tx 0 0 0 0      Rx: 0 0 0 0 
Mar  4 17:02:57 Richards-iPhone syncdefaultsd[611] <Notice>: (Note ) marked "com.me.keyvalueservice" topic as "enabled" on <APSConnection: 0x146e29200>
Mar  4 17:03:01 Richards-iPhone kernel[0] <Notice>: xpcproxy[628] Container: /private/var/mobile/Containers/Data/Application/67627D3D-73E3-4CEA-8A13-8ADBCBDC7925 (sandbox)
Mar  4 17:03:01 Richards-iPhone locationd[60] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar  4 17:03:01 Richards-iPhone SpringBoard[53] <Warning>: Received memory warning.
Mar  4 17:03:01 Richards-iPhone Luas[628] <Error>: assertion failed: 12B466: libxpc.dylib + 71820 [2A02E77C-4317-32E2-92FB-E37AF8747B2E]: 0x7d
Mar  4 17:03:01 Richards-iPhone Unknown[628] <Error>: 

运行#2(Luas 应用)

此启动导致 phone 重新启动(可能 Springboard 重新启动?)

Mar  4 17:05:06 Richards-iPhone SpringBoard[53] <Warning>: Compiler connection failed with XPC_ERROR_CONNECTION_INTERRUPTED
Mar  4 17:05:09 Richards-iPhone kernel[0] <Notice>: xpcproxy[634] Container: /private/var/mobile/Containers/Data/Application/67627D3D-73E3-4CEA-8A13-8ADBCBDC7925 (sandbox)
Mar  4 17:05:09 Richards-iPhone Luas[634] <Error>: assertion failed: 12B466: libxpc.dylib + 71820 [2A02E77C-4317-32E2-92FB-E37AF8747B2E]: 0x7d
Mar  4 17:05:10 Richards-iPhone SpringBoard[53] <Warning>: Received memory warning.
Mar  4 17:05:09 Richards-iPhone Unknown[634] <Error>: 
Mar  4 17:05:10 Richards-iPhone locationd[60] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

运行#3(Luas 应用)

Mar  4 17:09:15 Richards-iPhone kernel[0] <Notice>: xpcproxy[655] Container: /private/var/mobile/Containers/Data/Application/67627D3D-73E3-4CEA-8A13-8ADBCBDC7925 (sandbox)
Mar  4 17:09:15 Richards-iPhone SpringBoard[638] <Warning>: Received memory warning.
Mar  4 17:09:15 Richards-iPhone Luas[655] <Error>: assertion failed: 12B466: libxpc.dylib + 71820 [2A02E77C-4317-32E2-92FB-E37AF8747B2E]: 0x7d
Mar  4 17:09:15 Richards-iPhone Unknown[655] <Error>: 
Mar  4 17:09:16 Richards-iPhone locationd[60] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

运行#4(Vail 应用)

不同的应用程序,但在 Springboard 中点击它后仍然等待多秒。

Mar  4 17:09:45 Richards-iPhone locationd[60] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar  4 17:09:48 Richards-iPhone kernel[0] <Notice>: xpcproxy[656] Container: /private/var/mobile/Containers/Data/Application/B88A4E35-32DF-4C9C-8B28-066FAC93835F (sandbox)
Mar  4 17:09:48 Richards-iPhone vail[656] <Error>: assertion failed: 12B466: libxpc.dylib + 71820 [2A02E77C-4317-32E2-92FB-E37AF8747B2E]: 0x7d
Mar  4 17:09:48 Richards-iPhone SpringBoard[638] <Warning>: Received memory warning.
Mar  4 17:09:48 Richards-iPhone Unknown[656] <Error>: 
Mar  4 17:09:48 Richards-iPhone locationd[60] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

详情请见Apple Dev Forum thread

Xcode 6 无法显示所有已安装的配置文件,并且一次只能删除一个。 iPhone 配置实用程序不再适用于删除配置文件(在 运行 iOS 8+ 设备上)and/or Yosemite。

tl;博士

我使用 Xcode 5.1.1 删除了大部分配置文件,现在应用程序立即启动!