If you encounter the above error when working with an xcode version that is older than the iOS version that is installed on an iPhone, you can solve it like following:

  • Install the latest xcode version from apple’s website (you can rename first the old one to something like Xcode-x.x.x so that you don’t overwrite the new one over the old one)
  • Use the following command:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.2\ \(14C89\)/ /Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.2\ \(14C89\)
  • Restart Xcode

The real problem that sits behind this issue is the fact that older xcode versions do not have installed the platform tools for the newer operating system that is installed on the iPhone, which can lead to frustrating issues with it.

In my scenario, I was working on an application using the older 2.3 swift syntax and was not ready to upgrade (yet) to swift 3.

Leave a Reply

Your email address will not be published. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>