Xcode 8 Shell Script Invocation Error

cocoapods, swift, xcode, xcode8

Solution

I just deleted cocoapods beta version and installed the normal one.

Problem

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:

Original source