Bug 51772 - MT5211 has misleading error message to use registrar:oldstatic
Summary: MT5211 has misleading error message to use registrar:oldstatic
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.4 (C9)
Hardware: PC Windows
: --- normal
Target Milestone: (C10)
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2017-01-25 18:43 UTC by John Miller [MSFT]
Modified: 2017-01-26 14:29 UTC (History)
2 users (show)

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:

Description John Miller [MSFT] 2017-01-25 18:43:22 UTC

An MT5211 error states the following:

MTOUCH: Error MT5211: Native linking failed, undefined Objective-C class: SBConnectionString. The symbol '_OBJC_CLASS_$_SBConnectionString' could not be found in any of the libraries or frameworks linked with your application. (MT5211) (Demo.iOS)

If you can't modify the third-party binding, build your project with the legacy static registrar by adding --registrar:oldstatic to the additional mtouch arguments in the project's iOS Build options page. 

**Actual Results:**

The message says to use "--registrar:oldstatic"
**Expected Results:**

According to the docs:

> https://developer.xamarin.com/guides/ios/advanced_topics/registrar/#Selecting_a_registrar

The proper usage in the message should be:

**Build Date & Platform:**

Comment 1 Rolf Bjarne Kvinge [MSFT] 2017-01-26 06:24:36 UTC