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

I didn't get any idea, Xcode doesn't show any error when I build the app to simulator get permission error, please anybody know this kind of error.

Details

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

Domain: NSCocoaErrorDomain

Code: 257

Failure Reason: You don’t have permission.

Recovery Suggestion: To view or change permissions, select the item in the Finder and choose File > Get Info.

User Info: {

    NSFilePath = "local path/Build/Products/Debug-iphonesimulator/Appname.app";

}
  • -

The operation couldn’t be completed. Permission denied

Domain: NSPOSIXErrorDomain

Code: 13

Failure Reason: Permission denied
  • -





System Information



macOS Version 10.15.7 (Build 19H2)

Xcode 12.0.1 (17220)
Is this only on the simulator? Can you run your app on a real device?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I have a exactly same issue.

macOS Version 10.15.5 (Build 19F101)
Xcode 12.0.1 (17220)
Same Issue. It's only on a simulator.
Same problem here. Simulator and real device. And only for existing projects. If I a create a new one, everything is fine. But none of my existing apps could be started.
Any help would be appreciated.


Same problem. Deleting the file as no effect and I do have read & write permissions, but maybe not execute? IDK because finder doesn't let you add execute. This all worked fine before Xcode12 forced update. Thanks...

The more important question is why do people ask questions here?
Clearly Apple as no interest in supporting their products.
The file “App Name” couldn’t be opened because you don’t have permission to view it.
 
 
Q