xcode 设置中缺少 iOS 10 开发人员选项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39387623/
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-09-08 18:20:48  来源:igfitidea点击:

iOS 10 developer option missing from settings

iphonexcodeios10

提问by Dan

The topic says it all. I've just upgraded to iOS 10.0.1 /iPhone 6s/& now the Developer option is missing from the Settings.

题目说明了一切。我刚刚升级到iOS 10.0.1 /iPhone 6s/现在“设置”中缺少“开发人员”选项。

I've tried some tricks for older versions such as sync the device in iTunes and add it in Xcode /it's already added/ but nothing worked.

我已经为旧版本尝试了一些技巧,例如在 iTunes 中同步设备并将其添加到 Xcode/它已经添加/但没有任何效果。

Anybody has clues on this ?

有人有这方面的线索吗?

I'm running Xcode 7.3.1with DeviceSupport added from the beta and the apps run fine on the iOS 10.

我正在Xcode 7.3.1使用从测试版添加的 DeviceSupport运行,并且应用程序在 iOS 10 上运行良好。

回答by Sven S?nnichsen

Just install XCode 8 and connect your iPhone to your Mac. That worked for me.

只需安装 XCode 8 并将您的 iPhone 连接到您的 Mac。那对我有用。

回答by Gigisommo

I had the same issue. I fixed it by turning off and on the Show as run destinationfrom Xcode.

我遇到过同样的问题。我通过关闭和打开Show as run destinationXcode 来修复它。

These are the steps:

这些是步骤:

  1. Connect your device
  2. Open Xcode and select Window -> Devices and Simulators
  3. Select your device from the devices list
  4. Toggle the Show as run destination
  1. 连接您的设备
  2. 打开 Xcode 并选择 Window -> Devices and Simulators
  3. 从设备列表中选择您的设备
  4. 切换 Show as run destination

回答by Vishal Vaghasiya

Try the following steps

尝试以下步骤

  1. Connect your device with your machine.
    1. Open Xcode -> Window -> Devices
    2. Select your device from the left side pan
    3. Now Click on the “+” icon in the downside.
    4. Select “Add Device”
    5. Now do the steps as per the given instructions.
    6. It will show a window as given below. enter image description here
    7. Done
  1. 将您的设备与您的机器连接。
    1. 打开 Xcode -> 窗口 -> 设备
    2. 从左侧面板中选择您的设备
    3. 现在点击下方的“+”图标。
    4. 选择“添加设备”
    5. 现在按照给定的说明执行步骤。
    6. 它将显示如下所示的窗口。 在此处输入图片说明
    7. 完毕

回答by David Andreoletti

On iOS 12.x and better, the following sequence enables "Developer Mode" on the iOS device:

在 iOS 12.x 及更高版本上,以下顺序可在 iOS 设备上启用“开发者模式”:

  • Device must have a passcode set.
  • Plug the device to your laptop.
  • Enter DFU mode: -- Hold both “Home” + “Power” buttons on your device at the same time for 10 seconds. -- Release the “Power” button while keeping the home button pressed, for another 10 seconds. -- Release “Home”. The device's screen will be black.
  • Leave DFU mode: -- Press "power" + "home" until the device reboots.
  • In Xcode, go to Devices View . Select the device and tick "Run as destination" (untick + tick if already ticked) ==> Developer options will be available in setting after reboot.
  • 设备必须设置密码。
  • 将设备插入笔记本电脑。
  • 进入 DFU 模式: -- 同时按住设备上的“主页”+“电源”按钮 10 秒钟。-- 按住主页按钮的同时松开“电源”按钮,再保持 10 秒钟。——发布“家”。设备的屏幕将是黑色的。
  • 退出 DFU 模式: -- 按“电源”+“主页”直到设备重新启动。
  • 在 Xcode 中,转到 Devices View 。选择设备并勾选“作为目的地运行”(如果已经勾选,则取消勾选 + 勾选)==> 重新启动后,开发人员选项将在设置中可用。

回答by nigeljh

Guess you've probably got this sorted, but may be useful for someone else...

猜猜你可能已经排序了,但可能对其他人有用......

In addition to opening Xcode 8 and connecting the phone I needed to bring up the devices tab (Shift-Cmd-2) and select the phone from the list. After a bit of messing about to convince Xcode that the phone really was unlocked, the Developer option appeared

除了打开 Xcode 8 并连接手机之外,我还需要调出设备选项卡 (Shift-Cmd-2) 并从列表中选择手机。在说服 Xcode 手机确实已解锁之后,开发人员选项出现了

回答by snurt

In Xcode 9.2 it's Product->Destination->Device. Then on iOS 11.21 it's Settings-General->Profiles and Device Management. A "Developer App" profile will be there for your Apple ID once you've successfully built your project with the build target of your phone, that's where you click on "Trust" "".

在 Xcode 9.2 中,它是 Product->Destination->Device。然后在 iOS 11.21 上是设置-常规-> 配置文件和设备管理。一旦您使用手机的构建目标成功构建了项目,您的 Apple ID 就会有一个“开发者应用程序”配置文件,这就是您单击“信任”“”的地方。

回答by Bilal

For Xcode 9 following are the steps:

对于 Xcode 9,以下是步骤:

  • Connect your iPhone or iPad to your computer
  • Hold the “Home” + “Power” buttons on your iPhone and iPad at the same time for 10 seconds.
  • Let go of the “Power” button without releasing the home button. Continue press the “Home” button for another 10 seconds.
  • Release “Home”, and your screen should stay completely black. If so, chances are you successfully entered into iPhone DFU Reset.
  • Developer options will be available in setting after reboot.
  • 将 iPhone 或 iPad 连接到计算机
  • 同时按住 iPhone 和 iPad 上的“主页”+“电源”按钮 10 秒钟。
  • 松开“电源”按钮而不松开主页按钮。继续按“主页”按钮 10 秒钟。
  • 释放“主页”,您的屏幕应保持全黑。如果是这样,您很有可能成功进入 iPhone DFU 重置。
  • 重新启动后,设置中将提供开发人员选项。