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.
Related
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)
After updating my iPad to iOS 9 public beta, I am getting an error while trying the run the app in my iPad. When I select the iPad as destination, it says "iPad (Unavailable) or Could not find developer disk image. How can I fix this? Any solution?
If you are using the Xcode 7 GM build version 7A218, the chances are that you accidentally downloaded iOS 9.1 (13B5110e) as opposed to the iOS 9 GM build (13A340). I did the same thing don't worry. They are too close to each other on the downloads page :0
You can check which version you have on your device by simply going to your device Settings > General > About > Version
All you have to do is download the correct iOS 9 GM build and go to iTunes. Click on your device. In the summary tab, OPTION + Right Click "Check for Update" and restore your device by navigating to the iOS 9 GM build finder location. Note by selecting "Check for Update" you will not lose any settings or data on your device. In other words, it is not a restore
However, if you are using Xcode 7.1 build version (7B60) iOS 9.1 is supported
I had the same problem and all I had to do was to update my XCode to 7.1. After that it worked. Your Xcode has to be updated to the latest version.
This is also encountered when trying to use Xcode 6.4 against an iOS 9.0.x device. Here's how you can workaround it and get Xcode 6.4 to recognize your iOS 9.0.x devices:
Download Xcode 7.0.1:
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_7.0.1/Xcode_7.0.1.dmg
Open Xcode_7.0.1.dmg and drag the Xcode.app to your desktop
Right-click, Show package contents, navigate into /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Copy the "9.0 (13A340)" directory to the existing DeviceSupport directory for your Xcode 6.4 install. For example: ~/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Restart Xcode 6.4 (if it was running), and your device running iOS 9.0.x should now show as a recognized device.
I solve this problem by just simple xcode restart.
Update Xcode. If it not help:
go to
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
If you don't find there your device iOS version, you could try to copy last one and rename it to which one do you need, restart XCode and try to compile, it works for me.
Apple just released the new Xcode 7.1 which support iOS 9.1. Update Your Xcode and everything will be fine.
I have experienced same issue
Could not find Developer Disk Image
1) My Xcode version was 7.0.1 and i updated my iPhone to version 9.2, then upon using Xcode my iPhone was shown in section of unavailable device. Just like in image below:
2) But then i somehow managed to select my iPhone by clicking at
Product -> Destination -> Unavailable Device
3) But that doesn't solved my problem and started showing
Could not find Developer Disk Image
Solution) Then finally i downloaded latest version of Xcode version 9.2 from https://developer.apple.com/downloads/ and everything worked fine for me.
For me the problem was that I just needed to open my phone and click "Trust Computer"
I had XCode 7.0.1 installed + iOS 9.1 (13B143).
XCode had shown me "unsupported device" / "could not find developer disk image" in Devices windows until i updated my XCode to version 7.1. Everything works well now.
I had already update to newest version Xcode (7.0.1) but still can't build on iPod touch 5 in iOS 9.1(13B143).After copy 9.1 (13B137) folder from my colleague to DeviceSupport folder in Xcode, it works! Not sure it would create some side effects.
My iphone is currently running ios 8. When I try to run apps through XCode on my phone I get this error message:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
In XCode under deployment target, there is no option for 8.0 (iOS 8) and the app will not run on my phone.
Is there an SDK I need to download for xcode?
Any help is greatly appreciated.
You need to download Xcode 6, which includes the iOS 8 SDK. You would download this from the Apple developer site, where you downloaded the iOS 8 Beta image from.
https://developer.apple.com/devcenter/ios/index.action
Xcode 5 knows nothing of the existence of iOS 8. You're going to need to get Xcode 6 from this page (direct link) if you want to run apps on your iOS 8 device.
Note that the direct link is only good for the version of Xcode 6 shipped alongside iOS 8 Beta 2. I have no idea what it will do when we get to Beta 3.
The way I got it to work was:
close all instances of Xcode.
open the Xcode 6-Beta
open Xcode 5 so both Xcode's are running at the same time
close Xcode 6-Beta, and after doing that, Xcode 5 will recognize your device as a capable one and you'll be able to deploy to your iOS 8 phone.
The reason you need Xcode 5 is because you won't be able to submit iOS 7 apps to the app store from Xcode 6, it'll give you an error so you need to use Xcode 5.
Is it possible to use XCode6 beta with an IOS 7.1 SDK? The new tools are much nicer but I need to build for IOS7
Yes.
1. First download 7.1 SDK - XCode6Beta > Preferences > Downloads > iOS 7.1 Simulator.
Note: XCode6-Beta can co-exist with regular XCode (XCode 5.x). But when you download iOS 7.1 Simulator, it actually gets downloaded into XCode 5's path!! (probably a bug).
Open XCode5's SDKs folder..
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Open XCode6-beta's SDKs folder..
/Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Copy iPhoneOS7.1.sdk from XCode5's to XCode6-Beta's SDK folder.
Restart XCode6-beta
Now if you go to Project's Build Settings, Base SDK, you will see 7.1 along with 8.0.
Enjoy!
I'm using XCode6 and SDK version 8 regularly now, but I had to compile an app with version 7 of SDK, because version 8 was causing a lot of problems on devices with iOS8 installed, while in devices with iOS7 installed everything was running fine.. (!!)
I then:
went to XCode Downloads
browsed through some pages in order to get the latest XCode 5 version and downloaded it
opened the DMG with Image Mounter
rightclicked XCode icon and selected "Show package contents"
browsed Finder through Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
copied iPhoneOS7.sdk and pasted it to /Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
restart XCode
now you can select SDK 7.1 as the one to use in your project
this has immediately solved all of my issues with the app
From the command line, you can copy the 7.1 SDK from the current Xcode distribution to the Xcode 6 Beta distribution like this:
cp -r /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
The example above will recursively copy the contents of the iPhoneOS7.1.sdk folder to the appropriate destination for Xcode6-Beta5 . Copying the SDK to Xcode6-Beta6 would require adjusting the command line to point to the Xcode6-Beta6.app folder.
So we had a very similar issue, our goal was to debug an issue that only appears on iOS 8 (with an app built in xCode 5 on the iOS 7.1 SDK). We were trying to use xCode 6, but found it too unstable, and then decided to go back to xCode 5 and debug using UIAlertNotifications (as we could previously not connect our iOS 8 device to xCode 5)
After connecting our iOS 8 device to xCode 6, when we re-opened xCode 5, our iOS 8 device was recognized and we were able to debug using NSLog statements (break points still caused our app to crash - making it apparent that the issues related to break points are with iOS 8 rather than xCode 6 as others have suggested)
I hope this info is of some help to others out there!
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.