6

This is the first time I am working with a remote team. The team added me to their existing apple developer account as a member. My apple id is non paid developer account. Now, I am trying to install a project on my device using the bundle identifier and provisioning profile from the developer account. The bundle identifier & provisioning profile was already there, I did not create new. The app build successfully, no conflict but it do not install on device, before running on device xcode throws this:

This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.

Do I need a new bundle identifier & provisioning profile to run on device ? What happen if two team member use the same bundle identifier & provisioning profile ? Note that this project got push notification enabled in the provisioning profile. Is there any possibility with the pods ?

Aleksa
  • 529
  • 4
  • 16
Arafin Russell
  • 1,487
  • 1
  • 18
  • 37

6 Answers6

17

In my case I solved the issue by changing my application bundle identifier & extension bundle identifier. If application bundle identifier is like : com.companyName.productName then the extension bundle identifier has to be like : com.companyName.productName.extensionName

Arafin Russell
  • 1,487
  • 1
  • 18
  • 37
  • 1
    I am using one signal extension. If i kept the same bundle id then notification will work in debug mode but getting the error in release mode `This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.` Also if i change the bundle id of both then i got one signal error `Bundle mismatch error`. Any help? – Aman Gupta Jun 09 '20 at 03:57
  • 1
    Thanks a lot ! It works for me – Agnaramon Dec 15 '21 at 19:19
15

check the image and try this.

just Check the option it will be work. :)

project targets > Build Phases > Embaded app extension

Al Mustakim
  • 480
  • 4
  • 11
3

This can happen when multiple frameworks or bundles have the same Bundle ID.

Emma Labbé
  • 667
  • 7
  • 18
1

There are some options. First one, is to change the bundle identifier to whatever. this will allow you to install the app on your phone without any changes although you could not release any app for your team on the app-store. the second option is to ask for developer account from your team. there would not be any big problem it 2 person login from one developer account in XCode as I know. To login as a team member, your team needs to add your apple-id to the team. If you are using push notifications, you won't receive them if you change the bundle id. and you have to ask your team to add you as a team member

Hamish
  • 1,685
  • 22
  • 37
  • They have already added me as a team member, now my account is developer account. Tried your methods few times, still its not working. – Arafin Russell Jan 01 '19 at 09:09
  • https://stackoverflow.com/questions/35674208/development-team-not-showing-in-xcode check this link, maybe it could help you, I think your team didn't added you in a right way. there are some confusions in adding somebody as a team member. – Hamish Jan 01 '19 at 09:18
  • They have added and I could select team from my xcode, so I think thats not the issue. – Arafin Russell Jan 01 '19 at 09:26
0

Try clean the project(to delete the Products/xxx.ipa file). In my case,I had modify the Info.plist in the xxx.ipa for debug reson.And this caurse the error "This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique."

0

I had the same issue.
For me running flutter clean && flutter run fixed the issue!

Robert Fent
  • 195
  • 1
  • 11