Xcode 8 Shell Script Invocation Error
Solution 1
I just deleted cocoapods beta version and installed the normal one.
Solution 2
For me (Xcode 9) pod install
on its own did not fix it.
Tried it with:
pod deintegrate
pod install
And the error disappeared.
You might also want to consider deleting the derived data folders for this project. The location of DerivedData is in your error log.
Solution 3
Here is what I did to remove this error. Please try with below:
- Click on main project file.
- Goto the Build Phases.
- Click on run Script and delete any given path in it so that it does not try to find some framework that has been deleted by you.
I had this problem when I used to check the crash Analytics with the different frameworks like "Test Fairy".
Hope this works. :)
Solution 4
Install the pods once again and run the project. Using command:
pod install
Solution 5
My solution was restarting my computer. Xcode must have got into a bad state that restarting Xcode itself was not enough to fix.
sphynx
Updated on July 09, 2022Comments
-
sphynx almost 2 years
I'm trying to fix this issue for hours, but it still persists. Tried everything on the forums, nothing helped. I'm using Cocoapods latest version 1.2.0.beta.1 When I try to build the project, it gives me this:
-
Larry Lo over 6 yearsjust applied , still failed to build
-
AfroThundr about 6 yearsThis solution has already been posted. Also, one-liners are generally not considered very good answers.
-
p0ny over 5 yearsThank you! Was removing firebase from an old app and this was it