iPad 1, how to run code? - ios

The iPad 1 update past iOS 5. When I try to run my app from Xcode on it, it says
Xcode cannot run on 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.
What do I need to do to be able to run my app on this iPad?

you can edit your project as follow.

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

The device does not recognize this host. when trying iphone 4 with iOS 7.1

i have app that i run successfully on iphone 5 with iOS 8.1
now with the free provisioning i like to test the app on iphone 4 with iOS 7.1
but after successfully compiling the app when i try to run it with the play button im getting :
The device does not recognize this host.
Please check your setup and try again. (0xE800001C).
also the deployment target is 5.1
what can be the problem ? using Version 6.3.2 (6D2105)
It worked for me when i reconnect device and you will get a popup like this
And then click on Trust. After that it will take some time to copying data to your computer and then you can use this device in xcode.

Unable to run iOS 7.1.2 device in xcode 5.1.1

I've just updated my iPhone to iOS 7.1.2, and I can no longer run my apps through xcode 5.1.1. And I can't install apps with this iOS version too.
To solve this issue do the following:
Connect the device to your computer and open iTunes.
It will prompt you to allow the computer to access the device.
If you accept, the device should be properly recognized by Xcode too and selectable to run your app.
Still no clue why this happened in first place, after updating to iOS 7.1.2.

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.

Deploy iOS 5 app on an iPad 1

I am currently developing an application for iOS and while it works fine on the simulator, I would like to run it on an actual device.
Unfortunately, I only have an iPad 1.
I’m using OS X Mavericks and Xcode 5.1 and I set the iOS Deployment Target for the project to iOS 5.1.
I understand that I won’t be able to run it on the iOS 5.1 Simulator with Mavericks, but I was wondering if I would still be able to run it on an iPad 1 ?
I can’t find that information anywhere and I just want to be sure it will work before paying the 99$ fee to deploy on the real hardware.
You can update a first generation iPad up to iOS 5.1.1, which will work for testing iOS 5.1 apps.
If you intend to release your app to Apple's App Store, keep in mind that Apple has released a statement saying that all apps "must be optimized for iOS 7", so you may still need a newer device for testing. (source)

Resources