Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 690
guckmalmensch Avatar asked Jul 22 '20 21:07

guckmalmensch


2 Answers

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.

like image 64
Ben Scheirman Avatar answered Nov 03 '22 19:11

Ben Scheirman


problem:- Workspace integrity (could not load project) I got the same issue also I hit and try many solutions (Restart mac, Cache data remove, pods update, pods install, etc) but all in vain.

Solution : Once I try to open the project the "Xcode.copy" opened intead of my original Xcode . I just close all projects after that I open the project from selecting Xcode directly from the finder.

Note:- do not go to the project folder then open project from "projectName.xcworkspace"

you just need to go finder(Spotlite search) and open Xcode and open from finder then you must select the desired project. The project will work perfectly and after that you can open project manually (in your folder etc) :) These things working from my side.

like image 1
Muhammad Usman Avatar answered Nov 03 '22 18:11

Muhammad Usman