迅速。无法构建Objective-C模块“ Alamofire” [英] Swift. Could not build objective-c module 'Alamofire'

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

问题描述

新安装的Alamofire香草子模块,使用XCode6并遵循指向T的说明。此处的某些内容不合适。我收到的错误是无法在导入alamofire上构建Objective-C模块 alamofire。这是我收到的错误的屏幕截图:

Fresh vanilla submodule install of Alamofire, using XCode6 and following directions to a T. Something here just isn't fitting right. The error i'm getting is "Could not build objective-c module "alamofire" on import alamofire. Here is a screen shot of the error i'm getting:


和我的配置:

And my configuration:

推荐答案

在这种情况下,请先分别构建框架。

When this happens, just build the frameworks separately first. In your case:


  • 将方案更改为Alamofire

  • 构建(⌘B

  • 更改回您的方案

  • 运行

  • Change the scheme to Alamofire
  • Build (⌘B)
  • Change back to your scheme
  • Run

这篇关于迅速。无法构建Objective-C模块“ Alamofire”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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