将 iPad 连接到 Mac Mini 进行 Xcode 开发
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11270525/
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
Connecting iPad to Mac Mini for Xcode development
提问by Yimin Rong
I can't seem to get any recognition between the iPad and the Mac Mini. I'm using the white USB cable that came with the iPad to connect them. Tried rebooting ad nauseum. It's like two inert bodies, no indication on either side that the two are connected. No lights, sounds or animations. All the tutorials say is just connect them, and don't mention about what to do if this elementary step fails. I saw some similar questions on other forums, but distressingly, they go unanswered. Any help would be appreciated! Yimin
我似乎无法在 iPad 和 Mac Mini 之间获得任何认可。我正在使用 iPad 随附的白色 USB 电缆来连接它们。尝试重新启动令人作呕。这就像两个惰性物体,两边都没有迹象表明两者是相连的。没有灯光、声音或动画。所有教程都说只是将它们连接起来,并且没有提及如果此基本步骤失败该怎么办。我在其他论坛上看到了一些类似的问题,但令人沮丧的是,他们没有得到答复。任何帮助,将不胜感激!益民
回答by WrightsCS
In Xcode, you need to go to OrganizerShift+Command+2. On the left sidebar, choose the iPad you want to use for development, for example:
在Xcode中,你需要去管理Shift+ Command+ 2。在左侧边栏中,选择您要用于开发的 iPad,例如:
Alternatively, you can try and kill iTunes Helperin from Activity Monitor and then relaunch iTunes.
或者,您可以尝试从活动监视器中杀死iTunes Helper,然后重新启动 iTunes。
If all else fails, try another USB port or try another USB cable.
如果所有其他方法都失败,请尝试另一个 USB 端口或尝试其他 USB 电缆。
回答by Yimin Rong
The device needs to be set up in iTunes first. This step is appears to be omitted from many tutorials or perhaps it is a new feature and the tutorials are out of date.
需要先在 iTunes 中设置设备。许多教程似乎都省略了此步骤,或者它可能是一个新功能并且教程已过时。
In any case, it would be helpful if there were some kind of visual confirmation when a new device is connected and maybe a suggestion on what to do next.
在任何情况下,如果在连接新设备时有某种视觉确认以及下一步该做什么的建议,那将会很有帮助。
On the other hand, setting up the provisioning profile in Xcode seems to be greatly simplified now. No need to copy the ID, run the key generator, etc.
另一方面,在 Xcode 中设置配置文件现在似乎大大简化了。无需复制 ID、运行密钥生成器等。