简体   繁体   English

将iOS应用调试到iOS设备时如何修复安全错误

[英]How to fix security error when debugging iOS app to iOS Device

I'm trying to debug an app to my iOS Device with the new update in Xcode (7.1), but I keep getting a security error. 我正在尝试使用Xcode(7.1)中的新更新将应用程序调试到我的iOS设备,但是我一直收到安全错误。 How do I fix this? 我该如何解决? I've looked everywhere in Settings, and can't seem to be able to fix it. 我在“设置”中到处都看过,似乎无法修复它。 Thanks in advance! 提前致谢!

在此处输入图片说明

Go to Settings - General - Profiles - tap on your Profile - tap on Trust button. 转到设置-常规-配置文件-点击您的配置文件-点击信任按钮。

If the option to view Profiles is not viewable do the following from Xcode. 如果查看个人档案的选项不可见,请从Xcode执行以下操作。

  • Open Xcode 7. 打开Xcode 7。
  • Go to window, devices. 转到设备窗口。
  • Select your device. 选择您的设备。
  • Delete all of the profiles loaded on the device. 删除设备上加载的所有配置文件。 Delete the old app on your device. 删除设备上的旧应用。
  • Clean and rebuild the app to your device. 清理并重新构建应用程序到您的设备。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM