iOS:“无此模块”与Alamofire [英] iOS: "no such module" with Alamofire

查看:118
本文介绍了iOS:“无此模块”与Alamofire的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试存档我的应​​用程序(adHoc或发行版)时出现此错误

I have this error when I try to archive my app (adHoc or distribution)

没有这样的模块

我遵循了官方页面上的所有说明

I followed all the instructions in the official page

https://github.com/Alamofire/Alamofire#手动(手动安装)

但是当我运行我的应用时,它运行良好,并且当我尝试存档时以获得ipa发行版或adHoc版本,我在上图中得到了错误。

But when I RUN my app it works fine, and when I try to ARCHIVE it to get ipa for distribution or adHoc version, I get the error in the image above.

会发生什么?

ps我使用带有快速2.0的xCode 7.0.1

p.s. I use xCode 7.0.1 with swift 2.0

谢谢

推荐答案

Xcode 7.0.1,Swift 2.0出现了一个奇怪的问题。甚至我在这里也遇到同样的问题。当前的解决方法是将Alamofire源直接包含在您的项目中并删除框架。

This is a strange issue being seen with Xcode 7.0.1, Swift 2.0. Even I am seeing the same issue here. Current workaround is to include the Alamofire sources directly into your project and remove the framework.

添加Alamofire源后,需要删除 Alamofire模块前缀才能成功构建项目。

Once you add the Alamofire sources, you need to remove the 'Alamofire' module prefix to successfully build the project.

注意:

目前正在为我工​​作!。

are working for me at the moment!.

与Alamofire相比,Xcode 7.0.1似乎是一个问题。

This seems to be an issue with Xcode 7.0.1 than Alamofire.

这篇关于iOS:“无此模块”与Alamofire的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆