Reputation: 7092
I just upgraded to Lion and I have screwed up my ios simulator permissions... You see, when I upgraded to lion I was forced to create a new user, and now all of the Xcode permissions point to that user.
I know this because I can load the ios simulator from that new user just fine, I cannot, however, do this form my original user account -- the simulator DOES open, but it immediately hangs.
I have tried recursively chowning both Xcode.app (which contains my iPhone Simulator.app) as well as the ios application support folder to set my normal account as owner I also chmod'd those same two directories with both a+rwx and a=rwx in that order.
What other files does the ios simulator reference that need to have their permissions updated?
Upvotes: 0
Views: 511
Reputation: 31486
I'd suggest to reinstall the Xcode. Xcode (at least the App Store version) is not owned by the user who installed it:
$ ls -ld /Applications/Xcode.app
drwxr-xr-x 3 root wheel 102 4 Oct 17:34 /Applications/Xcode.app
Also doing chmod a+rwx
or a=rwx
is certainly not a good idea. Not all files need to be executable (x
) and what's worse adding rw
without thinking twice makes your system vulnerable.
Upvotes: 1
Reputation: 1315
Reinstall Xcode. Here's how: http://osxdaily.com/2012/02/20/uninstall-xcode/
Upvotes: 1