无法让CoCoapod与Xcode 7.2 beta(7C46t)配合使用

无法让CoCoapod与Xcode 7.2 beta(7C46t)配合使用,xcode,cocoapods,Xcode,Cocoapods,获取此错误 ld: framework not found Alamofire clang: error: linker command failed with exit code 1 (use -v to see invocation) 今天早上我第一次吃椰子豆 sudo gem install cocoapods pod setup 我的播客文件如下所示: xcodeproj '/Users/adamek/Development/xCode/Swift_2015/Foody16/Foo

获取此错误

ld: framework not found Alamofire
clang: error: linker command failed with exit code 1 (use -v to see invocation)
今天早上我第一次吃椰子豆

sudo gem install cocoapods

pod setup
我的播客文件如下所示:

xcodeproj '/Users/adamek/Development/xCode/Swift_2015/Foody16/Foody16.xcodeproj'
platform :ios, '8.0'
use_frameworks!


pod 'SwiftyDropbox', :git => 'git@github.com:dropbox/SwiftyDropbox.git', :tag => '0.5'
pod安装返回以下内容:

Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Using Alamofire (2.0.2)
Using SwiftyDropbox (0.5)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed.
这一部分看起来不错,但当我尝试构建我的应用程序时,我得到了以下几点

ld: framework not found Alamofire
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我也尝试过pod repo删除主冗余,然后再次安装pod,仍然没有成功。有什么建议吗?

您的播客文件不正确。我建议你采取一些措施。仔细地跟随他们

sudogem安装cocoapods。 pod初始化 打开Xcode-一个pod文件 您的播客文件应如下所示: 保存播客文件 从目标文件夹中删除podfile中提到的所有本地依赖项。 改为导入 在链接器搜索路径、生成设置中使用$inherited。 现在进行pod安装,然后进行pod更新。 这些步骤应该可以解决您的问题。如果出现任何其他错误,请对此帖子发表评论

use_frameworks!
platform :ios, ‘8.0’
pod 'SwiftyDropbox'
pod 'Alamofire'