Install iOS 4.2 on an iPad for testing - ipad

How do I install iOS 4.2 Beta on my iPad device to test my apps against?
I have installed the Xcode 4.2 development suit and use Monotouch to test in the emulator on 4.2, but can't figure out how to get 4.2 on my physical iPad.
Ian

Download the iOS 4.2 image for iPad on your machine. Double click to mount it in Finder. Open iTunes, click on your iPad device, and then Option+click on the Update button. this will open a dialog to browse for the local iOS image.

Officially you need be an iPhone Developer: http://developer.apple.com/devcenter/ios/index.action
Will find the info there.
Or you can go the unsafe route and download the firmware from a site and install, but I dont recommend that.

Related

.ipa file does not install in some iphone

I have created an app for iphone and ipad. App install perfectly in iphone but does not install in some iphone. I have use xcode for this app and already add UDID in apple's site for developing. I am using iphone-4 for testing and works fine in developing mode. I am new in ios. So I think, I forget any step for installing. Please write in step wise if possible.
Thanks in advance.
You may need to check your Project Info in your Xcode.
see here
Make sure the iOS Version of your iPhone is equal or bigger than the target value in your project

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.

Building apps that will run under ios7 from xcode 4.2 ios 5

Extremely new to the xcode / ios world, so I apologise in advance .....
My dev machine is an old mac-mini running Snow Leopard and xcode 4.2
I have built an executeable that I want to put on my ipad, which is running at ios7.
In xcode, I did all the provisioning stuff and I see the following message :
The version of iOS on "Daves iPad" does not match any of the versions
of iOS supported for development with this installation of the iOS
SDK. Please restore the device to a version of the OS listed below,
or update to the latest version of the iOS SDK
I'm not sure I can ( or want ) to do either of these things. As far as I know xcode5 won't run on my machine, and I don't really want to downgrade my iPad to ios 5
Am I missing the point? Should I expect to be able to run ios5 executeables under ios7? If I should, how do I get them on to the ipad?
Yes, you can run iOS 5 executables on iOS 7, but you can't run a debug session on an iOS 7 device from anything older than Xcode 4.6.3.
I think the best you're going to be able to do is to build the app, package it into an IPA, then install it on your device and run it from iTunes.
You can create .ipa file from xcode, here is the link. But before that you should have installed provision profile for app distribution. Your testing devices should be listed there in iOS Provisioning Profiles (Distribution) on Apple Developer Member center -> Certificates, Identifiers & Profiles.

Is there a way to develop and test iOS applications for iOS 4.3 up to iOS 6 on the newest XCode?

I am starting the development of an iOS Application. One of the main goals for my application is to support as many devices as possible, so after some research I found that I would need my app to be supported on iOS 4.3 and above. I have OSX Mountain Lion and XCode 4.5 which comes with iOS 6.0 SDK and Simulator Pre-Installed.
I have downloaded iOS 5 Simulator from XCode preferences but there is no option to download the iOS 4 Simulator. Are there any workarounds to get the iOS 4 Simulator running on my Mountain Lion?
Open the scheme menu(Next to the run and stop buttons), and under the list of simulators/devices, there will be an option, "More Simulators...". You can download all the way down to 4.3 there. However, testing on a simulator is no substitute for testing on a device, and it would be best to get an iPhone or iPod touch with 4.3 installed on it to test.
You can try this:
Download a previous version of XCode prior to 4.5.x
Mount and open the disk image [.dmg]
Select "Go to folder..." command from Finder menu bar and digit the
path "/Volumes/Xcode and iOS SDK/Packages/"
Double-click iPhoneSimulatorSDKx_x.pkg [where "x_x" is the version of the iOS Simulator]
Click into the destination disk and click on the button "Select folder..."
Select your "Developer" folder
Start [or restart] XCode
In this way you'll replace the iOS simulator in XCode 4.5.x with a previous one. I don't know if this will work tho, because on OSX 10.8 Mountain Lion only iOS Simulator 5.0+ is available. If you really need to test your app[s] with iOS 4.3 [and prior] the best thing you can do is to downgrade OSX to 10.7 and install XCode 4.5.x [or 4.4.x]. By the way I think that testing your apps with iOS simulator 5.0+ is just fine.

xcode 4.5 wont let me debug on ios 5.1 device

I recently got a new dev machine and downloaded the latest xcode 4.5. It came with IOS 6 only so I went and got sdk 5.0 and 5.1 from older xcodes.
The device im testing on in running ios 5.1 and I'd like to keep it that way for the moment.
In my project settings I have base sdk set to ios 5.1.
The trouble is that when I try to debug on my ios 5.1 device xcode complains that I need to connect an iOS device with a recent enough version of iOS to run my application.
How can I solve this problem?
You can surely run your app on a iOS 5.1 device when using Xcode 4.5 - I am doing that at the very present moment.
Have you checked in Xcode organizer if your device is configured for development? Go to the Organizer (one of the top-left icons), select your device from the lefthand list and click on "use for development" (if available).
Hope this helps.
I have xCode 4.5 like you and I have an iPod Touch 3G 5.1.1 which works perfectly with iOS 6 SDK.
The SDK Number doesn't tell you that it only works for that firmware.
In your Project settings under targets you can define the sdk, not the sdk you build with(this is 6.0) but youcan tell what the minOS is
Try restarting with your 5.1 device plugged in.
My iPod 5.1.1 is provisioned and has been used for development. If I choose the scheme "iOS Device" Xcode 4.5.2 refuses to run, telling me "Xcode cannot run using selected device". However it does work when I set the scheme to "robert's iPod" (or whatever). This choice doesn't show up right away when I plug the device in, and sometimes I seem to need to quit and restart Xcode and/or iTunes (or reboot) in order to see it.

Resources