Swift和TestFlight适用于iOS 8但不适用于iOS 7

时间:2014-07-11 22:25:51

标签: ios ios7 swift testflight

我一直在使用Swift开发一个应用程序(下面称为Awesome)并通过它进行分发。 TestFlight。

当我在iOS 7和iOS 8模拟器上或在iOS 7和iOS 8设备上从Xcode构建和运行应用程序时,它没有问题。

当我将.ipa文件上传到TestFlight并在我的iOS 8 iPhone 5上运行时,它没有问题。

然而,当有人试图在TestFlight的iOS 7设备上运行它时,它会显示启动屏幕,然后崩溃。我有一个测试人员给我他的设备控制台日志。这是他发给我的东西:

Jul  7 22:31:53 Test-Device kernel[0] <Debug>: launchd[11694] Container: /private/var/mobile/Applications/A1D07729-70B6-4B23-ADEC-7C78F85FE8D9 (sandbox)
Jul  7 22:31:53 Test-Device networkd[81] <Warning>: Analytics Engine: double ON for app: com.Awesome.Awesome
Jul  7 22:31:53 Test-Device backboardd[31] <Error>: HID: The 'Passive' connection 'Awesome' access to protected services is denied.
Jul  7 22:31:53 Test-Device Awesome[11694] <Warning>: Unsupported pixel format in CSI
Jul  7 22:31:53 Test-Device Awesome[11694] <Warning>: Unable to create unsliced image from csi bitmap data.
Jul  7 22:31:53 Test-Device Awesome[11694] <Warning>: Could not load the "Logo" image referenced from a nib in the bundle with identifier "com.Awesome.Awesome"
Jul  7 22:31:54 Test-Device ReportCrash[11695] <Notice>: ReportCrash acting against PID 11694
Jul  7 22:31:54 Test-Device ReportCrash[11695] <Notice>: Formulating crash report for process Awesome[11694]
Jul  7 22:31:54 Test-Device com.apple.launchd[1] (UIKitApplication:com.Awesome.Awesome[0xc40d][11694]) <Warning>: (UIKitApplication:com.Awesome.Awesome[0xc40d]) Job appears to have crashed: Abort trap: 6
Jul  7 22:31:54 Test-Device backboardd[31] <Warning>: Application 'UIKitApplication:com.Awesome.Awesome[0xc40d]' exited abnormally with signal 6: Abort trap: 6
Jul  7 22:31:54 Test-Device ReportCrash[11695] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Awesome_2014-07-07-223154_Test-Device.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

我做错了什么?

1 个答案:

答案 0 :(得分:1)

我将发布优化级别(在构建设置中)设置为“无[-oNone]”并且它可以正常工作。