iPhone is not available [duplicate] - ios

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.

Related

Run old app on iOS 10

I have an old application, developed using xCode 6.
I would like to build it and run it on iOS10 without converting the code to a new version of Swift (as it seems taking too long).
Strangely, I am able to run the app on an iPad with iOS 10.0.1 but not on my iPhone which has iOS 10.0.2.
For my iPhone i get ineligible device from the Product>Destination menu.
Does anyone know why?
Thank you

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.

Is it possible to use Xcode 7.x with devices running iOS 10 beta?

I'd like to check my app's performance on devices running iOS10 beta without using the Xcode 8 Beta. The main reasons for this are to a) retain the ability to archive & upload the app to the App Store, and b) share the app's codebase with others using Xcode 7.x. As far as I understand (I could be wrong), you can't use an Xcode beta to upload apps to the App Store.
I've tried sharing the apps with the iOS10 beta devices via TestFlight. Though this does work it doesn't quite solve the problem of being able to do proper testing and debugging on the beta device. Thanks for reading.
It is possible but only if you install Xcode 8 along side Xcode 7 (see below) and you connect the iOS 10 device to your computer while running Xcode 8. Once Xcode 8 downloads and processes the iOS 10 device, you will then be able to use the iOS 10 device on that same computer while using Xcode 7.
Rename /Applications/Xcode.app (your Xcode 7 installation) to something like /Applications/Xcode7.app. Then install Xcode 8. This way you can have both installed at the same time.
And you are correct that beta tools can't be used to build and submit to the App Store. Near the very end of the beta, Apple will post the GM version of Xcode and will send an email to developers that they are accepting iOS 10 apps. Using the GM version of Xcode 8 you will be able to submit your iOS 10 app.

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

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.

Xcode cannot run using the selected device xcode 4.41 IOS 5.1 [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Xcode 4.4.1, iOS 5.1: Xcode cannot run using the selected device
My xcode version is 4.4.1 and my iOS 5.1 .I intalled valid provisioned profile and certificates also.
when i deploy xcode through device it shows error Xcode cannot run using the selected device No provisioned iOS devices are available with a compatible iOS version. If anyone know
can you solve my problem?
There are a few things you need to look into:
Is your device included in the provisioning profile?
Is the provisioning profile installed on the device?
What OS are you compiling for? Maybe your Deployment target is set to 6.0 while your device is 5.1. Your device needs to be at least the same version or higher than your deployment target.

Resources