Xcode: Could not locate device support files

Praveenkumar picture Praveenkumar · Sep 23, 2016 · Viewed 144.5k times · Source

As i am trying to run my application from newly updated Xcode 8 to my iPhone 4 which is running iOS 7.1.2

It throws below error,

iOS 7.1.2

And, this is my Xcode version,

Xcode 8

Does anyone faced this issue before? Awaiting for your suggestions!!

Answer

Durai Amuthan.H picture Durai Amuthan.H · Mar 7, 2017

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