Xcode: Could not locate device support files
Actually, there is a way. You just need to copy DeviceSupport folder for iOS 7.1 from Older Xcode to the new one. It's located in:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1
If you don't have the 7.1 files anymore, you can download a previous version of XCode on https://developer.apple.com/download/more/, extract it, and then copy these files to following path
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Credit
Could not locate device support files in Xcode
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:
- iOS 13.6
- iOS 14.0 (From Xcode 12 beta 4)
How to fix error Could not locate device support files
I've been reading about hacks to get it to work on the current version of Xcode. Honestly not interested in going down that path. Bottom line, Apple released iOS/iPadOS 13.2 but did not release Xcode 11.2 (still in beta). Gotta go to developer.apple.com and download the latest beta of Xcode 11.2 to run apps on both iOS and iPadOS 13.2 devices. Hopefully they release Xcode 11.2 soon. The last beta was from Oct 11.
Could not locate device support files: iOS
Please upgrade your Xcode
IDE to 10.1
.
Xcode 10.1 Release Notes can be found at, https://developer.apple.com/documentation/xcode_release_notes/xcode_10_1_release_notes/
How to fix Xcode error: Could not locate device support files on iPhone with Xcode
I had the same issue with my iPhone 8, Xcode Beta 9.2 did not support my version of iOS 11.1.
However Xcode 9.1 does support my version of iOS 11.1
iOS not supported by Xcode : Could not locate device support files
Here are the latest iOS device support files and news and updates here: Releases - Apple Developer.
Device Support files (iOS 14) for Xcode11
You can actually add device support files from a future Xcode version on your current Xcode Version. This PR adds the file to a very popular GitHub repo that hosts these device support files: https://github.com/iGhibli/iOS-DeviceSupport/pull/110
iOS 12 not supported by Xcode 9.4 : Could not locate device support files
iOS 12 is only supported by the beta of Xcode 10 or higher.
If you want to use your iPhone 8 with this iOS version (NOT RECOMMENDED) with your Xcode 9.4 you can try to download the last beta of Xcode 10 and after connecting the iPhone to the mac go to this folder:
/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
You can see the iOS version folder of the iPhone, copy and past it to the same location in your Xcode 9.4 folder.
After this you should be able to deploy to your iPhone 8.
IOS 13.2 (17B84) Device Support files for Xcode
I downloaded the support files I needed from here:
https://github.com/iGhibli/iOS-DeviceSupport
and added them to:
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
and the error was fixed. It just needed to debug the phone (automatically) and it worked fine. I'm still even using Xcode 10.1, but with all the support files it builds on my iPhone fine that is updated to IOS 13.2
Related Topics
How to Create a Uiimage from the Current Graphics Context
Get Pixel Value from Cvpixelbufferref in Swift
Exception Type: Exc_Crash (Sigabrt)
How to Use Http Live Streaming Protocol in iPhone Sdk 3.0
An Elegant Way to Ignore Any Errors Thrown by a Method
Press-And-Hold Button for "Repeat Fire"
Ios13 Share Sheet: How to Set Preview Thumbnail When Sharing Uiimage
Enable/Disable Apple Push Notification from iPhone App
Leak from Nsurl and Avaudioplayer Using Arc
How to Build Boost-Libraries for Iphone
Make Uicollectionview Zoomable
iOS 11 Layout Guidance About Safe Area for iPhone X
Selecting a Word in a Uitextview
Switching Between Text Fields on Pressing Return Key in Swift