我git克隆了一个github项目,然后当我运行pod安装时,它在获取某些文件或其他东西时出错。如何解决这个问题?
这是终端代码。
Lucs-iMac:twiliochat-swift lucmollard$ pod install
Updating local specs repositories
CocoaPods 1.0.0.beta.6 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies
Fetching podspec for `TwilioCommon` from `https://media.twiliocdn.com/sdk/ios/common/v0.2/TwilioCommon.podspec`
Fetching podspec for `TwilioIPMessagingClient` from `https://media.twiliocdn.com/sdk/rtc/ios/ip-messaging/v0.13/TwilioIPMessagingClient.podspec`
[!] Unable to satisfy the following requirements:
- `TwilioCommon (from `https://media.twiliocdn.com/sdk/ios/common/v0.2/TwilioCommon.podspec`)` required by `Podfile`
- `TwilioCommon (= 0.2.0)` required by `Podfile.lock`
你需要在做twiliochat.xcworkspace
之前删除Podfile.lock
和pod install
。
或者你可以运行pod update
。