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.
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.
My bundle ID's were ok but I had to change some settings in my provisioning profiles to fix this error
You Bundle Identifier Should Look Like
1) Main Project---> com.CompanyName.ProjectName
2) NotificationService(ExtensionName) ---> com.CompanyName.NotificationService
3) NotificationContent(ExtensionName) ---> com.CompanyName.NotificationContent
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.
© 2022 - 2024 — McMap. All rights reserved.