Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新手求问 #28

Open
HfongCHAn opened this issue May 3, 2017 · 3 comments
Open

新手求问 #28

HfongCHAn opened this issue May 3, 2017 · 3 comments

Comments

@HfongCHAn
Copy link

博主你好,我是一位新手,在看你的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.

@hilen
Copy link
Owner

hilen commented May 3, 2017

Run 'pod install' or update your CocoaPods installation.

@zengchaojie
Copy link

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.
请问这种情况怎么解决,我百度了很久都没找到解决的办法

@hilen
Copy link
Owner

hilen commented May 3, 2018

你的 CocoaPods 的版本号是多少?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants