“aps-environment”具有配置文件不允许的值

May 24 16:12:49 unknown installd[138] : entitlement 'aps-environment' has value not permitted by a provisioning profile May 24 16:12:49 unknown SpringBoard[51] : Killing com.cequint.ims for termination assertion May 24 16:12:50 unknown installd[138] : entitlement 'aps-environment' has value not permitted by a provisioning profile May 24 16:12:50 unknown SpringBoard[51] : Reloading application state for 'com.cequint.ims' as its modification date or path has changed May 24 16:12:50 unknown SpringBoard[51] : Reloading and rendering all application icons. 

这最近开始出现在控制台中,虽然我的配置文件都没有改变,根据Xcode,所有配置文件都是有效的(有Apple推送配置文件,开发配置文件和团队配置文件)。

我遇到通知徽章计数没有出现的问题,并怀疑与此行相关:“重新加载并呈现所有应用程序图标。”

有人对这个问题有经验吗?

在目标的构建设置中,选择代码签名,然后选择代码签名标识,确保为您的构建设置的配置文件是Apple推送配置文件。