Apple - iOS - Testing on iOS 10.3 with XCode 8.2.1 - 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?

Doing so is still possible with this simple workaround:
Download the latest Xcode
Right click on the downloaded Xcode.app, select Show Package Contents. Navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport subfolder
Move the 10.3 folder to the identical location in your local Xcode 8.2.1 installation

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

Unfortunately, you're out of luck. As this answer specifies, iOS 10.3 requires Xcode 8.3 or greater, which in turn requires macOS Sierra.

Related

No Xcode support for iOS 12.3

My phone has updated to iOS 12.3 beta, the latest Xcode 10.2 beta only supports up to iOS 12.2.
Is there a beta version of xcode anywhere that is compatible with iOS 12.3?
I guess the options are to wait for apple to release a new version of xcode or to roll back. unless anyone knows otherwise?
I find a solution to fix this problem.
You should make a folder named 12.3 (... what is written in your error message) in Program/Xcode-beta/Contents/Developer/Platforms/iPhoneOS.platforms/DeviceSupport/ and copy the files from 12.2 in there.
Now you can run your apps on iPhones with iOS 12.3.
Any update on The IOS 12.3 Beta Developer Disk Image?
The official Debugging File for iOS 12.3 is not available.
You can try the following method to let Xcode support debugging iOS 12.3 devices.
1. Go to the folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
2. Create a folder named "12.3".
3. Copy the "12.2" file to the "12.3" folder.
How I fixed a similar issue with iOS 12.4
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and create folder called 12.4 (16G77) and copy the files from one of the previous folders f.e 12.3
Go to Xcode and click on the "Set active scheme menu" and click on Download Simulators at the bottom:
Xcode will automatically start updating and re-creating the supporting files for 12.4:
Hope this will help someone.
Actually, Xcode 10.2.1 could debug with real devices running iOS 12.3
Try it by yourself.
worked for me:
1. cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
2. cp 12.0 12.2
3. cp 12.0 12.3
4. downloaded Apple configurator and identified the connected devices
5. in xCode targeted the connected device
6. build worked
How I fixed similar issue with iOS 12.5.3 (XCode 10.1)
I opened Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport in Finder, created folder called 12.5.3 (16H41) and copied the files from folder 12.4 (16G77).

Xcode not supported for iOS 11.3 by Xcode 9.2 needed 9.3

Apparently, with the latest IOS update, my version of Xcode could not build due to the following error.
Could not locate device support files. This iPhone 7 Plus (Model 1661, 1784, 1785, 1786) is running iOS 11.3 (15E216), which may not be supported by this version of Xcode.
Tried to install Xcode 9.3 via this link https://developer.apple.com/download/more/. But as it turns out, my Mac OS version sees the update as an incompatible version. Running on Sierra 10.12.6
Another option is to download the 11.3 device support at:
iOS 11.3 (15E217)
And don't forget to remove "(15E217)" from folder name, so it became "11.3". Restart Xcode afterwards.
Where to paste it according to comment of EdwardM
For those that don't know where to paste the contents of the zipped file. Find your Applications icon in the dock, right-click, "Open Applications". The folder will open in Finder. Right-click Xcode > Show Package Contents. Then go to Developer > Platforms > iPhoneOS.platform > DeviceSupport
I have the same problem, OS Sierra trying to run iPhone SE with 10.3 using Xcode 9.2 and I don't have the resources to update to High Sierra and Xcode 9.3.
Solution:
Find your friends who have Xcode 9.3
Ask them to right click on Xcode, Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.3 (15E217)
Copy the 11.3 (15E217) folder to your old Xcode (9.2) with the same file hierarchy
Now you have Xcode 9.2 with iOS 11.3.
I just give you a device support file for iOS 11.4 (15F79).
which just on XCode version 9.4 (9F1027a)
Updated on 5 Oct 2018:
Xcode 10.0 (10A255) - iOS 12.0 (16A366) [Updated 21 Sep: #Nik
Burns confirmed that works]
Xcode 10.1 beta 2 (10O35n) - iOS 12.1 (16B5068g) [Please give me feedback if that works]
I have macOS 10.12.6
You can download Xcode 9.3 from https://developer.apple.com/download/
and extract the "11.3 (15E217)" folder from it
The fix really works.
please add both of "11.3 (15E216)" and "11.3 (15E217)"
keep all of them inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
I recently stumbled upon the same problem, where I basically updated my iPhone X to the newest OS version, and (for reasons I will not go into) had to run the app on Xcode 9.2.
This thread was helpful, but there's one small caveat that even though I downloaded the newest support files from the provided Github project, and put them in the appropriate folder, I was still getting this error:
Say for example you’ve downloaded 11.4 (15F79) but after restarting and running again you get an error mentioning something like 11.4.1 (15G77).
The solution, as I wrote here, was to just rename the folder (so, rename 11.4 (15F79) to 11.4.1 (15G77)), restart Xcode and voila, it works!
Hope this helps someone 👍
I have macOS 10.13.4
I downloaded Xcode 9.3
Here you have the "11.3 (15E217)" it's work fine.
Quicker/Smaller Fix
This is probably due to outdated Xcode, if you don't want a big Xcode update due to limited storage/time then you can manually download the required support files instead of the whole update.
Download the files (depend on iOS veersion) from here
And then paste the downloaded files in below directory /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Use iOS 10.3.3 with Xcode Version 8.2.1?

I am using Xcode Version 8.2.1 and cannot upgrade because I am working off of a 2008 MBP and the latest versions of Xcode are not supported.
I trying to run a project on an iPhone 5 which is running iOS 10.3.3 however, when i try to run the project from Xcode I get the following error message:
I checked the device support folder located at:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
and I see that the 10.3 folder is not present
Is there a way I can add a folder for 10.3 device support? Is there a place I can download it and add it into my Xcode?
If this is not possible, does anyone know a way to downgrade to an unsigned iOS firmware such as 10.2 or lower?
You can download the Xcode 8.3 separately(or get it from here :https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d#gistcomment-2041802) and get the 10.3 SDK from that which resides in Developer/Platforms directory. Reboot system as well as XCode and select SDk in settings as 10.3
You have to update your Xcode with 8.3 or later or download .dmg file from here
https://developer.apple.com/download/more/

Is there a way to get iOS 7 simulator on Xcode 7

I just updated my Xcode to the newest version (7.0 7A220) and I lost the iOS 7 simulator that I had in the previous version. I still have the iOS 7 SDK and was wondering if there is way to use it on the newest version of Xcode, instead of installing another version of Xcode on my OS X.
Download the official installation package from: https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK7_1-7.1.1.1354140590.dmg
This is where Xcode 6.4 is downloading it from.
But it won't work on El Capitan, only on Yosemite. The runtime has a problem with El Capitan... So until Apple solves it (if they want to), we're stuck.
As for my initial analysis referred from link you cant install it and use older version of Xcode version for using respective iOS simulators. To use iOS 7.1 go for Xcode 6.4 or earlier. Install Xcode 6.4 and download respective simulator from Preference.
To download older version of Xcode you need to login with developer account https://developer.apple.com/downloads/

Will installing XCode 4.5 remove iOS Simulator 5.1?

I have 2 machines. On one of them I updated to xcode 4.5, but doing so uninstalled my iOS simulator for 5.1.
I'm hesitant to update my other machine as I have a project that requires the 5.1 simulator.
Are my assumptions correct or did I do something to remove the older simulator without knowing?
You can redownload the simulator in the Xcode preferences.
Download Xcode 4.3.3 for lion and open the dmg, and click and show package contents,and copy the Contents\Developer\platforms\iPhoneOS.platform\sdks\iPhoneOs5.1sdk folders into your xcode4.5 Contents\Developer\platorms\iPhoneOS.platform\sdks folder, and it works

Resources