Forum Xamarin.Forms

iOS XAML previewer not working with VS Mac 7.3 (build 979)

JonasRembrattJonasRembratt SEUniversity ✭✭✭
edited December 2017 in Xamarin.Forms

Since I upgraded, two days ago, to the latest version of Visual Studio for Mac the XAML previewer no longer renders for iOS (Android still works), This is the stack trace it renders instead:

System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Exception of type 'Foundation.NSErrorException' was thrown. at MonoTouch.Hosting.SlimSession.LaunchApplicationImpl (System.String bundleId, System.String[] arguments) [0x001a9] in <8a34bfb579844fbaa8516068fec2ce02>:0 at MonoTouch.Hosting.Session.LaunchApplication (System.String bundleId, System.String[] arguments) [0x00006] in <8a34bfb579844fbaa8516068fec2ce02>:0 at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x0017d] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:313 --- End of inner exception stack trace --- at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001d0] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:323 at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00056] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:271 at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:219 at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:241 at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:109 at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__24_0 () [0x00000] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:114 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:680 at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2159 at System.Threading.Tasks.Task1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:562 at System.Threading.Tasks.Task1[TResult].get_Result () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:532 at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass265_11[TResult].<EnsureSession>b__1 (System.Threading.Tasks.Task1[TResult] t) [0x00012] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1858 at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/TaskContinuation.cs:207 at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2159 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:3189 at System.Threading.Tasks.Task.Wait () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:3054 at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass265_01[TResult].<EnsureSession>b__0 () [0x002bb] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1919 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:680 at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:357 at Xamarin.Designer.Forms.Preview.iOSXamlRenderer+<RenderXamls>d__2.MoveNext () [0x001ed] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/iOS/iOSXamlRenderer.cs:56 ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Exception of type 'Foundation.NSErrorException' was thrown. at MonoTouch.Hosting.SlimSession.LaunchApplicationImpl (System.String bundleId, System.String[] arguments) [0x001a9] in <8a34bfb579844fbaa8516068fec2ce02>:0 at MonoTouch.Hosting.Session.LaunchApplication (System.String bundleId, System.String[] arguments) [0x00006] in <8a34bfb579844fbaa8516068fec2ce02>:0 at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x0017d] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:313 --- End of inner exception stack trace --- at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001d0] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:323 at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00056] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:271 at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:219 at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:241 at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:109 at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__24_0 () [0x00000] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:114 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:680 at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2159 at System.Threading.Tasks.Task1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:562 at System.Threading.Tasks.Task1[TResult].get_Result () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:532 at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass265_11[TResult].<EnsureSession>b__1 (System.Threading.Tasks.Task1[TResult] t) [0x00012] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1858 at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/TaskContinuation.cs:207 at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502 ---> (Inner Exception #0) MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Exception of type 'Foundation.NSErrorException' was thrown. at MonoTouch.Hosting.SlimSession.LaunchApplicationImpl (System.String bundleId, System.String[] arguments) [0x001a9] in <8a34bfb579844fbaa8516068fec2ce02>:0 at MonoTouch.Hosting.Session.LaunchApplication (System.String bundleId, System.String[] arguments) [0x00006] in <8a34bfb579844fbaa8516068fec2ce02>:0 at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x0017d] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:313 --- End of inner exception stack trace --- at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001d0] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:323 at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00056] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:271 at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:219 at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:241 at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:109 at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__24_0 () [0x00000] in /Users/vsts/agent/2.124.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:114 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:680 at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502

Tagged:

Answers

  • I'm have the same issue with the XAML previewer after updating to VS 7.3

    macOS 10.13.2

    --
    --- End of inner exception stack trace ---
    at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001d0] in /Users/vsts/agent/2.126.0/work/3/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:323
    ....

    <---

  • abhishabdabhishabd USMember ✭✭

    hello ,

    I am facing same issue.

    i am using visual studio 7.3.2

    xcode 9.2

    i tried multiple way but there is no any solution..

    please provide solution .

    thanks in advance

  • Having the same problem above.

    I am upgrading an existing Xamarin Android/iOS project that only came with source. It does not use Xamarin.Forms

    Downloaded the latest tools (see environment below)

    The project will build/run/deploy to both older android/iOS devices no problem.

    I am using Visual Studio for Mac on a mac laptop to deal with xcode since both VSFM and VSPC won't
    display the main storyboard.

    I am trying to modify the iOS project to add new buttons and or views by clicking the main story board, an error just like above appears in the Visual Studio for Mac ide and prompts me to "open using xcode", which works ...
    but ....
    I am new to xcode, and also trying to add views and map views to controllers.

    Thes ides are autogenerating all kinds of code, so trying to HACK the main storyboard to link up classes generated by the designer (if it WORKED) is a no go.

    What "server" is Visual Studio for Mac trying to connect to and why doesn't the VSFM IDE deal with this issue more
    gracefully. Did I not install something and configure it correctly?

    What's this error about ???

    [2017-12-21 14:27:20.1] ERROR: EnsureSession (counter 3): System.AggregateException: One or more errors occurred. ---> MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Exception of type 'Foundation.NSErrorException' was thrown.
    at MonoTouch.Hosting.SlimSession.LaunchApplicationImpl (System.String bundleId, System.String[] arguments) [0x001a9] in <4b0ff012f0264d809dcbfda9d4333acb>:0
    at MonoTouch.Hosting.Session.LaunchApplication (System.String bundleId, System.String[] arguments) [0x00006] in <4b0ff012f0264d809dcbfda9d4333acb>:0
    at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x0017d] in /Users/vsts/agent/2.126.0/work/3/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:313

    Could this be a user account permissions install issue?

    Guys at Xamarin (Microsoft) GET IT TOGETHER PLEASE


    === Visual Studio Community 2017 for Mac ===

    Version 7.3.2 (build 12)
    Installation UUID: 37dd0e4d-583c-413d-901a-3c7b38ebcd99
    Runtime:
    Mono 5.4.1.7 (2017-06/e66d9abbb27) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 504010007
    

    === Apple Developer Tools ===

    Xcode 9.2 (13772)
    Build 9C40b

    === Xamarin.iOS ===

    Version: 11.6.1.2 (Visual Studio Community)
    Hash: 6857dfcc
    Branch: xcode9.2
    Build date: 2017-12-04 21:20:41-0500

    === Xamarin Inspector ===

    Version: 1.3.2
    Hash: 461f09a
    Branch: 1.3-release
    Build date: Tue, 03 Oct 2017 18:26:57 GMT
    Client compatibility: 1

    === Xamarin.Mac ===

    Version: 4.0.0.214 (Visual Studio Community)

    === Build Information ===

    Release ID: 703020012
    Git revision: 7d0c9d7ad46b125cf4b7bbf9532c0531b6433ce6
    Build date: 2017-12-12 14:03:18-05
    Xamarin addins: 6dddaa49fbecb2695fcdcd6b712eb269e288518c
    Build lane: monodevelop-lion-d15-5

    === Operating System ===

    Mac OS X 10.13.2
    Darwin 17.3.0 Darwin Kernel Version 17.3.0
    Thu Nov 9 18:09:22 PST 2017
    root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64

  • MageHDMageHD Member

    Same issue as well. Mac is reporting a previewer crash every 5 seconds.

  • StephensinclairStephensinclair USMember ✭✭

    Same here. breaks every 5 minutes. Grown dependant on this feature. below is the details of the env.

    Visual Studio Community 2017 for Mac
    Version 7.3.3 (build 5)
    Installation UUID: XXXXXXXXXXXXXXXXXXXXXXXXX
    Runtime:
    Mono 5.4.1.7 (2017-06/e66d9abbb27) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 504010007
    

    NuGet
    Version: 4.3.1.4445

    .NET Core
    Runtime: /usr/local/share/dotnet/dotnet
    Runtime Versions:
    2.0.0
    1.1.1
    1.0.4
    SDK: /usr/local/share/dotnet/sdk/2.0.0/Sdks
    SDK Versions:
    2.0.0
    1.0.3
    MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

    Xamarin.Profiler
    Version: 1.6.0
    Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

    Xamarin.Android
    Version: 8.1.3.0 (Visual Studio Community)
    Android SDK: /Users/XXXXXXXXX/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
    4.0.3 (API level 15)
    4.4 (API level 19)
    6.0 (API level 23)
    7.0 (API level 24)
    7.1 (API level 25)

    SDK Tools Version: 25.2.5
    SDK Platform Tools Version: 25.0.5
    SDK Build Tools Version: 23.0.1

    Java SDK: /usr
    java version "1.7.0_71"
    Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

    Android Designer EPL code available here:
    https://github.com/xamarin/AndroidDesigner.EPL

    Apple Developer Tools
    Xcode 9.2 (13772)
    Build 9C40b

    Xamarin.iOS
    Version: 11.6.1.3 (Visual Studio Community)
    Hash: f70a1348
    Branch: xcode9.2
    Build date: 2017-12-18 14:47:16-0500

    Xamarin.Mac
    Version: 4.0.0.215 (Visual Studio Community)

    Xamarin Inspector
    Version: 1.4.0
    Hash: b3f92f9
    Branch: master
    Build date: Fri, 19 Jan 2018 22:00:34 GMT
    Client compatibility: 1

    Build Information
    Release ID: 703030005
    Git revision: b1c2982e201e71ef758866c9ade05f253a8c6f47
    Build date: 2017-12-21 11:04:40-05
    Xamarin addins: f397ddfbacfb39e60c9cc8d9e410f73faf8c2cbc
    Build lane: monodevelop-lion-d15-5

    Operating System
    Mac OS X 10.13.1
    Darwin 17.2.0 Darwin Kernel Version 17.2.0
    Fri Sep 29 18:27:05 PDT 2017
    root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64

    Enabled user installed addins
    Internet of Things (IoT) development (Preview) 7.1

  • Has anyone found a resolution to this issue?

  • icalderondicalderond USMember ✭✭

    @JengisRoundrock said:
    Has anyone found a resolution to this issue?

    X2

  • Roy_QARoy_QA Member ✭✭

    I found a workaround. You need to use Xamarin.Forms Version 4.5.0.356 in your projects.

    Here are the steps:
    1. Uninstall XCode from your Mac by removing the following folders:

    • /Applications/Xcode.app
    • /Library/Preferences/com.apple.dt.Xcode.plist
    • ~/Library/Preferences/com.apple.dt.Xcode.plist
    • ~/Library/Caches/com.apple.dt.Xcode
    • ~/Library/Application Support/Xcode
    • ~/Library/Developer/Xcode
    • ~/Library/Developer/CoreSimulator
    1. Install XCode again through the App Store.
    2. Open Visual Studio (Windows 10) and try to preview your page. You'll get the following error message, go ahead and install the new version:
    3. If you try to preview again, you'll get the error message:
      Could not load the file 'Xamarin.Forms.Platform.iOS'
    4. In the Visual Studio menu, choose Tools > NuGet Package Manager > Manage NuGet Packages for Solution
    5. Click on the Updates tab, select all packages and click Update.
    6. Once the updates are done, click on the Installed tab, highlight Xamarin.Forms.
    7. On the Xamarin Forms pane (on the right), select all projects, then click Uninstall (you probably have v4.6.0.726 or higher). In the Version dropdown select 4.5.0.356 and click Install.
    8. Save and build your projects, and then try to preview your pages again.

    Hope that helps.

Sign In or Register to comment.