Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple - iOS - Testing on iOS 10.3 with XCode 8.2.1

Tags:

xcode

ios

I have a MacBook with El Capitan installed on it. I cannot upgrade to sierra! Because of that, I cannot install XCode 8.3.

Now I need to test an App with iOS 10.3 but I cannot build it with XCode 8.2.1 for iOS 10.3. I have an pyhsical device with iOS 10.3 but XCode wont let me run it on that device.

What to do now?

like image 933
Mr. 0x50 Avatar asked Apr 11 '17 21:04

Mr. 0x50


People also ask

Can I run iOS apps in Xcode?

Xcode supports debugging, testing, and profiling your iOS app natively on a Mac with Apple silicon. When you open your iOS project in Xcode 12 or later, you have the option to build your app and run it directly in macOS. This option doesn't run your app in a Simulator; it runs it as an iOS App on Mac.

Does Xcode 13 support iOS 11?

The compiler supports this flag with deployment targets of macOS 11, iOS and iPadOS 14, tvOS 14, watchOS 7 and later.


2 Answers

Doing so is still possible with this simple workaround:

  1. Download the latest Xcode
  2. Right click on the downloaded Xcode.app, select Show Package Contents. Navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport subfolder
  3. Move the 10.3 folder to the identical location in your local Xcode 8.2.1 installation
like image 103
deej Avatar answered Sep 20 '22 01:09

deej


Don't get disappointed. There is one way.

If you have access any of the mac that is running the latest xcode and up to date simulators, then navigate to this directory copy the simulators you need and past it on the same directory in your OSX.

You can then be able to run the app on the latest simulator and the updated physical device!

/Applications/Xcode8.3.app/Contents/Developer/Platforms/iPhoneOS.platform
like image 36
AsimRazaKhan Avatar answered Sep 19 '22 01:09

AsimRazaKhan