ios - 来自 Pods 的 Alamofire - 库未加载错误

标签 ios cocoapods alamofire

我想知道是否有人可以使用 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 - 你总是得到

Dyld 错误信息: 库未加载:@rpath/Alamofire.framework/Alamofire 原因:没有找到合适的图片。

所以有人知道这个 secret 吗? ))) 谢谢!!!

最佳答案

这肯定是关于您的苹果开发者证书。您最好转到钥匙串(keychain)应用程序并检查它的证书有效性。

我遇到了同样的问题。还要检查 key 链中的 Apple Worldwide Developer Relations Certification Authority

关于ios - 来自 Pods 的 Alamofire - 库未加载错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28503512/

相关文章:

objective-c - 枚举 - 发送到实例的无法识别的选择器

ios - 具有多个 .xcconfig 文件和 cocoapods 的复杂 Xcode 项目

使用 PayPal 移动 SDK 的 iOS 构建错误

ios - 如何覆盖 Alamofire SessionManager 以修改响应以添加 header ?

ios - 随机词生成器-IOS开发

ios - `didFailLoadWithError:` 问题

ios - CocoaPods 安装 ShareKit 问题

ios - 我如何访问其他 Mappble 类对象的值。(Alamofire Object Mapper)

ios - UITableView 和模型数组中的单元格

ios - CGImageCreate 复制与 CGImage 保留