// Use an older version of Xcode to build on a new device. // Example use Xcode 8 to build on a device running iOS 11
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.* \ /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/