I have been using Xamarin for different projects several times over the last few years and in general 'I like it'. But every time again it is so damned difficult to get all the pieces hooked up. I wanted to look at the OneSignal SDK. So I installed it. As I had not used the mac for some time. I had to upgrade to HighSierra and updated all to the latest version of Mac Visual Studio. I setup the remote login. Then from Visual Studio on Windows, I connect Xamarin to the Mac, successfully.
But anytime I compile the IOS part of the solution I get these errors:
0: ------- Project started: Com.OneSignal.Android
1: ------- Project started: OneSignal.iOS.Binding
1: Warning C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Windows.After.targets (63,5) VSX1000: No Address and User has been specified in order to establish a connection to a Mac Server, so only the main assembly was compiled for project 'OneSignal.iOS.Binding'. Connect to a Mac Server and try again to build the full application.
1: Warning C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.ObjCBinding.Common.targets (70,3): There is no available connection to the Mac, hence the task Xamarin.MacDev.Tasks.CollectBundleResources will not be executed
1: Warning C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.ObjCBinding.Common.After.targets (27,3): There is no available connection to the Mac, hence the task Xamarin.iOS.Tasks.GetPropertyValue will not be executed
1: Warning C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.ObjCBinding.Common.After.targets (36,3): There is no available connection to the Mac, hence the task Xamarin.iOS.Tasks.GetPropertyValue will not be executed
1: Warning C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.ObjCBinding.Common.After.targets (45,3): There is no available connection to the Mac, hence the task Xamarin.iOS.Tasks.GetPropertyValue will not be executed
1: Error C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets (58,3) MSB4044: **The "BTouch" task was not given a value for the required parameter "BTouchToolPath". **
The connection is up as far as I can see.
In the IDE log file I see this:
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting connection to '192.168.1.192'...
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from ConnectingState to SshConnectedState on 192.168.1.192 (192.168.1.192)
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|SSH connection to '192.168.1.192' has been established...
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from SshConnectedState to AgentsStartingState on 192.168.1.192 (192.168.1.192)
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting registered Agents: Build 4.8.0.757, IDB 4.8.0.757...
System.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs36236Ben - Dispatching SubscribeAck message to flow ClientSubscribeFlow
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting Xamarin agent: Build 4.8.0.757...
Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting Xamarin agent: IDB 4.8.0.757...
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Agent Build 4.8.0.757...
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Agent IDB 4.8.0.757...
Xamarin.VisualStudio.UnhandledExceptionsManager|Error|0|An unhandled error occurred. Details: Sequence contains no elements.
System.InvalidOperationException: Sequence contains no elements.
at System.Reactive.Subjects.AsyncSubject`1.GetResult()
at Xamarin.VisualStudio.iOS.DocSync.DocumentationService.d__7.MoveNext() in C:\d\lanes\5409\7f9ec2a0\source\xamarinvs\src\Core\VisualStudio.IOS\DocSync\DocumentationService.cs:line 52
And I other log files I see so many errors that I wonder how usefull these log files are. But I am more then happy to post them here.
Any help really appreciated
Thanks
Ben