ios ios设置中缺少设备管理

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/50642807/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 09:42:48  来源:igfitidea点击:

Device Management is missing in ios settings

iosxcode

提问by obiwankenoobi

I am trying to build my project in Xcode and its working great but at the end Im getting an alert saying :

我正在尝试在 Xcode 中构建我的项目并且它运行良好,但最后我收到一条警告:

Verify the Developer App certificate for your account is trusted on your device. Open Settings on Artium's iphone and navigate to General -> Device Management, then select your Developer App certificate to trust it.

验证您帐户的 Developer App 证书在您的设备上是否受信任。在 Artium 的 iphone 上打开 Settings 并导航到 General -> Device Management,然后选择您的 Developer App 证书以信任它。

and when Im going through the setting the Device Managementoption is missing.

当我进行设置时,该Device Management选项丢失了。

Note that it happend after I deleted the project from my phone and rebuild it.

请注意,它发生在我从手机中删除项目并重建它之后。

I checked through preferences and I am logged in to my profile in Xcode.

我检查了首选项,并在 Xcode 中登录了我的个人资料。

enter image description here

在此处输入图片说明

回答by Alex

yup... I had exactly the same issue just now...
you can fix it by removing the profile from xcode.. just go to window-> devices-> right click on the device and click -> show provisioning profiles-> remove all profiles.
The profiles will be recreated again when you run the app again on your phone...

是的...我刚才遇到了完全相同的问题...
您可以通过从 xcode 中删除配置文件来解决它...只需转到window-> devices-> 右键单击​​设备并单击 -> show provisioning profiles-> 删除所有配置文件。
当您在手机上再次运行该应用程序时,将再次重新创建配置文件...

回答by gelbrekt

It worked for me (XCode 10) when I did the following 2 things:

当我做了以下两件事时,它对我有用(XCode 10):

  1. I disconnected the iPhone, then went into Settings -> General -> Reset -> Reset Location & Privacy. Then I reconnected and clicked "Trust this device" on both the Mac and the iPhone (i.e. the popups that come up when the iPhone is reconnected).
  2. Reinstalled the app I had originally manually deleted from the iPhone.
  1. 我断开了 iPhone 的连接,然后进入设置 -> 常规 -> 重置 -> 重置位置和隐私。然后我重新连接并在 Mac 和 iPhone 上单击“信任此设备”(即重新连接 iPhone 时出现的弹出窗口)。
  2. 重新安装了我最初从 iPhone 中手动删除的应用程序。

回答by GingerTech88

I ran into this same problem today. It appears to be an Apple bug that occurs when you manually delete all apps on your device attached to the same developer account.

我今天遇到了同样的问题。当您手动删除设备上连接到同一个开发者帐户的所有应用程序时,这似乎是一个 Apple 错误。

An easy work around is to create a completely new Hello World app and deploy it to your device. When the "Developer App certificate" message pops up then you can proceed to settings and trust your account again and Viola! Your other apps will start working again.

一个简单的解决方法是创建一个全新的 Hello World 应用程序并将其部署到您的设备。当弹出“开发者应用程序证书”消息时,您可以继续设置并再次信任您的帐户和 Viola!您的其他应用程序将重新开始工作。

回答by Umair Khalid

what worked for me!

什么对我有用!

Disconnect your mobile from your mac and then visit

断开您的手机与 Mac 的连接,然后访问

Settings -> General > Profiles & Device management

设置 -> 通用 > 配置文件和设备管理

option is available for me. But when I connect mobile with Xcode for testing its not there

选项对我可用。但是当我将移动设备与 Xcode 连接以进行测试时,它不存在