Permission Denied when running Mac app after upgrading to XCode 4.4

Dennis picture Dennis · Aug 9, 2012 · Viewed 10.9k times · Source

I had a working Mac application until I updated to XCode 4.4 and Mountain Lion. Now the application still compiles, but when I try to run it I get an error message.

error: failed to launch '/Users/username/James/mac/Browser/trunk/Browser/DerivedData/Browser/Build/Products/Debug/Browser.app/Contents/MacOS/Browser' -- Permission denied*

Can anybody explain why I might be getting this?

Answer

jab picture jab · Oct 18, 2012

I found this on an iPhone 5 (iOS 6.0) newly set up for development. I had to manually launch the app on the phone, and it said "Are you sure you want to launch this app signed by this devloper?" Once I approved that, the "permission denied" went away and it now launches from Xcode.