項目比較舊,新添加的 Notification Service Extension 報出如下異常:
error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
Embedded Binary Signing Certificate: Not Code Signed
Parent App Signing Certificate: Apple Development: *** (FC4CGVWLZ8)
考慮到時代碼簽名問題,所以修改 “VALID_ARCHS”為$(ARCHS_STANDARD)
targe -> build setting -> 搜索 arch
相關文章1: 暫時忽略授滓,只在 install 時安裝
相關文章2: 舊版本xcode新建項目配置
相關問題歡迎留言