I was given a project folder which contains an Xcode project along with all the source files. When I open the Xcode project, and build it, it gave me this error:
"The executable was signed with invalid entitlements"
How can I change the project such that my own provisioning profile will work? It should be possible because I have opened Xcode projects before and was able to build it straight to my phone.
Edit:
Check that sign identity, entitlements, etc. is properly set for both the Project and the Target. Preferably delete the setting for the Target and only define for the Project.