I have a Swift project in Xcode 6.3.2 which consists of an app project using a framework subproject. Everything builds and links fine. It is only when Xcode attempts to launch the app file, this error appears: "The file “AppName” couldn’t be opened because you don’t have permission to view it." The project has built and run successfully before.
I realize there are other questions like this one already. I have read and tried all the solutions given in this question and several others.
I tried:
- Clean
- Clean Build Folder
- Delete Derived Data
- Checking the permissions of the directories and app file itself
- Setting Build Settings > Compiler for C/C++/Objective-C to Default compiler
- Setting Build Settings > Architectures to Standard Architectures
- Editing info.plist, setting Executable file to ${EXECUTABLE_NAME} and Bundle name to ${PRODUCT_NAME}
- Replacing info.plist with a new one
Are there any other possible causes and solutions to this error that anyone has come across?