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.
It's not possible to select a deployment target other than iOS 10.3 from the Project -> Properties -> Deployment Target setting.
**Steps to Reproduce:**
Open the Project -> Properties menu for an iOS project
Try to select an older (9.x) deployment target in the drop-down for Deployment Target
No other SDK numbers are available except the latest.
Sometimes, the IDE reports that it's unable to retrieve SDKs from the connected Mac.
Should see a list of previous SDK version numbers. Xamarin Studio still shows this list.
**Build Date & Platform:**
Microsoft Visual Studio Enterprise 2017
Version 15.1 (26403.0) Release
Microsoft .NET Framework
Installed Version: Enterprise
Xamarin 220.127.116.11 (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 18.104.22.168 (b16fb82)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.8.0.174 (7656cc6)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Mac also up-to-date with XI 10.8.0.175 and Xcode 8.3
IDE Logs on VS do not have any errors in them.
Workaround: I was able to manually edit the info.plist for the version I wanted to set as minimum deploy target.
## Suspected to be a regression or a problem with a new feature?
It seems to be a regression. Previous versions did show a drop-down list per the expected behavior.
## Specific to one particular project, development computer, or target mobile device?
No. I was able to confirm with one other user that they noticed the same thing in their different project after updating to 15.1 releases.
## Already took up time for many users?
Unclear. I only have reports from one user at the time of writing.
## Makes development (a) difficult, impossible, or potentially hazardous, (b) moderately inconvenient, or (c) mildly inconvenient for users?
(c). It's possible to workaround this by manually editing the info.plist and not using the Properties menu. (You may be able to manually type in the same value to the Properties menu too).
## Steps followed to do a preliminary local confirmation
1. Create a new "Visual C# > iOS > iPhone > Single View App (iPhone)" project.
2. Right click the iOS app project in the Solution Explorer and select "Properties".
3. Navigate to the "iOS Application" tab.
4. Try to select an older (9.x) deployment target in the drop-down for "Deployment Target".
I can confirm the same behaviour described by John Miller. Under previous version of Xamarin Forms (22.214.171.1245) the 'Deployment target' in project properties contain several versions of iOS (from 7 to 10.3). After upgrade to 126.96.36.199 version 'Deployment target' contain only version 10.3.
This happened in existing project.
I also created new "Visual C# > iOS > iPhone > Single View App (iPhone)" project. Then in project properties I check 'Target deployment' and there was three times 10.3 value only.
Created attachment 21403 [details]
New iOS Xamarin Forms project properties
*** Bug 54986 has been marked as a duplicate of this bug. ***
It gets worse. I suspect that since any non 10.3 version is shown as "iOS SDK not installed", no older simulator can be used.
For example, I have iOS 9.0 simulators which are listed under "Unsupported devices" and when picking one VS shows project properties with Deployment Target field showing 9.0 (I typed the value) and an error text saying that "iOS SDK is not installed" or something like that.
And this is really unfortunate.
After reopening, clicking and god knows what else, it imporved a bit, I guess.
Now the deployment target shows an empty value (even though it is 9.0 in info.plist) and the with the error saying "can't retriever iOS SDK information from Xamarin Mac Agent). However, 9.0 simulators moved from "unsupported" to the normal list. And simulator works. But VS won't deploy the application because of:
Failed to install //Users/miha/Library/Caches/Xamarin/mtbs/builds/iOWebCookies/de0c569e15f0099e49060da351ccb415/bin/iPhoneSimulator/Debug/iOWebCookies.app to 922201C1-AC7A-4B4E-879D-AF1531C2693C. Could not launch the app 'com.companyname.iOWebCookies' on the device 'iOS 9.0 (13A344) - iPhone 4s': The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)
Update: After trying another iOS 9.0 based simulator, it started working - app can be deployed and debugged.
Fixed in version 188.8.131.52 (master)
Commit: 0f99f35504a0832a5dab734a2df9ab601770c4d4 (xamarin/XamarinVS)
Verified the fix in 184.108.40.2069 (de55d19/d15-3) using VS2017 15.3.0 Preview 4 [26705.0.d15rel]. There are deployment targets from the most recent iOS version (10.3 at the time) to 6.0
env info: https://gist.github.com/BenBeckley/745a63945fb1c800a4d0746ca0eb844c