iPhone: developing with IOS 4.3 on IOS5 device not possible? - iphone

I have ios5 installed on my iPhone device, I am developing an application in xcode using SDK IOS 4.3 I got the error:
The version of iOS on "John's iPhone” 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; which is available here.
I dont want to do either of them, because I have other ongoing projects since months which I started with using IOS 4.3. So if I download IOS 5 SDK is that possible that I will mess things up with previous projects? And do I have to download all xcode 4.2 again for IOS 5?! and after all.."what the heck is going around?"

The error message is pretty clear about what your options are...
I suggest you upgrade to Xcode 4.2 and the iOS 5 SDK. That still allows you to write apps for iOS 4.x, but you get a better version of Xcode and a better compiler (LLVM 3.0) and the ability to develop on your iOS 5 device.

Related

iPhone 3G XCode Development for 4.2.1

I've managed to resurrect my old iPhone 3G which runs 4.2.1. Can I still develop using XCode on this phone? I would ideally like to use it for learning Obj-C without paying for the Developers Program, Jailbreaking just to test my apps.
Is this feasible?
Yes it is feasible but you will not be able to use xcode the latest xcode 4.5 with it because it supports ios 4.3 and later. You would be able to use lower versions of xcode for 4.2.1 . The latest release notes indicates 4.2.1 and lower will not be supported, we now have to use 2 version of Xcode to develop when supporting older devices.
Please go through
Old Xcode
Xcode 4.5 and iOS 4.2.1 incompatibility
XCode 4 and iOS 4.2.1

run the app on iPhone 3GS os 6.1 using Xcode 4.3.2

I am using Xcode 4.3.2 and want to run app on iPhone 3GS but when I am opening organizer window and showing following:
The version of iOS on “iPhone” 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; which is available here.
OS Installed on iPhone
6.1 (10B141)
Xcode Supported iOS Versions
Latest
5.1 (9B176)
5.0
4.3
4.2
please suggest me .
Since downgrading the iOS version is difficult and doesn’t sound like an option for you, I think you must follow the other option:
update to the latest version of the iOS SDK
The iOS 6.1 SDK is included in Xcode 4.6.
Make your code compatible for ios 6.1
and try using xcode 4.5

Testing on jailbroken brand-new iOS device - using Xcode?

OK. So, here's some details on my situation :
I've got a brand-new iPhone 4.
The iOS version has been updated to 5.1.1 (9B206).
The phone has been jailbroken using redsn0w.
I'm running Lion (10.7.4) and Xcode 4.3.
Now, my issue :
I'm creating a sample test app, which runs fine under the simulator.
Followed everything here, but without any result.
Also tried enabling my device via Organizer ("Use as development device").
When I click on "Use as development device", it keeps saying...
The version of iOS on “Dr.Kameleon’s iPhone” 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; which is
available here.
OS Installed on Dr.Kameleon’s iPhone
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3
4.2
While, when I try running on my "iOS device" (that's how it appears), it claims there's no device with a proper iOS version.
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.
Any ideas? What's going wrong?
Look, everyone who says you can't build directly on a jailbroken device is wrong. You can, and it's quite easy to do. If you don't have a provisioned device (and it looks like you don't), using this guide will work. I've tested it myself on Lion running Xcode 4.3 (it even works on later versions, but those are under NDA).
The real issue seems to be that, for whatever reason, you don't have the iOS 5.1 SDK - you're using the iOS 5.0 SDK. You can confirm this by looking in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. If you don't see any mention of 5.1, you don't have it installed. Try downloading and installing Xcode again (I believe it's 4.3.2 now), which should have the iOS 5.1 SDK bundled with it.
This error is not due to the jailbroken iPhone, its basically due to your lower version of Xcode which doesn't support the latest iOS, try upgrading your Xcode version to latest.hope it helps

XCode not recognizing my iphone

XCode was recognizing my device just a day ago but now its not. I am getting the error in the organizer below. I know there are many other questions like this but non of them are answering my question. I am unable to see "Use for Development" button, neither adding to portal is fixing the issue. I have upgraded the device when 5.1 came and was able to use the device for testing but dont know what happend yesterday and it stop recognizing the device.
The version of iOS on “Adil Muhammad’s iPhone” 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; which is available here.
OS Installed on Adil Muhammad’s iPhone
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2
you updated your phone, so you need the latest xcode installed to now develop apps on your dev phone
As your Device ios version is higher than what your xcode support.
Upgrade you xcode with the latest one (xcode 4.3).
This is the only Resason
Regards,
neil.

What's the latest version of Xcode that comes with iPhone SDK 3.2?

Reviewing the iOS Developer Downloads & ADC Program Assets, I think it's Xcode 3.2.4, but I'm not sure.
I have an XCode 3.2.6, which I strongly believe is the latest version of Xcode 3, after which, Xcode4 is your only option
Here's the link
http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20792
XCode 3.2.4 comes with iOS SDK 3.2. It gives options for iPad Simulator 3.2 but not iPhone Simulator 3.2 (only 4.0 & 4.1). It may allow you to build 3.2 on an iPhone device though. I just confirmed this by downloading & installing it. I think it's the latest, although Xcode 3.2.5 might also have iOS SDK 3.2, but I highly doubt it because How do I add the iPhone SDK 3 to the latest version of Xcode? suggests otherwise.