由于权限不足导致代码签名无效 [英] Invalid code signature due to inadequate entitlements

查看:31
本文介绍了由于权限不足导致代码签名无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的物理设备上运行一个应用,它开始在我的设备上构建,然后由于无效的代码签名、权限不足或其配置文件未被用户明确信任"而崩溃.

I am trying to run an app on my physical device, it starts to build onto my device then crashes due to an 'invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.'

我已将 iPhone 和 Xcode 更新到最新版本,尝试清理构建并将运行方案构建配置编辑为发布",并尝试将我的可执行文件设置为启动时询问".我在钥匙串上搜索了 Iphone Developer 文件,但似乎找不到,但我不确定我应该做什么.

I have updated my iPhone and Xcode to the latest release, tried to clean the build and edit run scheme build configuration to 'Release' and tried to set my executable to 'Ask On Launch'. I searched for a Iphone Developer file on keychain and could not seem to find one but i am not sure what i am supposed to do.

有人可以帮忙吗?

推荐答案

问题是开发者在设备上不受信任.如果您手动尝试在设备上运行应用程序,您将看到一条不受信任的开发者消息.

The problem is that the developer is not trusted on the device. If you manually try to run the apps on the device, you will see an Untrusted Developer message.

要在设备上解决此问题,请转到 Settings >一般>配置文件或设置 >一般>设备管理,取决于设备类型和 iOS 版本.在那里,信任开发者并允许应用运行.

To solve this issue on the device, go to Settings > General > Profiles or Settings > General > Device Management, depending on the device type and the iOS version. There, trust the developer and allow the apps to be run.

这篇关于由于权限不足导致代码签名无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆