14

I was using Xcode 11 (dmg downloaded from developer account extra files section) on mac os 10.14.6

Today i updated my Mac os to 10.15 catalina to use xcode 11 canvas view but the issue is after updating to mac os 10.15 Catalina i am unable to open xcode. When i clicks on xcode icon it jumps for few seconds and then nothing happens.

I have no backup and projects going on and the main thing is that is my office pc where i work. Please help!!

I tried fixing by this but it didn't helped I can't open Xcode project after updating to Catalina

Willeke
  • 14,578
  • 4
  • 19
  • 47
Ben Smith
  • 159
  • 1
  • 1
  • 9

4 Answers4

5

I was able to work around this by uninstalling Xcode first. What I did:

  • Open Finder and navigate to Applications.
  • Move Xcode from Applications to Trash.
  • In the terminal, run the command rm -rf ~/Library/Developer
  • In the terminal, run the command rm -rf ~/Library/Caches/com.apple.dt.Xcode
  • Restart your machine.
  • Now go to App Store and search for Xcode and install it from there.
RITZ XAVI
  • 3,633
  • 1
  • 25
  • 35
  • Thank you so much, this solution works exactly for me, see another thread: https://stackoverflow.com/questions/76486809/prompt-cant-exec-xcodebuild-operation-not-permitted-after-upgraded-xcode-to-1 – x86_64 Jun 16 '23 at 17:42
3

Xcode 11.1 is available on the Mac App Store now so you should probably be using that. Try a force brute approach by deleting Xcode 11, redownload and reinstall.

AndyTang
  • 547
  • 7
  • 24
  • For newer Xcode users, an uninstall-reinstall process can get fairly hairy. I'd suggest watching a guide if you've never done it before! If you could install an update in the App Store instead; that might be worth a shot before you do this! – BBurchfield Oct 09 '19 at 15:27
  • 2
    Just force quitting xcode fixed this issue for me, I had same issue as @BenSmith – Mika Andrianarijaona Oct 24 '19 at 13:01
2

This works for me.

Close you project then Go to your project file > right click on project_name.xcworkspace > Show Package Contents > delete folder xcsharedata and xcworkspace.

It will create deleted file again once you open that project

0

One could also try to perhaps add the program to the list of apps allowed to access the disk.

This can be found under: Settings > Security & Privacy > Privacy > ....

Security And Privacy Settings

Not directly related: but I just did this for the MS Office Programs (Word, Excel, Powerpoint Outlook etc..).

While in contact with MS Support they advised me to delete everything and reinstall. Adding the programs was a lot easier and retained all my data.

Ronnie
  • 852
  • 12
  • 25