问题描述
当我尝试在iPhone 4上运行应用程序时,Xcode 8 beta会向我显示以下消息:
When trying to run app on my iPhone 4, Xcode 8 beta shows me this message:
此iPhone 4正在运行iOS 7.1。 2(11D257),此版本的Xcode可能不支持。
我的应用程序必须支持iOS 7.我读了很多答案他们说使用Xcode 8 beta的应用程序构建仍然可以在iOS 7设备上运行。那么有没有办法使用Xcode 8 beta将应用程序安装到iPhone 4?就像首先构建应用程序一样,然后使用命令行将 .app
文件安装到iPhone?
My app must support iOS 7. I read many answers they say that app build with Xcode 8 beta still can run on iOS 7 devices. So is there a way to install app to iPhone 4 with Xcode 8 beta? Like building the app first, then use a command line to install .app
file to the iPhone?
推荐答案
实际上,有一种方法。您只需将iOS 7.1的DeviceSupport文件夹从Xcode 7复制到新的。它位于:
Actually, there is a way. You just need to copy DeviceSupport folder for iOS 7.1 from Xcode 7 to the new one. It's located in:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1
我已经尝试过并且有效。
I've tried it and it works.
编辑:如果你没有7.1文件,您可以在找到它们。
If you don't have the 7.1 files anymore, you can find them here.
这篇关于有没有办法使用Xcode 8 beta将应用程序安装到iPhone 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!