Application Target和 Notification Service Extension Target需要使用兩個不同的bundle id。
假設Application Target的bundle id是:
cn.jpush.productname
那你的Notification Service Extension Targe bundle id應該是:
cn.jpush.productname.extensionname
注:
1、Application Target和 Notification Service Extension Target使用同一個bundleid,運行到iOS10設備會報:
B6C1B22CD71F93AE440414C742B6CF4E.jpg
2、Notification Service Extension Target 配置的bundleid 前綴不是Application Target的bundle id,運行到iOS10設備會報:
error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.
Embedded Binary Bundle Identifier: xxx.xx.extension
Parent App Bundle Identifier: yyy.yy