Automatic signing is unable to resolve an issue with the “projectName” target’s entitlements file
I had the same problem in a project that i used push notifications what i did to fix it is : Target-> Capabillities and turned on push notifications .fix Note: the answer from @codebrew explains this clever fix further.