I have a project and it works fine. Then I had to make a different version, with the same functions and just need to modify some UI pictures and app name. So I copied the target, made some changes to the target settings, like product name, provisioning profile, preprocessor macros. But when I tried to run it, Xcode show me the dialog: "The file “SecondAppName” couldn’t be opened because you don’t have permission to view it."
I have tried:
- Repairing permissions using disk utility
- Cleaning my project
- Deleting derived data
- Changing compiler for c/c++/objective-c to Default compiler
But this issue continues to appear. I googled a whole day, but no useful solutions found. Could some one help me? Thanks in advance!
P.S: the original target can run perfectly, the issue only appears on the new target.