Search code examples
iosxcodecocoapods

Xcode workspace integrity - couldn't load project (pods.xcodepoj)


I pulled from git and everything works fine except I get this error even though I can still run the project. Is there a way to fix this?


Solution

  • This usually means there was a merge conflict that got committed to the actual project.pbxproj file.

    Since this is a Pods project (which is ephemeral and can be recreated at will) you can run pod install from the command line (in the same folder as your Podfile and it will regenerate the project.