Workspace integrity, couldn't load project. After upgrading to MACOS Catalina

3.6k views Asked by At

Please need a help, I just upgraded macos to catalina, after that I updated xcode to 11.5, i also have xcode 10.1. Now my older project when opened with xcode 10.1 the below screenshot error is getting. I updated my cocoapod also. Still it remains.check the screenshot

2

There are 2 answers

2
Mahesh Mohan On

Finally i got the solution goto System Preferences < Security & Privacy < Privacy < Full Disk Access click the lock icon to unlock and add xcode enable it

1
eharo2 On

I had this problem for several months and finally I identified that (in my case) the issue was caused by some sort of file corruption when migrating SwiftDat from Pod to SwiftPackage....

The project compiled and run fine, but we could not get rid of the ugly "Workspace integrity, couldn't load project" error.

I was able to fix it doing the following:

  • Removed the SwiftDate SwiftPackage v6.3.1
  • Installed the same version using PODs and compiled the project without the error.
  • Reverting back to use the SwiftPackage made the trick.....