Launching Application from Xcode 6: "The file cannot be opened because you do not have permission"

I have a Swift project in Xcode 6.3.2 that consists of an application project using a framework subproject. Everything builds and connects perfectly. Only when Xcode tries to run the application file does this error appear: "File 'AppName". Could not be opened because you do not have permission to view " The project was built and worked successfully before.

I understand there are more questions like this one. I have read and tried all the solutions given in this question and several others.

I tried:

  • Clean
  • Clear build folder
  • Delete derived data
  • Checking the rights to directories and the application file itself
  • Setting Build Options> Compiler for C / C ++ / Objective-C for the default compiler
  • Configuring Build Options> Architectures for Standard Architectures
  • Editing info.plist, installing Executable $ {EXECUTABLE_NAME} and package name in $ {PRODUCT_NAME}
  • Replacing info.plist with a new one

Are there any other possible causes and solutions for this error that anyone has encountered?

+3


source to share





All Articles