[MonoTouch] Building for different versions of iOS with newest SDK
Nic Wise
nicw at fastchicken.co.nz
Wed Mar 28 13:51:03 UTC 2012
You always build for the latest SDK, tho you can say "minimum version
is this" in the settings of your main project. If you build with the
5.0.1 or earlier SDK, apple will refuse to accept your app.
You need to check the device version before calling iOS5.1-specific methods
https://gist.github.com/2226328
This is the same in Obj-C, you can ask the instance if is responds to
the method you want, and call it if you do. I tend to check the
version instead.
On Tue, Mar 27, 2012 at 22:21, Blackhawk <admin at blackhawktracking.com> wrote:
> I am having trouble figuring out how to build to anything but the latest
> (5.1) build of iOS.
>
> I have the newest xcode which comes with the 5.1 SDK and xcode is able to
> build for older versions of iOS.
>
> On an old project it has 5.0 as an option but says it is not installed even
> though there is all the old revisions in the platforms folder in xcode.
>
> Anyone able to shed some light on this for me?
>
> Cheers
> Mark
>
> --
> View this message in context: http://monotouch.2284126.n4.nabble.com/Building-for-different-versions-of-iOS-with-newest-SDK-tp4510247p4510247.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
--
Nic Wise
t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
More information about the MonoTouch
mailing list