Cocoapods appears diff:/.. /podfile.lock:no such file or directory error

Source: Internet
Author: User

The first solution:

Close Xcode, re-execute the pod install, and then reopen the Xcode run.

Second workaround:

Delete the following files:

Xcworkspace
Podfile.lock
Pods folder
folder for projects under ~/library/developer/xcode/deriveddata path

Then re-execute pod install

The third workaround:

Set configurations

Check Project-> Select Info tab-> See if configurations is set to none, if it is none, please change to pods,

Set configurations

Modify the Pods script file path

1. Right-click the Xxx.xcodeproj file in the project root directory to display the contents of the package

2. Double-click Open project.pbxproj File

3. Look for "pods-resources.sh" and change the path to the following red box (Modify the Pods script file path):

4. Re-Open the project (double-click the workspace file), it should be able to properly compile and run the

Fourth workaround:

Delete the check Pods manifest.lock and copy Pods Resources under build phases in the project setup

But this is not an error, but some libraries will not be found.

Cocoapods appears diff:/.. /podfile.lock:no such file or directory error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.