使用推送通知服务扩展上传应用程序
Uploading app with Push Notification Service Extension
I just created an application with bundle identifier com.example.xyz
并且还为此生成了配置和证书。现在,I needed to use Push Notification Service Extension to use Rich notification
所以我创建了名称为 AppNameNotificationService
的新目标并尝试 运行 设备上的应用程序,但它没有工作 bcoz 扩展目标 I created have bundle ID com.example.xyzNotificationServie which mismatch
与配置我为我的应用程序创建了。
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 only works if I run the extension target not with the actual App target
。没关系,因为我知道每个扩展都是这样工作的。
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 将用于将带有扩展名的应用程序上传到应用程序商店。
I just created an application with bundle identifier com.example.xyz
并且还为此生成了配置和证书。现在,I needed to use Push Notification Service Extension to use Rich notification
所以我创建了名称为 AppNameNotificationService
的新目标并尝试 运行 设备上的应用程序,但它没有工作 bcoz 扩展目标 I created have bundle ID com.example.xyzNotificationServie which mismatch
与配置我为我的应用程序创建了。
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 only works if I run the extension target not with the actual App target
。没关系,因为我知道每个扩展都是这样工作的。
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 将用于将带有扩展名的应用程序上传到应用程序商店。