Skip to content

Latest commit

 

History

History
232 lines (215 loc) · 12.9 KB

README.md

File metadata and controls

232 lines (215 loc) · 12.9 KB

iPhoneOSDeviceSupport

Xcode iPhoneOS DeviceSupport (6.0 - 17.0) [WatchOS | tvOS];

Note

NEW Easily install iOS Device Support files for Xcode using this terminal script:

bash <(curl -s https://raw.githubusercontent.com/filsv/iOSDeviceSupport/master/scripts/install_device_support.sh)

Steps:

  1. Copy and paste the command into your terminal and press Enter.
  2. Enter the desired iOS version (e.g., 16.6) when prompted.
  3. Enter your macOS password when asked (required to copy files into Xcode’s system directory).
  4. Sit back and let the script handle everything for you!

Warning

iOS 17+ Workaround (Xcode 14+ required):
In the terminal run:

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."

Based on this

Most recent releases:

iOS 17+

iOS 17.0 - Workaround

iOS 16+

iOS 16.9 - Not Exist (use 16.5 or 16.6 and rename to 16.9)
iOS 16.8 - Not Exist (use 16.5 or 16.6 and rename to 16.8)
iOS 16.7 - Not Exist (use 16.5 or 16.6 and rename to 16.7)
iOS 16.6 - Download
iOS 16.5.1 Workaround
iOS 16.5 - Download
iOS 16.4 - Download
iOS 16.3 - Download
iOS 16.2 - Download
iOS 16.1 - Download
iOS 16.0 - Download

iOS 15+

iOS 15.8 - Workaround
iOS 15.7 - Download
iOS 15.6 - Download
iOS 15.5 - Download
iOS 15.4 - Download
iOS 15.3 - Download
iOS 15.2 - Download
iOS 15.1 - Download
iOS 15.0 - Download

iOS 14+

iOS 14.7.1 - Download
iOS 14.7 - Download
iOS 14.6 - Download
iOS 14.5 - Download
iOS 14.4 - Download
iOS 14.3 - Download
iOS 14.2 - Download
iOS 14.1 - Download
iOS 14.0 - Download

iOS 13+

iOS 13.7 - Download
iOS 13.6 - Download
iOS 13.5 - Download
iOS 13.4 - Download
iOS 13.3 - Download
iOS 13.2 - Download
iOS 13.1 - Download
iOS 13.0 - Download

iOS 12+

iOS 12.4 - Download
iOS 12.4 (16G73) - Download
iOS 12.3 - Download
iOS 12.2 - Download
iOS 12.2 (16E5181e) - Download
iOS 12.1 - Download
iOS 12.1 (16B91) - Download
iOS 12.1 (16B5059d) - Download
iOS 12.0 - Download
iOS 12.0 (16A366) - Download

iOS 11+

iOS 11.4 - Download
iOS 11.4.1 (15G77) - Download
iOS 11.4 (15F79) - Download
iOS 11.4 (15F5061c) - Download
iOS 11.4 (15F5037c) - Download
iOS 11.3 - Download
iOS 11.3 (15E5178d) - Download
iOS 11.2 - Download
iOS 11.1 - Download
iOS 11.0 - Download

iOS 10+

iOS 10.3 - Download
iOS 10.3 (14E5265a) - Download
iOS 10.3 (14E5230d) - Download
iOS 10.2 - Download
iOS 10.1 - Download
iOS 10.0 - Download

iOS 9+

iOS 9.3 - Download
iOS 9.2 - Download
iOS 9.1 - Download
iOS 9.0 - Download


Important

How to:

  1. Download version you need listed above;
  2. Unzip it;
  3. Close Xcode;
  4. Copy and paste unziped folder by path:

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

Hierarchy:

alt text

  1. Disconnect any physical target device (iPhone, iPad, etc.)
  2. Reopen Xcode;
  3. (Optional) Connect physical target device
  • [Thanks to @unfor19 for updating this [5-7] steps]
    Text representation of the folder hierarchy:
Xcode-beta.app
├── Contents
│   ├── _CodeSignature
│   ├── Applications
│   ├── Developer
│   │   ├── Applications
│   │   ├── Library
│   │   ├── Makefiles
│   │   ├── Platforms
│   │   │   ├── AppleTVOS.platform
│   │   │   ├── AppleTVSimulator.platform
│   │   │   ├── iPhoneOS.platform
│   │   │   │   ├── _CodeSignature
│   │   │   │   ├── Developer
│   │   │   │   ├── DeviceSupport
│   │   │   │   │   ├── 8.0
│   │   │   │   │   ├── 8.1
│   │   │   │   │   ├── 8.2
│   │   │   │   │   ├── 8.3
│   │   │   │   │   ├── 8.4
│   │   │   │   │   ├── 9.0
│   │   │   │   │   ├── 9.1
│   │   │   │   │   ├── 9.2
│   │   │   │   │   ├── 9.3
│   │   │   │   │   ├── 10.0
│   │   │   │   │   ├── 10.1
│   │   │   │   │   ├── 10.2
│   │   │   │   │   ├── 10.3
│   │   │   │   │   ├── 11.0
│   │   │   │   │   ├── 11.1
│   │   │   │   │   ├── 11.2
│   │   │   │   │   ├── 11.3
│   │   │   │   │   ├── 11.4
│   │   │   │   │   ├── 12.0
│   │   │   │   │   ├── 12.1
│   │   │   │   │   ├── 12.2
│   │   │   │   │   ├── 12.3
│   │   │   │   │   ├── 13.0
│   │   │   │   │   ├── * PUT VERSION HERE (unzip and put it here) *
│   │   │   ├── icon.icns
│   │   │   ├── info.plist
│   │   │   ├── Library
│   │   │   ├── usr
│   │   │   ├── version.plist
│   │   │   ├── MacOSX.platform
│   │   │   ├── WatchOS.platform
│   │   │   ├── WatchSimulator.platform
│   │   ├── Toolchains
│   │   ├── Tools
│   │   ├── usr
│   ├── Frameworks

Path: Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/NEW_VERSION_FOLDER Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.5

Thanks to @marlon-sousa for this idea ;)

Note

Could not locate device support files

Screenshot

If you see similar image, follow this:

Turn on "Developer mode" on your iPhone (Settings -> Privacy & Security -> Developer Mode).

Resolution

Note

If you need upper version of the support files less than 1 iteration (eg. You have "15.0" and you need "15.1.5" - You can simply rename folder from "15.0" to "15.1.5" and it should work or try to use next iteration version of the support files, if exists "15.2", otherwise open an issue);

Caution

Xcode 12 now encrypts the connection between Xcode and paired devices, protecting against an attacker in a privileged network position executing arbitrary code > on connected iOS, iPadOS, watchOS, or tvOS devices during a remote debug session. (60386733)

These security benefits are available when Xcode 12 connects to devices running iOS 14, iPadOS 14, watchOS 7, tvOS 14, or later versions. These OS versions also refuse debugger connections from older Xcode releases. Xcode 12 continues to support debugging for older OS versions, but without the new encryption. Comment

For debugging in iOS 14 devices you need at least Xcode 12.
Cause Apple have updated their code for debugging apps on iOS 14 and that is not compatible on older version of Xcode.

Comment

Xcode usage license - Link.