TSWeChat icon indicating copy to clipboard operation
TSWeChat copied to clipboard

新手求问

Open HfongCHAn opened this issue 8 years ago • 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.

HfongCHAn avatar May 03 '17 04:05 HfongCHAn

Run 'pod install' or update your CocoaPods installation.

hilen avatar May 03 '17 06:05 hilen

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 by Podfile
  • Alamofire (= 4.6.0) required by Podfile.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. 请问这种情况怎么解决,我百度了很久都没找到解决的办法

zengchaojie avatar May 03 '18 07:05 zengchaojie

你的 CocoaPods 的版本号是多少?

hilen avatar May 03 '18 09:05 hilen