I am new for iOS and when I connect my iPad with my system it's showing an exception like in the image below.
I am using Xcode 6.1.1 and the iPad is running iOS 8.4.1.
[
If you're running iOS 8.4.1 on your iPad, then you'll need to upgrade to Xcode 6.4
additional reference
When you running on device then above problem occur, so You have to download new Xcode, Download Xcode 6.4 as below links.
XCode 6.4
You will require Xcode 6.4 in-order to mount your iPad: https://developer.apple.com/xcode/download/
This occurs when you plug in a device that is running an OS version above what your current version of Xcode is.
One solution is to always use the most recent non-beta versions of Xcode and iOS.
However, if you have a beta version of iOS on your device, but still want to develop and build with the non-beta release of Xcode, there is a workaround!
1) Have both the current release of Xcode, and the Xcode-beta installed on your machine.
2) Make sure they are both closed.
3) Plug-in your device.
4) Open Xcode-beta and allow it to recognize your device (process symbols...)
5) With phone still plugged-in, quit Xcode-beta.
6) Open stable Xcode version, and your device will be recognized!
I currently do this all the time because I have iOS 9 beta on my test device, but submitting apps to TestFlight using Xcode 7 (beta) is not yet supported, so I needed to use Xcode 6.4 as my main IDE.
Related
I tried to run my app on a device running iOS 11.2 and received the following error:
Could not locate device supported files.
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.2
(15C114), which may not be supported by this version of Xcode.
I have used iphone 5s(version 11.1.2) and I want to build my project from xcode 9.1(ios 11.1).
It seems that Apple released iOS 11.2 to the public without releasing Xcode 9.2 yet (the Mac App Store reports 9.1 as latest at the time of this writing), which includes the iOS 11.2 SDK necessary to target devices running iOS 11.2. You should be able to run this on your device with the Xcode 9.2 beta, which you can download from the developer download page if you have a developer account
EDIT: Xcode 9.2 is publicly available now, and you can download it from the Mac App Store
Xcode 9.2 has finally been released. You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
I have Xcode9.2 on my MacBook and 8 on my MacMini. So I just copied the 11.2 DeviceSupport DeveloperDiskImage .dmg and .signature from the MacBook to the MacMini. Worked fine.
For the rookies like me, if you get a message similar to this:
"This iPhone 6 is running iOS 11.2.X, which may not be supported by this version of Xcode."
It means you have to update Xcode.
I hit this problem when my phone was running 11.2.6 and I was running Xcode Version 9.0
You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
Get the device support file from here if latest available Device Support File
Any one having this kind of Error when your device OS version is updated and Your Xcode version is not.
Xcode - Version 9.1 (9B55)
Device Version - 11.3
Solution:
Find your friends who have latest Xcode 9.x
From following ways you can get device support files
Go to Finder and Search
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Right click on Xcode -> Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.X
Copy the 11.X
Please note X - will be Versions
Also you can download from this link - https://github.com/filsv/iPhoneOSDeviceSupport/issues/7
After you get device supporting files, Add all the new version to yours Xcode DeviceSupport folder
Restart the Xcode and You are Ready to debug :)
I tried to run my app on a device running iOS 11.2 and received the following error:
Could not locate device supported files.
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.2
(15C114), which may not be supported by this version of Xcode.
I have used iphone 5s(version 11.1.2) and I want to build my project from xcode 9.1(ios 11.1).
It seems that Apple released iOS 11.2 to the public without releasing Xcode 9.2 yet (the Mac App Store reports 9.1 as latest at the time of this writing), which includes the iOS 11.2 SDK necessary to target devices running iOS 11.2. You should be able to run this on your device with the Xcode 9.2 beta, which you can download from the developer download page if you have a developer account
EDIT: Xcode 9.2 is publicly available now, and you can download it from the Mac App Store
Xcode 9.2 has finally been released. You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
I have Xcode9.2 on my MacBook and 8 on my MacMini. So I just copied the 11.2 DeviceSupport DeveloperDiskImage .dmg and .signature from the MacBook to the MacMini. Worked fine.
For the rookies like me, if you get a message similar to this:
"This iPhone 6 is running iOS 11.2.X, which may not be supported by this version of Xcode."
It means you have to update Xcode.
I hit this problem when my phone was running 11.2.6 and I was running Xcode Version 9.0
You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
Get the device support file from here if latest available Device Support File
Any one having this kind of Error when your device OS version is updated and Your Xcode version is not.
Xcode - Version 9.1 (9B55)
Device Version - 11.3
Solution:
Find your friends who have latest Xcode 9.x
From following ways you can get device support files
Go to Finder and Search
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Right click on Xcode -> Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.X
Copy the 11.X
Please note X - will be Versions
Also you can download from this link - https://github.com/filsv/iPhoneOSDeviceSupport/issues/7
After you get device supporting files, Add all the new version to yours Xcode DeviceSupport folder
Restart the Xcode and You are Ready to debug :)
The iOS 9 update is not supported by Xcode 6.4 for testing purpose. is there a workaround to connect my device to Xcode for testing. If not can I roll back my update to ios 8.4.1( previous update ).
There is a way to deploy to iOS 9 devices with Xcode 6.4. I ended up doing this because I of course had updated my phone right away, but I did not quite want to go to Xcode 7 due to Swift 2 and the lack of support by coacoapods, yet.
Here is what I did:
I downloaded Xcode 7, but did not install it.
Instead I browsed inside the dmg file (Show Package Contents on right-click) to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.
I then copied the folder named 9.0 (13A340) into the same location of my current installation of Xcode 6.4.
Lastly I renamed the existing 8.0 (12A365) folder to just 8.0 - I am not sure if this is necessary.
I am now able to deploy to my phone with iOS9 from Xcode 6.4.
I hope this is helpful to somebody!
The iOS 9 update is not supported by Xcode 6.4
You've hit the nail on the head. iOS 9 is not supported in versions of Xcode earlier than iOS 7. Just update to continue developing.
This worked for me to allow me to test my app that was built against the iOS8 SDK (on XCode 6.4) on a physical iOS9 device.
Rename XCode to Xcode 6.4 in the Applications folder
Install Xcode 7 from the downloaded DMG (don't update from the AppStore)
Open XCode 7 and build a test project (it can be an empty iOS9 app) and run it on your physical iOS9 device
Close Xcode 7 and open XCode 6.4
Build your app against the iOS8 SDK and debug on the physical iOS9 device
It seems like debugging on XCode 7 first updates something on the device and then XCode 6.4 can debug properly.
(This is useful for example, if you don't want to migrate your Swift 1.2 code to 2.0 yet)
I downloaded the iOS 9 beta for the iPhone 5s and wanted to test an application that I have finished but now it says that my iPhone is an ineligible device. Is there a way I can still run apps on my iPhone without downloading the Xcode 7 beta?
You can RUN App on iOS 9 device using Xcode 6, But firstly you need to build your app on XCode 7, after that it will support on XCode 6.
I dont know the reason.
I have checked this on My Mac.
[EDIT]
Steps
Build the project on Xcode 7 while Xcode 6 is opened on the same
project.
Disconnect the device and reconnect it.(Now u can run ur app on XCode6, It may take little time to load device)
When i have checked iOS9 with Xcode6, Bugs are very less.
So i have plan to support iOS9 with XCode6 for quick release. Later i will do for XCode7.
You can build to an iOS 9.0 or 9.1 beta device from Xcode 6.4, not out of the box though.
Download Xcode 7.0 and/or Xcode 7.1 beta dmg, and copy the
Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.0 (13A340)
from Xcode 7.0 or:
.../9.1 (13B5110e)
from Xcode 7.1 beta folders to corresponding folder in your Xcode 6.x.
After restarting Xcode iOS 9.0/9.1 devices will no longer be marked an ineligible.
If you installed iOS 9 beta onto your iPhone, then you cannot develop on it without Xcode 7.
However, this is not a completely terrible thing; you can readily have both Xcode 7 and Xcode 6 on the same computer.
(What you cannot do, according to Apple, is revert your iPhone back to iOS 8 - but there are some comments below from people who were able to do it.)
Install the latest XCode. Keep both versions on your Mac. Give Keep Both when installing the new XCode and do not give Replace present XCode during the installation.
Go to application, right click XCode --> show package contents. Copy the latest version from the path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
and copy to the Xcode you are currently working in the same path. Find the screen shots below and start working.
Happy coding.
Don't need build your project at Xcode 7.0, just open and select your device, after that, open your Xcode 6.4 and your device will automatically update the necessary things to build app by Xcode 6.4
Not the easiest or correct way. But if you really have to test once or twice in the device.
In Xcode,
Product -> Archive
Build for Ad-Hoc Distribution
Connect the device
Open Itunes, Select the device,
Select Apps, Drag and drop the .ipa file generated in step 2 to itunes
Press install
App will be installed to the ios9 device.
No, you have to download Xcode 7 beta since tools like the compiler and debugger are part of the IDE.
As stated on Apple Developer Website (here), Xcode 7 Beta has the Swift 2 compiler and SDK for iOS 9. My guess is, your current Xcode doesn't know how to compile for iOS 9 SDK.
However, Apple doesn't specifically mention Xcode 7 as a requirement. It states that OS X Yosemite or later is required.
I don't think you can specifically download an SDK that isn't supported inside Xcode. For example, you can go to Xcode -> Preferences -> Downloads and under Components you may see the iOS 9 Simulator.
If you go to the iOS 9 SDK and download it, it seems to only download the device OS and not the entire SDK.
In conclusion, I believe that the SDK "kit" is integrated with Xcode 7 that would allow you to develop on your iOS 9 Device. Without upgrading, I don't see you being able to do that. I could be wrong though.
After today's announcement that iOS 6 Beta is available to developers today, I am wondering if I jump on the iOS 6 ASAP will I still be able to build my apps in progress on my device(iPhone) from Xcode 4.3.2? or will there be a required update for Xcode as well?
Update: Currently I have iOS 6 on my iPhone and Xcode 4.5 installed. After that the organizer in Xcode (4.3.2 and 4.5) said 'could not support development' in the Provisioning. Then fixed that, and now I have 4.3.2 saying that it is running my app on my iPhone, but its not showing up on my phone. And 4.5 gets to the 'TakingInstallLock' point in the process, and just keeps trying, but getting nowhere. Anyone else having this issue? Anyone know of a solution?
You can push apps to your phone from Xcode 4.3.x if your phone is running the iOS 6 Beta.
You cannot, however, utilize any of the iOS 6+ frameworks such as the new Social framework from within Xcode 4.3.x
I can't comment yet so this is to confirm that installing Xcode 4.5 DP acutally installs the iOS 6 SDK for Xcode 4.3.2 as well. This is rather obvious as SDK files are installed in a general place (namely the Library folder) of OSX.
The steps to use your updated iOS 6 device for development with Xcode 4.3.2 thus are:
Download Xcode 4.5 DP from the dev area of apple.com.
Install Xcode 4.5
Start up Xcode 4.3.2
Open up the devices section, choose your device for development, wait for the process of fetching information to finish and you are good to go.
Regards!
Any apps that you write using beta software will be rejected. To translate, if you use iOS 6 SDK beta or the new Xcode beta that gets released today, your app will be rejected even if you make a build for just iOS 5.
I installed iOS6 and Xcode 4.3.2 didn't recognize my device. After installing Xcode 4.5 beta and letting it install a few things, 4.3.2 now recognizes my device and I can carry on building and testing on my iOS6 device.
I would say no!
I updated last night and now I can't run my app on my phone.