iOS8扩展需要自己的配置文件吗? [英] iOS8 extension needs own provisioning profile?

查看:88
本文介绍了iOS8扩展需要自己的配置文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在启动iOS 8扩展程序,但无法在我的设备上运行它。尝试运行该错误的原因是:

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

在您的构建设置
( ExtensionName)中指定的配置文件的AppID为 net.company.AppName ,其中
与您的捆绑包不匹配标识符 net.company.AppName.ExtensionName
Xcode可以通过从会员中心下载新的配置文件
来解决此问题。

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. 对于主应用程序和扩展,我是否都需要一个单独的配置文件?

  2. 它们是否应该共享捆绑包标识符(默认情况下,它将扩展名添加到捆绑包标识符中,所以也许没有)?

  3. 如果它有一个单独的捆绑包标识符,那么它会在供应配置文件中反映出来(如果有一个单独的标识符)?


推荐答案

Xcode似乎更喜欢这种方式,但是在您要执行通配符之前,并没有什么阻止您使用通配符配置文件的临时或发布到App Store。不过,更重要的是,对于您拥有的每个目标,您都需要一个配置文件和捆绑软件ID。因此,是的,尽管我希望Apple简化此流程,但您需要另一个扩展配置文件。

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.

这篇关于iOS8扩展需要自己的配置文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆