xcode 找不到设备支持文件

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

Could not locate device support files

iosiphoneswiftxcode

提问by Ragini

I want to run my IOS application on iphone but I am getting below mentioned error.

我想在 iphone 上运行我的 IOS 应用程序,但我遇到了下面提到的错误。

"This iPhone 6 is running iOS 10.3.2 (14F89), which may not be supported by this version of Xcode."

“这款 iPhone 6 运行的是 iOS 10.3.2 (14F89),此版本的 Xcode 可能不支持。”

Screenshot

截屏

How to fix it.

如何修复它。

回答by Vlad Khambir

Your version of xCode does not support iOS 10.3.2.

您的 xCode 版本不支持 iOS 10.3.2。

Just check, your deploy target contains iOS 10.3 or not. If not, you should use another version of xCode.

只需检查一下,您的部署目标是否包含 iOS 10.3。如果没有,您应该使用另一个版本的 xCode。

enter image description here

在此处输入图片说明

回答by Zarif Ahmed

You have to upgrade your Xcode to v8.3 in order to install your build on iOS 10.3.

您必须将 Xcode 升级到 v8.3,才能在 iOS 10.3 上安装您的构建版本。

If you wish to use the Xcode 8.2 in order to run a build on iOS 10.3 then check this thread: How to use iOS 10.3 devices with Xcode 8.2.1

如果您希望使用 Xcode 8.2 以在 iOS 10.3 上运行构建,请检查此线程:如何使用 iOS 10.3 设备与 Xcode 8.2.1

回答by Aditya Srivastava

Your Xcode version doesnot support devices above 10.3 iOS version. The device which you connected is above 10.3. One solution is to download the respective developer disk image from somewhere and save it to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and restart Xcode. Second solution is to update your Xcode.

您的 Xcode 版本不支持 10.3 iOS 版本以上的设备。您连接的设备是 10.3 以上。一种解决方案是从某处下载相应的开发人员磁盘映像并将其保存到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 并重新启动 Xcode。第二种解决方案是更新您的 Xcode。

回答by Ajju

Just create .ipa file and run using itunes, otherwise you need to update your xcode to newer version

只需创建 .ipa 文件并使用 iTunes 运行,否则您需要将 xcode 更新到较新版本