Bug 60534 - Should have the equivalent of MT0073 (doesn't support minimum deployment target) for MMP
Summary: Should have the equivalent of MT0073 (doesn't support minimum deployment targ...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: mmp ()
Version: Master
Hardware: PC Mac OS
: --- normal
Target Milestone: Future Cycle (TBD)
Assignee: Timothy Risi
URL:
Depends on:
Blocks:
 
Reported: 2017-11-06 18:58 UTC by Vincent Dondain [MSFT]
Modified: 2018-02-13 20:10 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 or GitHub 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.

Related Links:
Status:
RESOLVED FIXED

Description Vincent Dondain [MSFT] 2017-11-06 18:58:40 UTC
With Xamarin.iOS if your deployment target is bellow the minimum we currently support (https://github.com/xamarin/xamarin-macios/blob/master/Versions-ios.plist.in#L9) you get this:

`MTOUCH : error MT0073: Xamarin.iOS 11.5.0 does not support a deployment target of 4.0 for iOS (the minimum is 6.0). Please select a newer deployment target in your project's Info.plist.`. -> https://developer.xamarin.com/guides/ios/troubleshooting/mtouch-errors/#MT0073

We need the same behavior in Xamarin.Mac.

Steps to repro:

- Create a new Mac app.
- Remove the storyboard file.
- Open the Info.plist and set the deployment target manually to 10.4.
- Try to build.

Expected:

We shouldn't build and give an error like MTouch.

Current behavior:

It's building without any error.

https://gist.github.com/VincentDondain/8ddfc421e5a7ba0e26f721d9b45de606
Comment 1 Timothy Risi 2017-12-20 19:14:31 UTC
https://github.com/xamarin/xamarin-macios/pull/3122
Comment 2 Sebastien Pouliot 2018-02-13 20:10:09 UTC
This was merged a while ago
https://github.com/xamarin/xamarin-macios/commit/6ff74c585487d01437905f00db5a7967a9899dad