I just upgrade to iOS 6 xcode 4.5
But I found that even in Xcode-reference-download there are only ios 5,6
I prefer my app to work also for the users using iOS 4.X
Any comment is welcomed.
If you're on Lion, you can still download the 4.3 simulator (at least I did with the Gold Master version, supposedly it still works with the final release).
On Mountain Lion, the 4.3 simulator is buggy (as seen in the first betas) and has thus been removed by Apple.
If you really need to, you can run Lion on top of Moutain Lion with Parallels Desktop or something similar, that's what I do.
I can confirm that it works on Lion with Xcode 4.5
(Simulator 4.3)
XCode 4.5.x only supports armv7 architecture :
Changes in Xcode 4.5.x for ios 6
Xcode 4.5.x (and later) does not support generating armv6 binaries.
Now includes iPhone 5/armv7s support.
The minimum supported deployment target with Xcode 4.5.x or later is iOS 4.3.
The minimum support for iPhone is iPhone 3GS or later as earlier versions use armv6.
Hope this helps....
Related
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
I want to develop an iphone app, I only have OSX 10.5 so I can only install xcode 3.1, can I developer App for iOS version 4.0, 4.3, and 5 respectively? Or I must upgrade to OSX 10.7 Lion and install xcode 4.2?
More specifically, if I use xcode 3.1 and develop an app, will it runs on iphone 4 and 4S?
As far as I know you will not be able to develop for those iOS versions with XCode 3.1, looks like you will need to upgrade unfortunately.
You'll need to upgrade, at least to Snow Leopard (10.6) to be able to develop for iOS 5, as 10.5 is not longer supported
edit:
short answer yes, it will most likely be able to run, but you missed out on so many features added in iOS 4++, also, it's likely you won't be able to test your app on iPhone 4/4S, not sure about iPhone 4, but 4S surely won't get recognized by your XCode
if you make an app for iOS 4.0 it should work with iOS 4.3 and iOS5. But for Xcode 4.2 you don't need Lion, Snow Leopard is enough(I've heard that Lion isn't that good compared to Snow Leopard).
You cannot use Xcode 3.1 to develop apps the use SDK APIs or features new to iOS 4.3 or 5.x, or to debug apps running on devices with those later OS versions.
You can use Xcode 3.1 to develop apps that will run on devices with iOS 4.3 or 5.x by using Ad Hoc deployment and installing the apps via iTunes.
You can develop for newer ios on older XCodes. And, its a matter of managing PATHS nd VERSIONS
STEP 1.
What is known as XCode is more accurately a bundle of a IDE with a SDK. Nevertheless, the two are separate. I have 3.2 and 4.0 xcodes on the same machine. no hitch at all. I used the older 3.2 IDE until the 4.0 IDE became a bit more familiar.
One way is to organize your directory structure around the following schema.
/Developer_3.x.x
/Developer_4.x.x
Another method is to use only one /Developer and copy the SDK and platforms from one into another.
/Developer/SDKs
/Developer/Platforms
*The reason that is easy: those are the expected search PATHS
The cleaner and slightly more difficult route is setting the Project build settings under
Project | Build | Architecture
The two settings are the two top-most ones.
"Additional SDKs" sets the ADDITIONAL_SDK variable.
"Base SDK" sets the SDKROOT variable.
See "Cross-develop using target sdk"
And "Cross-Development Programming Guide"
As pointed out, a caveat is optimizing, mem-leaking and so forth.
STEP 2. (Pain in the *ss)
Then, you will have to start peppering your code with precompiler if statements.
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
if ( [[[ UIDevice currentDevice] systemVersiuon] floatValue] > = 4.0 ) {
...something available in 4.0
}
#endif
This precompiler braches should be in there to support multiple devices, no matter the XCode case.
I trying to test my iPhone app on real iPhone device having ios 5.0 restored recently.
Now when i connect iPhone to mac in xcode's organizer it is showing orange dot in front of device. Let me tell you that i m using xcode 3.2.6 with ios sdk 4.3 installed on Mac .
this is message i m getting in organizer.
The version of iOS on “Apple’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 Apple’s iPhone
5.0 (9A334)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3.5 (8L1)
4.3.3 (8J2)
4.3 (8F190)
4.2
4.1
4.0
4.0.2
4.0.1
3.2
3.2.2
3.2.1
here u can check that both os installed on iPhone and Xcode Supported ios versions are same.
so i searched a lot for this and i got only one answer that reboot device as well as machine i tried both but both didn't work for me.
what can be the exact solution for this?
I think it is glitch from Apple. I had 3.2.6 and xCode 4 but then 3.2.6 I installed manually 5.0 (9A334) on the SDK Platform SDK. It will show yellow mark that does not recognizes the device.
Here is What I did
Launch 3.2.6 then go to the organizer. If you see the yellow mark on your iOS 5 device then open Xcode 4 and go to the organizer. From the Xcode 4 you will see the green mark. Now close Xcode 4 and Xcode 3 completely using Command + q button. Re-Launch the Xcode 3.2.6. It now changes to Green mark instead. Hope it fixes your problem.
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.
Xcode 3.2.6 comes with iOS SDK 4.3.
Because of space I had to delete my older Xcode versions, and now I'm stuck with this: How can I run my app on the iOS 4.0 or even 3.2 simulator?
Must I download and install the older iOS SDKs? How can I install them for Xcode 3.2.6 so that they appear as an option for launching?
iOS versions are bundled within the SDK, so yes, you have to install previous versions.
Some "hacks" allows to use previous SDKs accross Xcode versions, but since it changes with Xcode versions, I abandonned that idea to do so...
I strongly suggest/recommend to keep an old device (iPhone 2G, iPod Touch) with a previous iOS version to do some on device testing, that's what I do... and have sometimes surprises with armv6 or slower CPU...
EDIT :
With Xcode 4.0.2 you can run starting at iOS3.2 on iPad, which differs from iOS3.0 and is close to 4.0. From /Developer/Platforms/iPhone(OS|Simulator).platform/Developer/SDKs :
iPhoneSimulator platform:
1003,4 MB iPhoneSimulator4.3.sdk
977,2 MB iPhoneSimulator4.2.sdk
820,6 MB iPhoneSimulator4.1.sdk
749,7 MB iPhoneSimulator4.0.sdk
693,1 MB iPhoneSimulator3.2.sdk
iPhoneOS platform:
358,8 MB iPhoneOS4.3.sdk