Search code examples
iosxcodeswiftxcode7

The file “***.app” couldn’t be opened because you don’t have permission to view it


While running my project with swift code in XCode 6.3 & XCode 7, I got this error:

The file “***.app” couldn’t be opened because you don’t have permission to view it

My app is not launching anymore. I checked if the compiler setting is right. Executable name & bundle name is also proper.

Cleaned the project couple of times, removed the XCtest target as well.


Solution

  • This can sometimes be because of a corrupted error in your Info.plist file. Try to create a new project with the same name in Xcode and then replaced the your current projects Info.plist with the new one.