我创建了一个默认的单 View swift 项目,并在 Podfile 中添加了 11 个库。 我可以从 xcode 内部运行该应用程序,但是当我直接使用此堆栈从手机运行该应用程序时,该应用程序无法运行:
Incident Identifier: 3EB8A44E-8F2C-407A-AE7B-A314E62AC61B CrashReporter Key: d8ab2628e36e1c5ef60c63f217d734d62950b336 Hardware Model: iPhone5,2 Process: testPod [1250] Path:
/var/mobile/Containers/Bundle/Application/0F6BFE2A-4FD0-4553-9AB6-CFC5281FE707/testPod.app/testPod Identifier: com.franck.testPod.testPod Version: 1 (1.0) Code Type: ARM (Native) Parent Process: launchd [1]Date/Time: 2016-03-17 10:48:44.44 +0100 Launch Time:
2016-03-17 10:48:22.22 +0100 OS Version: iOS 9.2.1 (13D15) Report Version: 105Exception Type: 00000020 Exception Codes: 0x000000008badf00d Exception Note: SIMULATED (this is NOT a crash) Highlighted by Thread: 0
Application Specific Information: com.franck.testPod.testPod failed to launch after 20.00s (launchIntent: foreground-interactive)
Elapsed total CPU time (seconds): 25.650 (user 25.650, system 0.000), 64% CPU Elapsed application CPU time (seconds): 0.020, 0% CPU
Filtered syslog: None found
Thread 0: 0 dyld 0x1fe96e8c __fcntl + 8 1 dyld 0x1fe96a94 fcntl + 108 2 dyld
0x1fe86ff4 ImageLoaderMachO::loadCodeSignature(linkedit_data_command const*, int, unsigned long long, ImageLoader::LinkContext const&) + 40 3 dyld 0x1fe8b640 ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) + 244 4 dyld 0x1fe8651e ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) + 246
有人以前经历过这种情况吗?我正在使用 cocoapods-0.39.0。
Podfile 是:
target 'testPod' do
pod 'SkyFloatingLabelTextField'
pod 'CSStickyHeaderFlowLayout'
pod 'Argo'
pod 'ReactiveCocoa'
pod 'NVActivityIndicatorView'
pod 'Alamofire'
pod 'SwiftCarousel'
pod 'SnapKit'
pod 'WatchdogInspector'
pod 'Fabric'
pod 'Crashlytics'
end
最佳答案
iOS 9.3已自动修复
关于ios - 使用 cocoapod 的 swift 应用程序在 20 点后无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36057475/