简体   繁体   English

推送通知证书/手表套件的配置文件

[英]Push Notification Certificates/ Profiles for Watch Kit

I'm about ready to submit my watchkit app to the app store. 我准备将我的watchkit应用提交到应用商店。 Finally. 最后。

During testing, xcode managed my provisioning profiles for the WatchKit Extension and the WatchKit App. 在测试期间,xcode管理了我的WatchKit Extension和WatchKit App的配置文件。 Of course for push notifications I was required to create a certificate for the iphone. 当然,对于推送通知,我需要为iPhone创建证书。 Without creating any new AppId's or provisioning profiles for the Watch App/Extension i was able to receive push notifications on my wrist. 无需为Watch App / Extension创建任何新的AppId或设置配置文件,我就可以在手腕上接收推送通知。

The question I now have is whether or not I will be required to create all new apns development certificates for each of the new appids? 现在的问题是,是否需要为每个新的appid创建所有新的apns开发证书?

The answer is No, you don't have to create that for you watch app. 答案是否定的,您不必为观看应用创建该应用。 When iPhone receives notifications, the iOS system will decide which device it should push to. iPhone收到通知时,iOS系统将决定将其推送到哪个设备。 And you do need to create two more app identifiers and two more provisioning profiles in order to let iTunes Connect detects that you have WatchKitExtension . 而且,您确实需要创建两个以上的应用程序标识符和两个以上的配置文件,以使iTunes Connect检测到您具有WatchKitExtension

The Watch simply displays notifications sent to your existing app using the existing cert. 监视仅显示使用现有证书发送到您的现有应用程序的通知。 You don't need to generate new APNS certs. 您不需要生成新的APNS证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM