【发布时间】:2016-06-23 22:57:35
【问题描述】:
我正在使用适用于 iOS 的“Google 分析”SDK。 sdk强迫我将Enable bitcode从Yes设置为NO
当我禁用位码时,我的设备 (iOS 9) 上出现编译错误,但模拟器上没有 dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /var/mobile/Containers/Bundle/Application/940F4D49-6239-4645-9FAE-99D482BFA1C4/Skip It.app/Skip It
Reason: image not found
我通过 cocoaPods 添加了 Alamofire。为了解决上述错误,我在“Linked Framworks and Libraries”中添加了Alamofire框架并使其成为可选,如截图
现在我可以在我的设备 (iOS 9) 上运行应用程序,但是每当代码使用其他可选框架的 Alamofire 时,应用程序就会崩溃。
我无法找到解决方案。我google了很多,但没有用。请有人帮忙
【问题讨论】:
-
您提供了更多关于您已经解决的问题的详细信息,而不是您当前遇到的问题。我没有看到任何人可以帮助解决“应用程序崩溃”问题。
标签: ios compiler-errors ios9 xcode7.2