[Solved] cocoapods Error: Runtimeerror – [xcodeproj] unknown object version

Reason: This is because your version of Xcode does not match the version of cocoapods. You need to update your cocoapods

Solution: enter the command $gem install cocoapods -- pre

Then execute pod install again.

Read More: