我正在尝试从Bitbucket存储库克隆一个项目,但在尝试在工作区中运行Xcode项目时出现错误Id: framework not found Pods clang: error: linker command failed with exit code 1 (use -v to see invocation)
。这是我遵循的步骤,如果有人能让我知道我做错了什么,那就太好了!
git clone (Bitbucket链接)
- 将Xcode pods项目的配置设置更改为
none
(调试和发布都要) - 执行
pod install
- 打开Xcode工作区文件
- 在Xcode中尝试构建,收到错误消息
Id: framework not found Pods clang: error: linker command failed with exit code 1 (use -v to see invocation)
编辑 这是Podfile内容:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'
target 'Oncarb' do
pod 'Alamofire'
pod 'SwiftyJSON', '~> 2.2.0'
end
#target 'OncarbTests' do
# pod 'Alamofire'
# pod 'SwiftlyJSON', '~> 2.2.0'
#end
我是否漏掉了某一步骤?
谢谢!