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