Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Although iOS version 5.1.1 is noted as the final build of iOS 5, and the last build support for the iPad (1st generation) and the iPod touch (3rd Generation), you can not select that as a deployment target with the drop down menu for Deployment Target, though you can enter it manually. 5.2 is available as an option but my research shows that there never was a released iOS 5.2 version. However when manually entering 5.1.1 as the Deployment Target, and iOS 5.1.1 devices, like the iPad 1, will not appear in the device selection list. But with 5.1 set as the Deployment Target, the following error is received on build:
>Error 1: The minimum deployment target for Unified applications is 5.1.1, the current deployment target is '5.1'. Please select a newer deployment target in your project's iOS Application options. Playground-iOSUniversal
See also description by customer in private comment below.
## Additional note:
In Xamarin Studio on the Mac, I was able to build with the deployment target set to 5.1, unlike in VS where an error is thrown saying the minimum Deployment Target for the Unified API is 5.1.1, and it also deployed to the simulator. However I did not have an iOS 5.x device or simulator available to test this issue fully.
Can confirm that I was able to get it to build and deploy using Xamarin Studio on the Mac :-)
From my perspective that's all I need, thanks!
TL&DR: iOS 5.1.1 is supported by Xamarin unified apps (see note for the special case it represent).
I confirmed  our test apps were working on my 5.1.1 device last week using XS. So that definitively works with XI 8.6 and XS 5.7.
I'm not home (no 5.1.1 device with me) this week but:
a) XS does not show 5.1 (it shows 5.2 which, you're right, does not exists). OTOH such builds will work (see note) and deploy if you set the value to 5.1.1 manually;
b) I do not have XVS and comment #1 seems to indicate a Windows computer with VS. That could be a different issue (and maybe that's the case where deploy fails?).
Note: Even for Apple iOS 5.1.1 builds are special. Deploy won't work  for a fat (32/64bits) app on them. You can submit them and Apple will modify the package so it will work fine on the app store. If you want to debug/test it then you need to switch to an armv7 (only) build. This is normal (and happens for ObjC apps as well ) as 64bits support did not exists when 5.1.1 was released.
@Jon it will likely be faster if you could file two separate bugs, one for XS (a) and one for XVS (b) and make them point back to this bug for more information.
 See desk case #117667
 it will fail when installing the app. Apple's `installd` will crash on the device.
Well it seems to only be a bug on VS, well except for the 5.2 version in the list, but at least on XS one can deploy to an iOS 5.1.1 device. So perhaps just change this to a XVS bug?
@Jon maybe, if XVS has 5.2 too then c.c. jeff and add a note that XS shows that version as well (and miss 5.1.1)
Moving to Visual Studio iOS extension.
XVS does indeed show the 5.2 iOS version in the Deployment Target dropdown and is missing the 5.1.1 version. When 5.1.1 is entered manually, devices that are using iOS version 5.1.1 (iPad 1) are not showing in the device list. When 5.1 is selected, the 5.1.1 devices will show but can not build due to the error that 5.1.1 is the minimum deployment target allowed for Unified iOS apps, so the end result in Visual Studio is that an iOS Unified project can not be launched to a 5.1.1 device.