gpt4 book ai didi

ios - 使用推送通知服务扩展上传应用程序

转载 作者:可可西里 更新时间:2023-11-01 06:13:20 25 4
gpt4 key购买 nike

I just created an application with bundle identifier com.example.xyz

并且还为此生成了供应和证书。现在,我需要使用 Push Notification Service Extension 来使用 Rich notification 所以我创建了名为 AppNameNotificationService 的新目标并尝试在设备上运行该应用程序,但它没有工作 bcoz 我创建的扩展目标 有 bundle ID com.example.xyzNotificationServie 不匹配 我为我的应用程序创建的配置。

So, what I did is I created new APP ID on developer account with the bundle ID com.example.xyzNotificationServie and generated provisioning for the same.

现在一切正常。我使用了扩展,一切都很好。但是 Rich push notification 只有在我运行扩展目标而不是实际的 App 目标时才有效。没关系,因为我知道每个扩展都是这样工作的。

But now, I am confused that If I will upload my app on iTC then what should be my app bundle identifier?

What should I archieve from Xcode, either App target or extension target?

谁能帮忙??

最佳答案

应用扩展随您的主应用一起安装在设备上。应用程序扩展是我们在主项目中添加的目标。扩展与主项目捆绑在一起。因此,您的主要应用 ID 将用于将带有扩展名的应用上传到应用商店。

关于ios - 使用推送通知服务扩展上传应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43315765/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com