Unable to download my iOS app to my iPhone 5s [duplicate] - ios

This question already has an answer here:
The Developer Disk image could not be mounted error with iOS 8.4 device - Ineligible Devices section
(1 answer)
Closed 7 years ago.
I am trying to download my ios app to my iPhone and run it from there.
Also I have registered with Apple iOS developer program.
My Xcode version is 6.2 (6C131e).
iOS version on my phone is iOS 8.4.1
So I connected the iphone 5s to my computer using the USB. I can see Xcode recognized my device. Clicking on the run button displays this message
"The Developer Disk Image could not be mounted."
iPhone many be running a version of iOS that is not supported by this version of Xcode."
Can someone help me as what could be the issue?
Thanks
Borna

First of all try to update XCode to the newest version.
Make sure you have downloaded the proper certificates.

You probably need to download XCode 6.4
https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc6_release_notes.html
Xcode 6.4 includes the iOS 8.4 SDK to support development for iOS 8.4 apps.

Related

iPhone is not available [duplicate]

This question already has answers here:
iPhone is not available. Please reconnect the device
(33 answers)
Closed 2 years ago.
I have an issue with trying to run the app on iOS 12.4.7 where I'm always getting this message in Xcode:
iPhone is not available. Please reconnect the device
I have checked many answers related to this issue and in most cases issue is connected to Xcode version and iOS 13. In another words lower Xcode version then it should be. I have tried many things: re-connecting, restarting Xcode, restarting iPhone.
My Xcode version is 11.5 and deployment is set to iOS 12.0 but still I can not run the app on iOS 12.4.7 which is the version of iOS on my phone. I think Xcode 11.5 should support running the app on lower versions than iOS 13. Also I have enough free storage on iPhone to run the app.
On simulator, iOS 13+, app will run but on real phone it doesn't. Unfortunately I can not upgrade my iOS version and I need to test in app purchases. Any help is more than welcome. Thanks in advance.
The issue isn't the system version, it's the device type (iPhone 6). Xcode 11.5 just isn't going to support running on your device. You can run the app on your device, no problem; but not from Xcode.

Trying to Simulate my Xcode Project on my Personal iPhone

Currently have an iPhone 8 plus that is running iOS 12.1 and Xcode 10. When I connect my iPhone to my laptop and and go to Window > Devices and Simulators, I see my iPhone but I get the warning
"This iPhone 8 Plus (Model A1864, A1897, A1898, A1899) is running iOS 12.1 (16B5077c), which may not be supported by this version of Xcode."
Not sure how to resolve this warning.
You are running a beta version of iOS, so you also need the beta version of Xcode.
Download it from Apple's developer site

Could not locate device support files [duplicate]

This question already has answers here:
This iPhone 6 is running iOS 10.1 (14B55c), which may not be supported by this version of Xcode
(5 answers)
Closed 5 years ago.
I want to run my IOS application on iphone but I am getting below mentioned error.
"This iPhone 6 is running iOS 10.3.2 (14F89), which may not be supported by this version of Xcode."
How to fix it.
Your version of xCode does not support iOS 10.3.2.
Just check, your deploy target contains iOS 10.3 or not. If not, you should use another version of xCode.
You have to upgrade your Xcode to v8.3 in order to install your build on iOS 10.3.
If you wish to use the Xcode 8.2 in order to run a build on iOS 10.3 then check this thread: How to use iOS 10.3 devices with Xcode 8.2.1
Your Xcode version doesnot support devices above 10.3 iOS version. The device which you connected is above 10.3. One solution is to download the respective developer disk image from somewhere and save it to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and restart Xcode. Second solution is to update your Xcode.
Just create .ipa file and run using itunes, otherwise you need to update your xcode to newer version

Do I need iOS 9 or higher to test an app on an iPhone without a developer program plan?

I can download the latest Xcode, but must I also be running at least iOS 9 to be able to develop an app and run it on my device without being a member of the developer program? I've got an iPhone 4 which cannot be upgraded any further from iOS 7.1.2.
My question is answered here: https://forums.developer.apple.com/thread/52904
No, I don't need iOS 9 as there is probably nothing on the iOS side preventing from using free provisioning. Xcode 7.3.1 supports iOS down to version 6, meaning I could test an app for free on a device with iOS 6.0.

Run iOS Apps on iPhone with iOS 8 through XCode

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.

Resources