Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Provisioning profile apple id not matching bundle identifier

Tags:

xcode

ios

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"

like image 560
Nelson Matias Avatar asked Mar 25 '15 20:03

Nelson Matias


People also ask

How do I fix failed to register bundle identifier in Xcode?

Go to Build Settings tab, and then change the Product Bundle Identifier to another name. It works in mine.

How do I change the bundle identifier name in Xcode?

Change the Bundle ID Choose your project from the left side, then your app target under TARGETS, select the General tab and rename the Bundle Identifier.

Where is the bundle identifier Xcode?

Open you project with XCode, select the top project item in the project navigator at the left. Then select TARGETS -> General. Bundle Identifier is found under Identity.


1 Answers

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

enter image description here

enter image description here

like image 74
u.gen Avatar answered Nov 15 '22 15:11

u.gen