最近在接信鸽推送SDK,官方Demo运行直接崩溃。。。
报错信息:
Code Signing Error: No profile for team '299MFJ63GP' matching 'common_dev' found: Xcode couldn't find any provisioning profiles matching '299MFJ63GP/common_dev'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the General tab of the target editor.
Code Signing Error: Code signing is required for product type 'App Extension' in SDK 'iOS 11.4'
报错分析:
出现此错误通常由于Bundle Identifier未设置正确 。
如果是直接从网上下载的工程,首先检查工程TARGETS下的Bundle Identifier是否已设置。如果是sdk的demo工程,Bundle Identifier通常是空白,需要手动填写。然后在下面Signing的team中选择开发者账号。同时,在TARGETS下相应地Test工程中也要做相同的设置。
针对上面就是TARGETS下面的,XGSer