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