23

I got following error in Xcode when run my app in my Device. Xcode Version is 10.01, My Device iOS Version 12.2 (iPhone 5S).

Could not locate device support files.

enter image description here

Cœur
  • 37,241
  • 25
  • 195
  • 267
Karthik
  • 5,589
  • 18
  • 46
  • 78
  • There is no **Xcode 10.01**: can you please specify the version correctly? – Cœur Feb 11 '19 at 08:02
  • 1
    Let me just clarify on why I voted to close this question as duplicate: almost every single release of Xcode comes with a new highest supported version of iOS, so the issue happened in the past and will happen in the future for almost any situation where you simply need to update Xcode (or download the device support files). And that's true for unreleased and upcoming versions of iOS like iOS 13.0, iOS 14.0, iOS 15.0, etc. – Cœur Feb 11 '19 at 08:10

3 Answers3

85

You need to update your Xcode to the latest version. You can use this link.

OR

You can download latest iOS device support file from this github repository and copy the folder to this path of your current Xcode:

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

Now after restarting your Xcode, it should work fine.


You can get the latest device support files here:

M Reza
  • 18,350
  • 14
  • 66
  • 71
5

for iOS 12.2 you need Xcode 10.2 beta 2 and if you don't want to download new xcode then you need to manually download device support files.

You can download 12.2 simulator from here and paste this folder at this path.

Donload simulator : Simulators

Simulator Path :

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

After doing this you will able to run in your 12.2 device.

Kuldeep
  • 4,466
  • 8
  • 32
  • 59
0

Well, you should update your Xcode to latest version to support running it on your iOS Device.

From overView here, it supports upto iOS 12.1:

Xcode 10.1 includes SDKs for iOS 12.1, watchOS 5.1, macOS 10.14.1, and tvOS 12.1. Xcode 10.1 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 10.1 requires a Mac running macOS 10.13.6 or later.

You can read release not here and can download Xcode 10.2 beta version here

Hope it helps.

Bhavin Kansagara
  • 2,866
  • 1
  • 16
  • 20