iPhone running iOS 8.3 shows up as ineligible in Xcode 6.2 - ios

Current setup:
iPhone 6+ updated to iOS 8.2
iMac running Mavericks (10.9) with Xcode 6.2
Deployment target set to 8.2
When I connect the iPhone, it shows up as ineligible.
Also, it shows this warning:
I've tried:
to reboot both iPhone & iMac -> Not solved
to manually select iPhone from: Product > Destination > Ineligible Devices
Many other answers in this question, but all for problems using Xcode 6.3, not 6.2.
I know I can solve this:
upgrading to Yosemite & installing Xcode 6.3
using an iPhone running 8.2
But is there any possibility that mounting the Xcode 6.3 DMG and copying some libs / symlinking something it will work?

Just copy the folder DeviceSupport/8.3 from Xcode 6.3 to Xcode 6.2.
Details:
Download Xcode 6.2 and 6.3, install as /Applications/Xcode_6.2.app and /Applications/Xcode_6.3.app (or similar names)
In both installations, there's a folder Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
In Xcode 6.2, this folder contains packages for iOS 8.2 and many lower versions, but not for 8.3.
In Xcode 6.3, this folder also contains a package for iOS 8.3. In my case, the folder is called 8.3 (12F69)
Copy the iOS 8.3 package from Xcode 6.3 to Xcode 6.2 (this command is one line, of course):
cp -r '/Applications/Xcode_6.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.3 (12F69)' '/Applications/Xcode_6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport'
Or even better, create a link:
ln -s '/Applications/Xcode_6.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.3 (12F69)' '/Applications/Xcode_6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport'
Now restart Xcode 6.2 and connect your device through USB. Xcode should allow you to test apps on it.
Diego Freniche's solution (copying the whole iPhoneOS.platform folder) was a great help, but when I ran my app from Xcode 6.2, it looked slightly different than it did when I deployed an ipa file on the phone (buttons in wrong positions, status bar display wrong). I guess Xcode got confused and built the app as if it was targeted at a different iOS version.
With this solution (only copy one folder in DeviceSupport), it looks like the app works exactly as it is supposed to. I'll let you know if I encounter problems, but I haven't seen any so far.

A little progress, but this is a WIP.
Looks like in Yosemite Xcode 6.2 works correctly with 8.3 devices. Need to test on Mavericks
Testing with Xcode 6.2 in Yosemite (need to test also in Mavericks, any feedback would be appreciated)
Go to your Xcode 6.2 folder and rename
/Applications/Xcode-6.2 copia.app/Contents/Developer/Platforms/iPhoneOS.platform
into
/Applications/Xcode-6.2 copia.app/Contents/Developer/Platforms/iPhoneOS.platform.old
Mount your Xcode 6.3 DMG, install it
Copy from Xcode 6.3 this folder:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
inside your Xcode 6.2 folder.
you'll probably find an error telling you rootuser does not own the simulator / OS Platform folder. To solve that just open Terminal, then:
$ cd /Applications/Xcode6.2.app/Contents/Developer/Platforms
$ sudo chown -R root iPhoneSimulator.platform/
$ sudo chown -R root iPhoneOS.platform/
now you can run your app inside your iOS 8.3 device from Xcode 6.2 but you have no simulators in the target tdestination menu
UPDATE: I'm getting weird errors while ibtool tries to compile the storyboards:
/Users/dfreniche/Desktop/Test/Test/Base.lproj/Main.storyboard: The operation couldn’t be completed. (com.apple.InterfaceBuilder error 2001.)
So finally give up and update to Yosemite. If there's any new info on this, please share.

Had the same problem with connecting iOS8.3 devices to Xcode 6.2 on Mavericks. Ok on a machine at work running Xcode 6.4 on Yosemite. Software update on the Mavericks machine doesn't offer any higher version. Looking at the specs of Xcode 6.4 (and presumably 6.3 of the original question) says it requires OS X 10.10 (i.e. Yosemite). So, whether or not you can hack around it, the behaviour you/we are seeing on Mavericks is what Apple intends.

I have the same issue and I don't want to just use the lastest version of XCode for the need of maintaining my old projects. I end up with installing two versions XCode(6.2 and 6.3) to solve this problem. Here is what I did.
Download XCode6.2 install package from apple site
Upgrade the existed XCode6.2 to x6.3
Open my project on XCode6.3 (this time the device can be recognized by XCode, and I think XCode6.3 might have done some updates to your project.)
Close my project, re-install XCode6.2, there will be a prompt saying I have a newer version and if I want to keep both. Click Yes. Then I have two versions of XCode.
After all those steps done, I can finally open my project and use my device in XCode6.2. Hopefully it can help someone.

XCODE 6.3 is out.. It solved my problem.. If you have Yosemite, you can download the 6.4 beta version

Related

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

can't add simulator to xcode 7.3.1

I installed xcode 7.3.1 and started a new project with single page template, but when i try to run it it says that "build only device cant run the application and i should add new device or simulator".
when i go to "window->devices" there is only one device and it mymac system, when i hit + button and add simulator i have ios version 9.3 and after selecting the device type and giving it a name and hitting the create button, nothing happens.
/Library/Developer folder dose not exist.
Mac OS X El Capitan 10.11.2
Just to be sure, i uninstalled xcode 7 using cleanmymac3 and restarted system and installed xcode 6.4, it installed successfully and had multiple simulators already defined and a test project successfully run in the simulator. Then i installed xcode 7 witch told me that a older version already exist and if i want to keep them both or replace the older and i choose to replace.Then started a new project with xcode 7 and it was still the same no simulator and i am still not able to add any.
any solution? I am a xcode and MAC noobi ...
Try to Update your OSX to latest version i.e. 10.11.5 because XCode 7.3.1 requires updates OSX / macos
hop it will help you
Ok, it seems iOS 9.3 simulators are not compatible with AMD cpus :D (go figures) or that my MAC's AMD kernel was not good or ..., anyway the same file installs the components correctly with Intel cpu. poor AMD ...

Unable to run app in Simulator 9.0 using XCode 7.0

When I run my application using XCode 7.0. Everytime I am getting below error. How to fix this issue.
I am using Mac with 10.10.5 . I searched that 10.10.4 later supports XCode 7.0
Please suggest where I went wrong...!
Go to Xcode -> Preferences- Downloads tab. 
Here you will be able to see list of simulator available for downloading.
Download the required simulator.
Restart Xcode
You will be able to run your project on simulator without any issue.
Okay so it seems like the run time components for the simulator are not installed with your version of Xcode (this may have happened when updating or downloading a beta and Xcode got confused).
Try do the Following: Xcode > Preferences > Downloads > Check and Install Now
That should Help, otherwise you can go to itunesconnect or anywhere on the web and download and add the simulator files manually.

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

How do I install the iOS 4.3 Simulator on Xcode 4.5?

I have Xcode 4.5 installed via the App Store, and it has iOS 5.1 and 6.0 support, but not iOS 4.3. Nor is it available for download in the "Downloads" tab of Preferences. I tried grabbing it from another computer and putting it on this one, as described by Dominik Porada, but alas that did not work. Maybe there are other files I need? How do I get the iOS 4.3 SDK back?
I actually did get 4.3 to appear in the Xcode 4.3 menu just by copying the iPhoneSimulator4.3.sdk file to the Xcode.app package, as described by Dominik Porada. I think I just had to restart Xcode again, and there it was!
But it doesn't work. As pointed out in the answers to this question, iOS 4.3 is not supported on Mountain Lion. Might work fine for Lion, though.
This was the solution to run iOS 5.1 in XCode 4.2. Try following the same procedure. Try copying it from a previous version of XCode.Haven't tried it out myself.But see if it works.
To get Xcode 4.2 on Snow Leopard to run code on a device running iOS 5.1 you can do this:
If you have another Mac running Lion and Xcode 4.3.1 you can copy the files from:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176)
Place the copied files in the equivalent place on your Snow Leopard Mac: probably
/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Similarly copy the iOS 5.1 SDK files found in this directory:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
Also copy 'version.plist' from the Lion machine in the iPhoneOS.platform folder to the Snow Leopard machine.
Re-start Xcode on the Snow Leopard machine and re-connect the devices and it seems happy enough.
If you don't have access to a machine with Lion and Xcode 4.3.1:
You can get the files out of the 4.3.1 DMG which can be downloaded from Apple here: Downloads for Apple Developers.
Mount the DMG, Show Package Contents on the Xcode icon and drill down to
/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Follow the steps above.
You might find it more convenient to use Apple's proprietary ditto method (sudo ditto src dest) in the terminal window to copy the folders.

Resources