xcode 如何让Xcode中的“Use for Development”按钮再次出现?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16407405/
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
How to make the “Use for Development" button in Xcode appear again?
提问by RelativeGames
When I first connect an iOS device to Xcode, it appears under Devices in organizer and a "magical" button appears, “Use for Development".
当我第一次将 iOS 设备连接到 Xcode 时,它出现在管理器中的设备下,并出现一个“神奇”按钮,“用于开发”。
When I click this and log into my apple developer account, Xcode creates a "magical" provisioning profile that lets me debug any app on the device, without a specifically created provisioning profile for that specific app. This is very useful.
当我单击它并登录到我的 Apple 开发者帐户时,Xcode 会创建一个“神奇”的配置文件,让我可以调试设备上的任何应用程序,而无需为该特定应用程序专门创建的配置文件。这是非常有用的。
This provisioning profile usually has a wildcard at the end. The problem is that even if I delete all the profiles on my iPad (under settings->profiles) the magic button doesn't appear again, as in, it knows I already activated it.
此配置文件通常在末尾有一个通配符。问题是,即使我删除了 iPad 上的所有配置文件(在设置-> 配置文件下),魔术按钮也不会再次出现,因为它知道我已经激活了它。
Now, in order to make it appear again I have a single option : to reset or update my iPad which in term deletes everything. This is a painful and lengthy process for such a small feature. Is there any other way to do this ?
现在,为了让它再次出现,我只有一个选择:重置或更新我的 iPad,这实际上会删除所有内容。对于这么小的功能,这是一个痛苦而漫长的过程。有没有其他方法可以做到这一点?
采纳答案by matt
Ask Xcode to add this device (even though it has already done this previously). This causes Xcode to obtain a new team development profile.
要求 Xcode 添加这个设备(即使它之前已经这样做了)。这会导致 Xcode 获得新的团队开发配置文件。
回答by ChrisWren
I had to right click on the device in the Organizer and select "Ignore Device" for the button to appear.
我必须在管理器中右键单击设备并选择“忽略设备”以显示按钮。
回答by Michal Shatz
Add device to your provisioning profile in member center -> Generate profile -> Download -> Double click when Xcode is open √Solved
在会员中心将设备添加到您的配置文件 -> 生成配置文件 -> 下载 -> Xcode 打开时双击 √已解决