Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS8 extension needs own provisioning profile?

I am starting an iOS 8 extension but I can't run it on my device. The error when trying to run it is:

No matching provisioning profiles found

The provisioning profile specified in your build settings (“ExtensionName”) has an AppID of net.company.AppName which does not match your bundle identifier net.company.AppName.ExtensionName. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.

  1. Do I need a separate provisioning profile for both the main app and the extension ?
  2. Should they share a bundle identifier (by default it adds the extension name to the bundle identifier, so perhaps not) ?
  3. If it has a separate bundle identifier how is that reflected in the provisioning profile (if there is a separate one) ?
like image 597
Neil Coxhead Avatar asked Aug 15 '14 15:08

Neil Coxhead


People also ask

Does notification service extension require separate provisioning profile?

Yes, you need to create the separate certificates (dev and release) for Notification Service Extension.

What is the extension of iOS Mobile app provisioning profile?

Upload profile file - Choose Open icon, and then choose an Apple Mobile Configuration Profile file (with the extension . mobileprovision ) that you downloaded from the Apple Developer website.

What is provisioning profile for?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.


1 Answers

It would seem that Xcode would prefer it that way, however there's nothing stopping you from using a wildcard profile until you want to do an Adhoc or Release to the App Store. More to the point of your question though, for every target that you have, you need a profile and bundle ID. So yes, you "need" another provisioning profile for your Extension, although I expect Apple to streamline this process.

All in all, it's probably best to just use a WildCard dev profile until you need a provisioning profile. Remember this is all a beta, and they're still working on pretty much everything.

like image 86
Oxcug Avatar answered Sep 22 '22 15:09

Oxcug