jer*_*yms 4 xcode objective-c rpath ios cocoapods
我目前正在使用Xcode 8.1,可可豆荚1.2.0.beta.1,并在iOS 10.1的模拟器上启动我的应用程序.我的应用程序构建得很好,但是在模拟器中启动应用程序后,我收到以下错误:
dyld: Library not loaded: @rpath/AFNetworking.framework/AFNetworking
Referenced from: /Users/XXXXX/Library/Developer/CoreSimulator/Devices/XXXXX/data/Containers/Bundle/Application/XXXXX/XXXXX.app/XXXXX
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
我的Podfile是:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
platform :ios, '8.0'
target "XXXXX" do
platform :ios, '8.0'
use_frameworks!
pod 'AFNetworking'
...
end
post_install do | installer |
require 'fileutils'
FileUtils.cp_r('Pods/Target Support Files/Pods-XXXXX/Pods-XXXXX-acknowledgements.plist', 'Pods-Acknowledgements.plist', :remove_desve_destination => true)
end
Run Code Online (Sandbox Code Playgroud)
我已经尝试过去集成并重新安装我的可可豆荚,将Pods-XXXXX.framework更改为可选,禁用Bitcode,以及清理工作区.这些选项(或它们的任意组合)都没有奏效.任何帮助深表感谢.
归档时间: |
|
查看次数: |
2334 次 |
最近记录: |