xcode 4.6 can't show deployment target 4.2 - iphone

i have xcode 4.6.It show deployment target upto 4.3.
i want to use 4.2 but it can't show.
what's step for it.
What's problem?

Xcode 4.6 and iOS 6 do not support iOS 4.2 and/or ARMv6. (ARMv6 devices being iPhone 1st and 3G and the iPod Touch 1g and 2g)
Since all devices that have an ARMv7 are able to run iOS 5 you should set you minimum to 4.3 or if possible iOS 5.0.

Related

armv7 and xcode 4.5

I just sent my app to itunes using xcode 4.5 The app is compatible with iphone 3.5 screen and 4 screen. And with the iPad. When I go to binary details it says this:
Supported Architectures : armv7
Whats this mean? Will my app be compatible with all iPhones? Because it should work in any iphone model or ipad model. If no, how can I make it compatible with all devices (adding other architectures?)
Your app will run on the 3GS and later devices, assuming they meet your deployment target operating system version. To run on earlier devices, you need to build for ARM v6 as well, something I'm not sure you can do in Xcode 4.5.
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.
Interesting question, to avoid opening another similar question, what happen if I build my app for submission with armv6, armv7 architectures, iOS6 sdk, xCode 4.5 and deployment target 4.3?
I currently have armv6,armv7 Build settings under Architectures. Screenshot
With these settings I can successfully build and install my app to iPhone4,iPad3 devices and archive for Ad-hoc distribution without any warning about armv6.
Stefano

xcode 4.5 runs ios 4.0 simulator (NOT)

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....

how to cchange os of app in xcode from 4.3 to 4.0 to work on ipad

I have built app on os 4.3 and my device has 4.2.1 so how can set in xcode 4.0 so that it may run on my device i am using xcode 3.2.6 and ios sdk 4.3
set the iOS Deployment Target (in the build Target settings) to the oldest SDK you want the app to be compatible with.

Why my XCode 4.2 ask to download iOS 3.2/4.0 Simulator even though I have XCode 3.2 version installed with those simulators?

Does different versions of XCode needs different installation of Simulators??
I mean if I have
XCode 3.2
iOS 3.2 Simulator
iOS 4.0 Simulator
XCode 4.0
iOS 3.2 Simulator
iOS 4.0 Simulator
XCode 4.2
iOS 3.2 Simulator
iOS 4.0 Simulator
iOS 5.0 Simulator
Why does one simulator works for all newer versions of XCode?
The updated XCode 4.2 simulator includes support for many previous operating system versions. The older (XCode 3.2) simulator does not include support for the newer operating system versions supported by the XCode 4.2 simulator. Therefore in order to simulate newer operating system versions you need the newer simulator.

Is It Possible to Build To iOS 5 Devices from XCode 4.1 or 4.0.2?

XCode 4.2/iOS 5 SDK has broken some frameworks that I depend on to support external MIDI hardware accessories in my app. My app that I built with 4.0.2 works fine on my iPhone 4 running iOS 5 when installed from the store, so I uninstalled XCode 4.2 and downgraded to XCode 4.0.2. But now I can't build to my iOS 5 devices -- the Organizer says the version is unsupported. Is there some way to trick XCode 4.0.2 or 4.1 into building onto a device running 5.0?
Use Xcode 4.2 and make sure that the iOS4 SDK is installed, then set the "Base SDK" build property to that version. I'm pretty sure that building iOS5 apps with Xcode 4.1/4.0 is going to be a world of pain.
I discovered that you can compile and debug on iOS 5 devices even using XCode 3.2. You won't have iOS 5 simulator though. <-- doesn't work with iPhone 4S