新手求问
HfongCHAn opened this issue · 3 comments
博主你好,我是一位新手,在看你的tswechat的时候,运行时发生这样的错误,请问该怎么解决呢?
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Run 'pod install' or update your CocoaPods installation.
diff: /../Podfile.lock: No such file or directory
diff: Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.`
编译报错,在终端pod install又是报错
[!] Unable to satisfy the following requirements:
Alamofire (~> 4.0)
required byPodfile
Alamofire (= 4.6.0)
required byPodfile.lock
None of your spec sources contain a spec satisfying the dependencies: Alamofire (~> 4.0), Alamofire (= 4.6.0)
.
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.
请问这种情况怎么解决,我百度了很久都没找到解决的办法
你的 CocoaPods 的版本号是多少?