Couple things off the top of my head. In XCode preferences you have your apple id accounts where you can verify it's connected to apple and the iOS Development is enabled. Maybe you have different apple id's, you can have multiple.
Also, on the iOS device you may to go into general settings and allow the profile. I can't think where it is right now but once I had to allow the profile to run on the device.
It would help more if you posted an actual error message.
And yes, some functions are blocked on the free provisioning but it's bigger frameworks like iCloud, ApplePay, Push Notif, etc.
Here's the messages, I'm going to go back and check the exact spelling, but it takes my login and puts it in the window on the left, so it's a proper login. For some reason, I can't find anywhere to manage groups of developers.
The box is in Xcode->preferences->accounts under the id/password/description. It has a list of
Name iOS Mac
"then it says "myid" is not on any development teams"
This message comes up as an Xcode error:
Failed to code sign "___app name___"
No provisioning profiles matching the bundle identifier "com._____.appname" were found.
Xcode can attempt to fix this issue.
Next window:
To fix this issue, you need to add an Apple ID account that is enrolled in a Developer Program.
I click add and it brings me to Preferences->Accounts. There, I see the login and under Apple IDs, I see my account id. Down in the details box, it says:
"____my account___"
is Not on Any Development Teams
I've logged into the Apple Dev site several times and my name is there, the account is active.
[doublepost=1457714665][/doublepost]Ok, I checked one of the test devices under settings->profiles and I have 6 provisioning profiles. Some years old and expired, others still active.
I tried going to the app store so that I would have to log back in with new password and shut down xcode, it didn't change anything.