I am new to mac and i am getting this error as below
What should i do i have bought the developer licence and i created the provisioning certificate but still i am
I'm very new to iPhone development too and had an identical issue with an ionic project. I executed ionic cordova platform add ios, navigated XCode to the ionic generated platforms/ios/, checked the bundle id, associated my Apple developer Id with this App, let XCode manage my signing certs and provisioning profiles and hit the problem immediately.
So I made an XCode generated project with the same Bundle identifier and Apple developer team values and that was all cool. Which proved my Apple Id and certs were fine.
I compared the Code Signing values under XCode Building Settings (All) and in my case the issue was around the contents of the debug version Code Signing Entitlements file, which revealed I hadn't set up the aps-environment stuff properly.