Skip to content

Instantly share code, notes, and snippets.

@litefeel
Created December 13, 2016 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save litefeel/763559b0578e731cf71a296e1b39a6ce to your computer and use it in GitHub Desktop.
Save litefeel/763559b0578e731cf71a296e1b39a6ce to your computer and use it in GitHub Desktop.
使用低版本Xcode调试高版本iOS
1. 下载高版本xcode并安装 例如名字为 Xcode-beta.app
2. 将高版本Xcode中的设备支持链接到低版本的Xcode中
~~~
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/$(iosVersion) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
# 例如在低版本中指出ios10.2
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.2\ \(14C5062c\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
~~~
3. 重开低版本的Xcode就可以调试高版本IOS了
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment