Bug 46614 - WatchConnectivity samples fails to build with xbuild
Summary: WatchConnectivity samples fails to build with xbuild
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: XI 10.4 (C9)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rustam Zaitov
Depends on:
Reported: 2016-11-08 20:31 UTC by Ankit Jain
Modified: 2016-12-23 13:17 UTC (History)
4 users (show)

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

watch-xbuild.log (339.43 KB, text/plain)
2016-11-08 20:31 UTC, Ankit Jain

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 Ankit Jain 2016-11-08 20:31:38 UTC
Created attachment 18388 [details]

Sample https://github.com/xamarin/ios-samples/blob/master/watchOS/WatchConnectivity/WatchConnectivity.sln

/Users/ankit/dev/ios-samples/watchOS/WatchConnectivity/WatchConnectivity.sln (default targets) ->
(Build target) ->
/Users/ankit/dev/ios-samples/watchOS/WatchConnectivity/WatchConnectivity.OnWatchExtension/WatchConnectivity.OnWatchExtension.csproj (default targets) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CompileToNative target) ->

        MTOUCH: error MT2015: Invalid HttpMessageHandler `HttpClientHandler` for watchOS. The only valid value is NSUrlSessionHandler.

$ mono --version
Mono JIT compiler version 4.8.0 (mono-4.8.0-branch/e51aa0a Fri Oct 28 11:48:43 EDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           normal
        SIGSEGV:       altstack
        Notification:  kqueue
        Architecture:  x86
        Disabled:      none
        Misc:          softdebug
        LLVM:          yes(3.6.0svn-mono-master/8b1520c)
        GC:            sgen

Version: (Xamarin Business)
Hash: 120ecb5
Branch: cycle9
Build date: 2016-11-07 15:25:09-0500
Comment 1 Sebastien Pouliot 2016-11-08 20:40:37 UTC
That's a new check on C9.
Comment 2 Ivan Herrera 2016-12-20 15:38:34 UTC
Giving it a look
Comment 3 Ivan Herrera 2016-12-23 13:17:11 UTC
Works flawless on C9