【发布时间】:2016-06-07 12:10:52
【问题描述】:
我将 cococapod 更新到 1.0.0 版。我运行命令 Pod install ,但我立即收到错误
You have either:
* out-of-date source repos which you can update with `pod repo update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
我的 pod 文件包含如下数据
use_frameworks!
def myPods
pod 'SDWebImage'
pod 'Fabric'
pod 'Crashlytics'
pod 'MBProgressHUD'
end
target 'APP_DEV' do
myPods
end
target ‘APPTests' do
myPods
end
target 'APPUITests' do
myPods
end
如何解决这个问题?请帮帮我
【问题讨论】:
-
请确保您的 Podfile 有针对特定 pod 的正确命令,当我在命令中出错时会发生这种情况
标签: ios iphone git terminal cocoapods