I have an application with two targets (for two versions of the app, free and paid), but when trying to submit, I realized I would have to create another distribution profile so the application could have a different ID. Now, after creating siad profile, I get this error:
Code Sign error: Provisioning profile 'YourApp Free Distribution' specifies the Application Identifier 'com.yourCopmpany.YourAppFree' which doesnt match the current setting 'com.yourCompany.YourApp'.
I looked around for solutions, but nothing seemed to work. Any ideas?
Found the answer. I had to change the product name. It seems that it was automatically generating a Bundle ID and ignoring the one in the info.plist.