有什么方法可以使用 Xcode 8 beta 将应用程序安装到 iPhone 4? [英] Any way to install app to iPhone 4 with Xcode 8 beta?
问题描述
尝试在我的 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
我试过了,效果很好.
如果您不再拥有 7.1 文件,您可以在此处找到它们.
If you don't have the 7.1 files anymore, you can find them here.
这篇关于有什么方法可以使用 Xcode 8 beta 将应用程序安装到 iPhone 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!