I've literally checked every possible question in stack overflow that have been solved about the same problem. I know that millions of questions exactly the same as mine have been asked, but I tried all the suggestions in the answers of those questions but Xcode is still giving me problems. So as always the first error is:
Automatic signing is unable to resolve an issue with the "Project" target's entitlements.
The second error is of course:
Provisioning profile "iOS Team Provisioning Profile: com.badubadu.WeatherApp" doesn't include the application-identifier and keychain-access-groups entitlements.
What I've tried:
- Switching the provisioning profile from Manual to Automatic and viceversa
- Cleaning up the Provisioning Profiles inside the Library/MobileDevices and then restarting Xcode
- Deleting the old app from the iDevice and trying to build it again
- Turning on and off the Background Modes (I don't have push notifications and In-app purchases)
- Restarting the computer and the phone (just in case it was that easy)
- Tried to change the Bundle Identifier
- Tried to create another team and select that one instead
- Creating a Project.entitlement empty file
None of this worked anyways, and it's so annoying that until now I could've simply click build the app and it would have built it on my phone
Am I maybe missing something?