简体   繁体   English

如何在 IOS 11 上运行 XCode 8 项目

[英]How to run XCode 8 project on IOS 11

I know there are lots of questions like mine but they didnt solve my problem.我知道有很多像我这样的问题,但他们没有解决我的问题。

I had xcode 8 and the system automatically forced to upgrade to 9.我有 xcode 8,系统自动强制升级到 9。

After that I get lots of error when compiling project in xcode 9 and because of my rush I just need to prepare a new version using xcode 8 for ios 11.在那之后,我在 xcode 9 中编译项目时遇到很多错误,并且由于我的匆忙,我只需要使用 xcode 8 为 ios 11 准备一个新版本。

After reinstalling Xcode 8.3.3 again, I dont see xcode 8 in the list of applications ( there is only xcode which is 9 ) but when opening project with "open with" I can choose xcode 8.再次重新安装 Xcode 8.3.3 后,我在应用程序列表中没有看到 xcode 8(只有 xcode 是 9 )但是当用“打开方式”打开项目时,我可以选择 xcode 8。

After opening project in xcode 8, ios 11 is not in the list of "ios development target" even after copying "developerDiskImage" for ios 11 in this folder:在 xcode 8 中打开项目后,即使在此文件夹中复制 ios 11 的“developerDiskImage”后,ios 11 也不在“ios 开发目标”列表中:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Its strange also that why I dont have :这也很奇怪,为什么我没有:

/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Any advice would be appreciated任何意见,将不胜感激

Xcode 8 can't run with iOS 11 (only Xcode 9+). Xcode 8 无法与 iOS 11 一起运行(仅限 Xcode 9+)。

But wait!可是等等! There's a way;有办法; build an IPA and install it manually with iTunes to the device with iOS 11. But you won't have debug.构建一个 IPA 并使用 iTunes 手动将其安装到使用 iOS 11 的设备上。但您不会进行调试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM