Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS: Is there absolutely no way to build for armv6 in Xcode 4.5?

Starting with Xcode 4.5 the possibility of building for armv6 devices is not given anymore (iPhone/iPod touch 1st and 2nd generation). This means no new versions of our app for iPhone 2G and 3G which is very unlucky. Does anyone know if there will be a workaround? I really don´t see any technical reasons for this.

like image 396
Franz van der Steg Avatar asked Sep 18 '12 10:09

Franz van der Steg


2 Answers

You can have multiple versions of xcode installed. In the past, that has been the fix needing to use an older xcode feature.

It is a workaround, and the project files may eventually evolve in a way that no longer supports the older tools, but for the time being, that will allow you to build for older targets.

If you have a single project that you want to work with in both versions of XCode, then you may end up having to manage separate project control files via source control tricks and/or file shuffling.

I would also recommend that project structure changes and binary file management (e.g. Core Data models) happen via the old version, as XCode 4.5 will be backward compatible, but forward compat is rarely assured.

like image 197
Tony K. Avatar answered Oct 07 '22 02:10

Tony K.


There's another solution I found in chpwn blog: Building for armv6 in Xcode 4.5.
This allows you to work with Xcode 4.5 but compile using 5.1 SDK. The downside: you can’t use the iOS 6 SDK when using this trick, and you can’t build for armv7s.

like image 42
Eldad Avatar answered Oct 07 '22 02:10

Eldad