【问题标题】:Getting Error: No such module 'Alamofire' while using the Alamofire.playground出现错误:使用 Alamofire.playground 时没有这样的模块“Alamofire”
【发布时间】:2015-06-24 17:57:30
【问题描述】:

我正在使用 xCode 版本 6.3.2 (6D2105)。

我刚刚从 github 下载了 Alamofire 存储库并构建了 Alamofire 项目。我能够毫无问题地运行工作区中包含的 iOS 示例。

但是,当我尝试使用包含的 Playground 测试一些调用时,我收到“没有这样的模块”错误。我已经尝试了https://developer.apple.com/library/ios/recipes/Playground_Help/Chapters/ImportingaFrameworkIntoaPlayground.html 中列出的步骤,但这似乎仍然没有帮助。

你能告诉我需要做什么才能使 Playground 与 Alamofire 框架一起工作吗?

【问题讨论】:

    标签: swift alamofire


    【解决方案1】:

    问题是我需要构建 Alamofire 框架项目并确保将工作区设置设置为 Build Locaiton 的 Xcode 默认值。

    【讨论】:

      猜你喜欢
      • 2016-01-04
      • 2017-03-05
      • 2016-09-19
      • 1970-01-01
      • 2016-01-07
      • 2018-10-23
      • 2018-01-17
      • 2015-12-04
      • 1970-01-01
      相关资源
      最近更新 更多