3

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?

Community
  • 1
  • 1
jordan
  • 31
  • 3
  • Update [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) to 6.3.2? – Daniel Storm Jun 08 '15 at 12:25
  • Thanks for the suggestion @DanielStorm. I just updated, along with a restart and another clean build. The problem is still there. – jordan Jun 08 '15 at 13:10
  • Refer to this [answer](https://stackoverflow.com/a/50167291/6521116) with a good summary of this issue. – LF00 May 04 '18 at 05:23

0 Answers0