Reputation: 473
I'm getting an error
"No matching provisioning profiles"
where it says the AppleID has to be the same as the bundle identifier.
The problem is that it IS the same, but when I create my project, it adds "Tests" to the end of the bundle identifier.
For example, AppID is "com.company.app". I create a project with the Product Name "app" and the Organization Identifier "com.company". The Bundle Identifier is then set to "com.company.app".
When I try to run it on my device it says that the AppID is ""com.company.app" but the bundle identifier is "com.company.appTests"
Upvotes: 21
Views: 29742
Reputation: 934
I solved the problem by restarting my phone after uninstalling the app. You can give it a try.
Upvotes: -1
Reputation: 1966
Go to Build section of xcode, search for bundle identifier and change that to what your app id is and error will be gone
Upvotes: -1
Reputation: 4914
make sure your code signing identity is correct for the appTests target.
I usually get that when code signing is set to the wrong profile in Tests target. Try to set it to correct profile or try Dont Code Sign
Upvotes: 12