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.
-
Are you using the same bundle identifier for both application & Extension? – Meenakshi Oct 29 '14 at 07:04
-
Yes.If i give different bundle id how to manage provisioning profile – SAS Sudalaiyandi Oct 29 '14 at 08:37
4 Answers
If your application bundle identifier is com.companyName.productName then your extension bundle identifier should be com.companyName.productName.extensionName
If you assign the bundle identifier in this way then your provisioning profile will work for both.

- 1,162
- 9
- 13
-
1I solved that issue using two separate provisioning certificate for two bundle id which should be used in application & app extension.Now it's working correctly.Thanks for your help iphoneDeveloper39 – SAS Sudalaiyandi Oct 29 '14 at 12:16
-
@iphoneDeveloper39 -- Can u explain little bit, bz I am not get the answer – Anbu.Karthik Apr 04 '15 at 09:40
-
2So that means i need to create 2 Bundle Id for both frameworks. Or alternate is to create 2 provisioning files ? – mAc Jun 05 '15 at 06:47
-
1@Meenakshi, do we need to create two provisioning profiles i.e one for app and other for extension? – Piyush Dubey Jun 06 '16 at 10:35
-
1Yes, you need to create 2 provisioning profile. one for app another for extension using same certificate. – Meenakshi Jun 06 '16 at 11:15
-
How many provisional profile create ?. App or Extension both . – Vishal Vaghasiya Feb 16 '18 at 13:13
-
My bundle ID's were ok but I had to change some settings in my provisioning profiles to fix this error

- 7,031
- 3
- 35
- 43
-
-
I'm not sure which action leaded to the fix but I think switching to non-wildcard provisioning profiles fixed it – Jasper Jan 29 '15 at 11:38
You Bundle Identifier Should Look Like
1) Main Project---> com.CompanyName.ProjectName
2) NotificationService(ExtensionName) ---> com.CompanyName.NotificationService
3) NotificationContent(ExtensionName) ---> com.CompanyName.NotificationContent

- 157
- 1
- 11
You will have to create two provisioning profile.
After you create the first one ending in product name... download and install
Then create another one like the first profile, ending with .Extension (like .Meme) ... download and install
If you build after the two steps above the Error might still appear.
Then go to the General where you have the bundle id ... add the .Extension (add it to what you have there like blahblahblah.Meme)
Then you will get an error and a suggestion to "Fix issues" ... Click on "Fix issues" and allow it to finish.
Then you should be able to build successfully and install. This is how it worked for me.

- 11