【发布时间】:2015-05-11 18:17:51
【问题描述】:
我正在尝试编译和运行以下应用程序(使用 Alamofire 的 Swift 聊天应用程序)。
https://github.com/huyouare/SwiftParseChat
我正在使用 ruby-2.0.0、cocoapods 0.37.1、xcode 6.3、Alamofire 1.2.0
我正在使用普通的<pod install> 命令安装它。在此过程中没有错误或警告。
但是,在编译时,我得到:
No such Module 'Alamofire'
但是,如果我手动安装 Alamofire,编译时会收到 Apple Match-O Linker 错误:
ld: warning: directory not found for option '-F/Users/cristian/Library/Developer/Xcode/DerivedData/SwiftParseChat-btvjczpwjlekftetblbfrbposakh/Build/Products/Debug-iphoneos/Pods'
ld: framework not found Pods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这背后是什么?
谢谢!
【问题讨论】:
-
你是从
.xcworkspace运行它吗? -
我注意到我没有从 xcworkspace 加载。傻我。好像我以前没有读过那部分。即使我仍然遇到 Match-O 错误,但它不再是同一个问题了。拜托,你可以添加一个答案,我会接受它,所以它发生在较少的人身上。
标签: xcode swift parse-platform cocoapods alamofire