iOS8 extension needs own provisioning profile?

前端 未结 5 457
庸人自扰
庸人自扰 2021-01-31 14:52

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

5条回答
  •  梦谈多话
    2021-01-31 15:06

    Extensions are separate targets from the host app. You have to treat them as though they are separate apps with different bundle identifiers and different provisioning profiles.

    It's best if you just create them during testing instead of using wildcards because you may need to test some capabilities that you enabled, for example App Group so that your extension and host app can access the same container.

    Note that if you want to have any capabilities enabled for your host app and extensions, you have to enable them individually for all of them.

提交回复
热议问题