“设备上的政策禁止安装应用程序。” 在 iPad (iOS 8) 上运行 Xcode 6 应用程序时出错
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25354221/
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
"Installation of apps is prohibited by a policy on the device." error when running an Xcode 6 app on an iPad (iOS 8)
提问by Eneko Alonso
I've been developing an app on my iPhone recently and today I upgraded our iPad to iOS 8 so I could test the app on it. Xcode gave me the following error, though:
我最近一直在我的 iPhone 上开发一个应用程序,今天我将我们的 iPad 升级到了 iOS 8,所以我可以在它上面测试这个应用程序。不过,Xcode 给了我以下错误:
Any ideas what could be causing this error?
任何想法可能导致此错误?
回答by David Falcon
Try checking restrictions in your device Settings.
尝试在您的设备设置中检查限制。
回答by Claytog
Recently in XCode 10.1, while attempting to run a project on a device, was presented with this same message.
最近在 XCode 10.1 中,尝试在设备上运行项目时,出现了相同的消息。
In iOS 12.1.3, the device setting to allow installation of the app, is:
在 iOS 12.1.3 中,允许安装应用程序的设备设置为:
Settings->Screen Time->Content and Privacy Restrictions->iTunes and App Store Purchases->Installing Apps-->Allow
设置-> 屏幕使用时间-> 内容和隐私限制-> iTunes 和 App Store 购买-> 安装应用程序--> 允许