0

A project was working normally, but after i updated xcode to its latest version, i began having this error everytime i want to run the project on a real device :

The file could not be opened becuase you dont have permission to view it.

i tried all the solutions in this link: Error while build project xcode says : "you don't have permission" but nothing worked, and the error is still there. any idea what happened? thanks

MrJ
  • 96
  • 10

1 Answers1

0

If the project you download from the internet don't have the Executable file can make this.Last time ,I use the fllow method to solve it.

  1. Open info.plist
  2. Check the key "Executable file"'s value,its value should be this ${EXECUTABLE_NAME}.
  3. clean->build->run

So when i changed it ${EXECUTABLE_NAME} this value then successfully.

Junior Jiang
  • 12,430
  • 1
  • 10
  • 30
  • i checked it , its ${EXECUTABLE_NAME} , the project isnt downloaded from the internet. nothing worked – MrJ Oct 17 '18 at 07:45