diff --git a/DeviceSupport/13.0.zip b/DeviceSupport/13.0.zip index b1221d8..7a7862f 100644 Binary files a/DeviceSupport/13.0.zip and b/DeviceSupport/13.0.zip differ diff --git "a/README-\344\270\255\346\226\207.md" "b/README-\344\270\255\346\226\207.md" new file mode 100644 index 0000000..98ff216 --- /dev/null +++ "b/README-\344\270\255\346\226\207.md" @@ -0,0 +1,34 @@ +### 遇到的问题 +1. 低版本Xcode 运行高版本iOS 系统 +2. 高版本系统运行低版本iOS 系统, 例如Xcode 16 上跑 iOS 14 , 13系统(目前 Xcode16 不支持iOS 12 13 14 系统需要自行下载) + + +### 解决方案 +1. 下载Xcode系统支持真机调试包 [【Xcode 最新DeviceSupport下载链接 】](https://github.com/Q14/iOS-DeviceSupport) + +2. [点击下载最新的DeviceSupport](https://github.com/Q14/iOS-DeviceSupport) 然后 + * 下载后点击解压调试包 +![截屏2020-06-28 下午1.08.20.png](https://upload-images.jianshu.io/upload_images/576060-4fc86b0edadffe94.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) + +* 把解压后的镇及调试包放在 一下目录 + ``` +/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport +``` + +* 贴个图 +![截屏2020-06-28 下午1.09.26.png](https://upload-images.jianshu.io/upload_images/576060-12a78fa217d1b1a5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) + + 3. 打开任意一个文件目录 然后 command + shift + g 粘贴 + +``` +/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport +``` + +4 移动 真机包到DeviceSupport 下 + +![截屏2020-06-28 下午1.09.26.png](https://upload-images.jianshu.io/upload_images/576060-782af0e191560be0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) + + +### 注意事项 +1 改完后必须重启Xcode,就可以开始真机调试。 +2 如果重启Xcode依然无法运行则重启手机就可以了 diff --git a/README.md b/README.md index e747563..1a95d8b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,35 @@ +[中文文档](https://github.com/Q14/iOS-DeviceSupport/blob/master/README-%E4%B8%AD%E6%96%87.md) + # iOS-DeviceSupport This repository holds the device support files for the iOS, and I will update it regularly. +> [!WARNING] +> [iOS 17+ Workaround (Xcode 14+ required):
](#ios17workaround) +> In the terminal run: +>
+> ```shell +> defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled +> ``` +> +> Then restart Xcode 14 the iOS 17 device will show up in Xcode like below and you can run and debug the app as usual. (You may need to go to Devices and Simulators to pair/trust the device). +> +> I have Xcode 15 beta installed alongside Xcode 14, ~I'm not sure if that's required or not.~ +> +> **Important Point**: It turns out Xcode 15 is required to complete initial device setup for development.After the device setup is completed on Xcode 15, iOS 17 devices can be used with Xcode 14 too. +> +> [Based on this](https://forums.developer.apple.com/forums/thread/730947?answerId=758061022#758061022) + +**Most recent releases:** + +**iOS 17+**
+> iOS 17.0 - [Workaround](https://forums.developer.apple.com/forums/thread/730947?answerId=758061022#758061022) or [StackOverflow](https://stackoverflow.com/questions/76412754/how-to-run-on-ios-17-device-using-xcode-14)
+ + + ## Usage -See docs: [https://ighibli.github.io/2017/03/28/Could-not-locate-device-support-files/](https://ighibli.github.io/2017/03/28/Could-not-locate-device-support-files/) +See docs: [https://github.com/Q14/iOS-DeviceSupport/wiki](https://github.com/Q14/iOS-DeviceSupport/wiki) Below command will try to unzip all new device support files to `/Applications/Xcode.app`. @@ -163,4 +188,3 @@ optional arguments: * 16.4 (FromXcode_14.3(14E222b)) `2023/04/04` * 16.4 (FromXcode_15_beta.xip) `2023/06/07` ----