Reputation: 156
I want to build an ios app with Xamarin. This app has to be available on iphone 5c and later. When I installed Visual studio 2017, the sdk (xamarin.ios) installed is 11.14 and I can't build app for arm v7 or 7s because this sdk needs arm 64 ! So ... I can't build an app for my iphone 5c (which have an old 32 bits arm ;-) )
So how can I download sdk prior to v11 to enable arm v7 build? Or is there a method to build ios app with my sdk 11.14 for armv7?
Config : - PC , windows 10, visual studio community 2017 (15.7.4) - Mac book pro 2017, High sierra (10.13.5), xcode 9.4.1
Thanks, Luc
Upvotes: 2
Views: 624
Reputation: 2718
With iOS11 you cannot build applications for devices running only on a 32-bit architecture.
At WWDC17 they clearly said:
Support for 32-bit apps is not available in iOS 11 and all 32-bit apps previously installed on a user’s iOS device will not launch.
Your option to downgrade your Xamarin.iOS would allow you to have an armv7s (iPhone 5 & co) as a supported architecture but you would get your application rejected during the approval phase since it should support as well a 64-bit platform.
The solution is to enable with your current configuration the support of older architecture and the newer one, having a lower MinOSVersion
to at least iOS 9 and a supported architecture ARMv7 + ARM64
Upvotes: 7