Xcode 6和Cocoapods使用版本0.34.4&的CocoaPods-0.35.0.rc2

时间:2014-11-14 16:22:22

标签: xcode6 cocoapods

我使用版本0.34.4&amp ;;的cocoapods有问题的CocoaPods-0.35.0.rc2 在我将笔记本电脑更新到OS X Yosemite后,我不得不更新宝石和cocoapods,我的旧iOS项目停止工作

我收到以下错误:

using cocoapods-0.34.4:
ld: library not found for -lPods-Evernote-SDK-iOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)

using cocoapods-0.35.0.rc2:
There is a circular dependency between ShareKit/NoARC and ShareKit/Core

这是我的podfile内容,Any Help ??

platform :ios, '6.0'
source 'https://github.com/CocoaPods/Specs.git'


pod 'CXAlertView'
pod 'ShareKit'
pod 'JSONKit'
pod 'FPPopover'
pod 'Base64'
pod 'CZDateFormatterCache'
pod 'JMImageCache'
pod 'Reachability'
pod 'MFSideMenu'
pod 'ASIHTTPRequest'

2 个答案:

答案 0 :(得分:1)

删除您刚刚运行的当前0.35.0版本:

sudo gem uninstall cocoapods

您必须通过以下命令安装特定版本的可可豆荚:

sudo gem install cocoapods -v 0.34.4

而不是pod install

答案 1 :(得分:0)

通过创建新项目解决! 我在新项目中使用了cocoapods-0.34.4