1. Your project should report this problem when compiling after pod install, as shown in the figure below
2. Let’s start with the solution option CD /Users/yixuan/Downloads/bluecollar_ gongdi_ IOS/bluecollar/pods/target support files/pods bluecollar/pods bluecollar resources.sh this file is located in the folder
3. CD to the pods directory where the error is reported, and then execute the command Chmod a + X pods-bluecollar-resources.sh to solve the problem
4. Cocoapods provides a bash script named pods-resources.sh, which will be executed every time the project is compiled to copy various resource files of the third-party library to the target directory.
5. Cocoapods sets all dependencies and parameters at compile time through a file named pods.xcconfig.
Read More:
- About Xcode command phasescriptexecution failed with a nonzero exit code solution
- Command MergeSwiftModule failed with a nonzero exit code (Xcode12.5.1)
- Command CompileSwift failed with a nonzero exit code
- Command codesign failed with a nonzero exit code or revoke certificate for IOS / Xcode problems
- command/usr/bin/codesign failed with exit code 1- code sign error
- IOS error: linker command failed with exit code 1 solution
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Command /usr/bin/codesign failed with exit code 1
- Xcode ffmpeg Error:/clang:1:1: linker command failed with exit code 1 (use -v to see invocation)
- Flutter – iOS: Command /bin/sh failed with exit code 255
- iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Xcode: error: linker command failed with exit code 1(use -v to see invocation) or libstdc++.6.0 is missing
- command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- command ‘gcc‘ failed with exit status 4
- Git did not exit cleanly (exit code 128)
- Install Python package under MacOS: “error: Command ‘GCC’ failed with exit status 1”
- [solution] MAC: stack error: ` gyp ‘failed with exit code:1
- Ubuntu16.04 pip3 install PyAudio 出错:error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Commit failed – exit code 1 received
- GitHub desktop upload file error commit failed – exit code 1 received