ios - 应用商店分发过程中存档验证失败并出现错误

标签 ios swift xcode6 ipa alamofire

我一直在尝试将我的申请发送给苹果提交,这是我的第一次体验。我搜索了错误并应用了所有建议的解决方案。但是,没有一个解决方案对我不起作用。我收到以下错误。

我将项目目标和 Alamofire 框架的 ios 部署目标设置为 ios 7.0 及更高版本。另外,我的 Xcode 版本是 6.1.1 。但是,我不明白为什么不工作。

你能帮帮我吗?

谢谢你的回答

最好的问候

最佳答案

不幸的是,iOS 7 不支持框架。 Here是关于它的一些附加信息。已知的解决方法是通过将 Alamofire.swift 文件直接拖到您的项目中来将 Alamofire 添加到您的项目中。

A good way to track this type of usage in your project is to use Git submodules. You could also download a version and copy the file into your project, but then it gets more difficult to track what version you have compiled into your project.

这会将 Alamofire 构建到您的项目中,就像它只是与您的项目关联的另一个 Swift 文件一样。

This is also why most Swift CocoaPods are iOS 8 only.

关于ios - 应用商店分发过程中存档验证失败并出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28749824/

相关文章:

ios - 在 UITextView 中滚动后获取可见文本的 NSRange

ios - Swift 中的本地化 - 即使应用程序有多种语言,也将应用程序限制为一种语言

ios - UILabel 不居中

ios - 如何使用 HP SCA 扫描我的 iOS 项目并获取报告

swift - 无法在 swift 中使用 NSFontManager 方法

ios8 - “dyld: could not load inserted library '/usr/lib/libgmalloc.dylib ' because image not found”

ios - Xcode 中的不同对象库

ios - 可以为 UISlider 的 UIImage Thumb 设置动画吗?

string - 在 Swift 中索引字符串

ios - 导航 Controller 在 UISplitViewController 中消失