Bug 57601 - [mtouch-test] MT0091 and failed : Xamarin.Registrar.NoWarnings
Summary: [mtouch-test] MT0091 and failed : Xamarin.Registrar.NoWarnings
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Infrastructure (internal) ()
Version: XI 10.99 (xcode9)
Hardware: PC Mac OS
: Normal normal
Target Milestone: Xcode9
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-06-19 19:28 UTC by Vincent Dondain [MSFT]
Modified: 2017-06-21 10:36 UTC (History)
2 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-06-19 19:28:33 UTC
These are the tests for the ARKit PR.

https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/4007/Test_Report/MTouch%20tests_248/execute-20170619_140251.txt shows 3 issues with the mtouch-tests.

1) Failed : Xamarin.MTouch.MT0091(tvOS,"tvOS")
The error 'MT0091: This version of Xamarin.iOS requires the tvOS 11.0 SDK (shipped with Xcode 9.0). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).' was not found in the output:
	Message #1 did not match:
		actual:   'This version of Xamarin.iOS requires the tvOS 11.0 SDK (shipped with Xcode 9). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).'
		expected: 'This version of Xamarin.iOS requires the tvOS 11.0 SDK (shipped with Xcode 9.0). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).'
at Xamarin.Tests.Tool.AssertError (System.String prefix, System.Int32 number, System.String message, System.String filename, System.Nullable`1[T] linenumber) [0x00106] in <8470f5d9b77a4a6998f803cd28aff58d>:0
at Xamarin.Tests.Tool.AssertError (System.Int32 number, System.String message, System.String filename, System.Nullable`1[T] linenumber) [0x00001] in <8470f5d9b77a4a6998f803cd28aff58d>:0
at Xamarin.MTouch.MT0091 (Xamarin.Profile profile, System.String name) [0x0012a] in <8470f5d9b77a4a6998f803cd28aff58d>:0

2) Failed : Xamarin.MTouch.MT0091(iOS,"iOS")
The error 'MT0091: This version of Xamarin.iOS requires the iOS 11.0 SDK (shipped with Xcode 9.0). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).' was not found in the output:
	Message #1 did not match:
		actual:   'This version of Xamarin.iOS requires the iOS 11.0 SDK (shipped with Xcode 9). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).'
		expected: 'This version of Xamarin.iOS requires the iOS 11.0 SDK (shipped with Xcode 9.0). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).'
at Xamarin.Tests.Tool.AssertError (System.String prefix, System.Int32 number, System.String message, System.String filename, System.Nullable`1[T] linenumber) [0x00106] in <8470f5d9b77a4a6998f803cd28aff58d>:0
at Xamarin.Tests.Tool.AssertError (System.Int32 number, System.String message, System.String filename, System.Nullable`1[T] linenumber) [0x00001] in <8470f5d9b77a4a6998f803cd28aff58d>:0
at Xamarin.MTouch.MT0091 (Xamarin.Profile profile, System.String name) [0x0012a] in <8470f5d9b77a4a6998f803cd28aff58d>:0

3) Failed : Xamarin.Registrar.NoWarnings
  no warnings
  Expected: not String matching "warning:"
  But was:  "/Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/mtouch/bin/Debug/tmp-test-dir/Xamarin.MTouchTool.CreateTemporaryDirectory298/mtouch-test-cache/registrar.m:32468:17: warning: method 'paymentAuthorizationViewController:didAuthorizePayment:handler:' in protocol 'PKPaymentAuthorizationViewControllerDelegate' not implemented [-Wprotocol]"
at Xamarin.Registrar.NoWarnings () [0x00074] in <8470f5d9b77a4a6998f803cd28aff58d>:0
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-06-20 17:29:08 UTC
https://github.com/xamarin/xamarin-macios/pull/2231