This project writes with Objective-C, it can build succeeded, but not run. It will show
"Details
The file “Service Reports” 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 = "/Users/USERNAME/Desktop/ServiceReportApp64Bit/DerivedData/Service Reports/Build/Products/Debug-iphonesimulator/Service Reports.app";
}
Domain: NSPOSIXErrorDomain
Code: 13
Failure Reason: Permission denied
And when I double click this file it will show "You can't open the application "Service Report" because it may be damaged or incomplete."
Any idea guys? Thanks
"Details
The file “Service Reports” 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 = "/Users/USERNAME/Desktop/ServiceReportApp64Bit/DerivedData/Service Reports/Build/Products/Debug-iphonesimulator/Service Reports.app";
}
-
Domain: NSPOSIXErrorDomain
Code: 13
Failure Reason: Permission denied
-".
And when I double click this file it will show "You can't open the application "Service Report" because it may be damaged or incomplete."
Any idea guys? Thanks
What platform are you targeting here? The path in the error message includes Debug-iphonesimulator, which suggests you’re trying to build an iOS app. But then you go on to write:
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
which only makes sense for a macOS app.And when I double click this file
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"