'Same bundle identifiers
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 ?
Solution 1:[1]
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
Solution 2:[2]
Solution 3:[3]
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
Solution 4:[4]
This can happen when multiple frameworks or bundles have the same Bundle ID.
Solution 5:[5]
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."
Solution 6:[6]
I had the same issue.
For me running flutter clean && flutter run
fixed the issue!
Solution 7:[7]
In my case i have changed the SDK bundle idendifier if there is SDK in TARGETS of the project
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Arafin Russell |
Solution 2 | |
Solution 3 | |
Solution 4 | Emma Labbé |
Solution 5 | sushangjin |
Solution 6 | Robert Fent |
Solution 7 | Jaykant |