我想知道是否有人可以使用 Pods 制作 Alamofire?因为我所有的 friend 都不是。
从 Alamofire github 页面复制的步骤:
$ gem install cocoapods --pre
To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0'
pod 'Alamofire', '~> 1.1'
Then, run the following command:
$ pod install
如果您在连接到 Xcode 的设备上运行,一切正常。 但是如果存档并制作 ipa - 你总是得到 p>
Dyld 错误信息: 库未加载:@rpath/Alamofire.framework/Alamofire 原因:没有找到合适的图片。
所以有人知道这个 secret 吗? ))) 谢谢!!!
最佳答案
这肯定是关于您的苹果开发者证书。您最好转到钥匙串(keychain)应用程序并检查它的证书有效性。
我遇到了同样的问题。还要检查 key 链中的 Apple Worldwide Developer Relations Certification Authority。
关于ios - 来自 Pods 的 Alamofire - 库未加载错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28503512/