The downloaded Pod link fails, build diff:/. /podfile.lock:no such file or directory workaround

Source: Internet
Author: User

Build diff:/.. /podfile.lock:no such file or directory

1, the terminal into the file path, execute pod install

2. Delete Check Pods manifest.lock and copy Pods Resources under build phases in Project Setup

3, clean project, and then compile on OK

No, try again the following methods:

The project uses Cocoapods to manage third-party libraries, and the following issues occur in the new Catalog update version

Question 1 Description: 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.
Workaround: Go to the Engineering catalog and re-pod install

According to the method found on the Internet,

rm -myproject.-rf podsrm  podfile.-rf  /Users/~/library/developer/xcode/deriveddata/ Myproject_******   pod install     

There's still no solution.

Later contrast, make the following changes

1. Modify the MyProject in the build settings

user-deined

Increase pods_root = ${srcroot}/pods

2. Modify the path of the pods.***.xcconfig in the Project.pbxpro

MyProject. Xcodeproj found in the directory is not correct, according to the actual directory to make the following changes,

VI myproject.xcodeproj/project.pbxproj

Pods/target Support Files/pods-myproject/pods.debug.xcconfig

Pods/target Support Files/pods/pods.debug.xcconfig

The red part is different and is modified by the actual path.

The downloaded Pod link fails, build diff:/. /podfile.lock:no such file or directory workaround

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.