# WebView iOS not working in simulator (terminating with uncaught exception of type uThrowable: Uno.Exception)

**URL:** <https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302>\
**Category:** How-to Discussions\
**Created:** [November 12, 2015, 5:06pm UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302 "2015-11-12T17:06:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben1](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@ben1](https://forums.fusetools.com/u/ben1)\
**Post date:** [November 12, 2015, 5:06pm UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302/1 "2015-11-12T17:06:59Z")

</div>

I have a simple Webview app (code below). I have opened it up in xcode to view in the simulator however I am getting this error:

Loading: fight-f01a2145.png libc++abi.dylib: terminating with uncaught exception of type uThrowable: Uno.Exception

The app just shows Loading Host is loading project

This si my mainview

Any suggestions?

Thanks!

---

<div class="post-metadata">

**Author:** ![Lorents\_Odin\_Gravas](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/lorents_odin_gravas/32/371_2.png) [@Lorents\_Odin\_Gravas](https://forums.fusetools.com/u/Lorents_Odin_Gravas)\
**Post date:** [November 12, 2015, 5:24pm UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302/2 "2015-11-12T17:24:29Z")

</div>

Hi,

Thanks for reporting, we’re looking into this issue.

Does this also happen when exporting the app to iOS (i.e. not preview)?

---

<div class="post-metadata">

**Author:** ![ben1](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@ben1](https://forums.fusetools.com/u/ben1)\
**Post date:** [November 12, 2015, 6:22pm UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302/3 "2015-11-12T18:22:37Z")

</div>

I have not tried exporting. I will try that and update this post.

Thank you!

---

<div class="post-metadata">

**Author:** ![ben1](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@ben1](https://forums.fusetools.com/u/ben1)\
**Post date:** [November 13, 2015, 9:22am UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302/4 "2015-11-13T09:22:07Z")

</div>

Hi There,

I have tried to export the app just now and the build failed. Below is the output.

Defaults-Mac-mini:AppName default$ fuse build --target=iOS --run Connected to fuse daemon

## Building project ‘AppName’, target ‘iOS’

# Configuring

Uno: 0.9.0-OSX Project: /Users/default/Desktop/AppName/AppName.unoproj Packages: UnoCore (0.16.2), Fuse.Designer (0.13.4), Uno.Collections (0.16.2), Uno.Geometry (0.16.2), Uno.Threading (0.16.2), FuseCore (0.13.4), Experimental.Physics (0.13.4), Fuse.Animations (0.13.4), Fuse.Drawing (0.13.4), Fuse.Drawing.Batching (0.13.4), Fuse.Drawing.Meshes (0.13.4), Fuse.Drawing.Planar (0.13.4), Uno.Net.Http (0.16.2), Experimental.Http (0.13.4), Fuse.Triggers (0.13.4), Android (0.16.3), ObjC (0.16.1), Experimental.iOS (0.16.1), Experimental.TextureLoader (0.16.2), Fuse.Elements (0.13.4), Fuse.Drawing.Primitives (0.13.4), Fuse.Drawing.Polygons (0.13.4), Fuse.Drawing.Paths (0.13.4), Fuse.Entities (0.13.4), Fuse.Gestures (0.13.4), Fuse.Navigation (0.13.4), Fuse.Shapes (0.13.4), Fuse.Controls (0.13.4), Fuse.Effects (0.13.4), Fuse.Physics (0.13.4), Fuse.BasicTheme (0.13.4), Fuse.Video (0.13.4), Fuse.Themes (0.13.4), Fuse.Camera (0.13.4), Fuse.Storage (0.13.4), Fuse.Vibration (0.13.4), Fuse.Launcher (0.13.4), Fuse.GeoLocation (0.13.4), Fuse.Scripting (0.13.4), Uno.Data.Json (0.16.2), Fuse.Scripting.Duktape (0.13.4), Fuse.Scripting.JavaScriptCore (0.13.4), Fuse.Scripting.Jurassic (0.13.4), Uno.Net.Sockets (0.16.2), Fuse.Scripting.V8 (0.13.4), Fuse.Reactive (0.13.4), Fuse.Android (0.13.4), Fuse.Desktop (0.13.4), Fuse.iOS (0.13.4), AppName (0.0.0) (3,896.34 ms)

# Parsing source code

(1,624.64 ms)

# Compiling syntax tree

(4,169.43 ms)

# Generating code and data

/Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of namespaces stripped: 316 /Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of types stripped: 4193 /Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of types sealed: 663 /Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of fields stripped: 2830 /Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of functions stripped: 52421 /Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of functions stripped from vtable: 432 /Users/default/Desktop/AppName/AppName.unoproj: MUNKNOWN: Number of functions sealed: 1010 /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(40,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(41,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(42,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(43,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(44,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(45,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(46,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(47,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(48,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(49,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(50,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(51,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(52,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(53,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(54,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(55,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(56,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(57,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(58,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(59,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(60,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus (10,157.07 ms)

Build completed in 19.85 seconds 0 Warning(s) 21 Error(s)

## Error Summary

/usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(40,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(41,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(42,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(43,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(44,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus FATAL ERROR: Build failed. /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(45,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(46,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(47,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(48,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(49,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(50,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(51,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(52,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(53,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(54,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(55,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(56,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(57,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(58,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(59,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus /usr/local/share/uno/Packages/UnoCore/0.16.2/Targets/CPlusPlus/iOS/$.uxl(60,16): EUNKNOWN: An exception was thrown by the type initializer for System.Drawing.GDIPlus

Thank you

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [November 16, 2015, 4:33pm UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302/5 "2015-11-16T16:33:28Z")

</div>

Hey,

Sorry for late reply. I was able to reproduce your last problem, and a fix will soon be released. However I was unable to reproduce your first problem.

Does `fuse preview -t=local` work?

Thank you for reporting.

Emil

---

<div class="post-metadata">

**Author:** ![Andreas\_Ronning](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/andreas_ronning/32/303_2.png) [@Andreas\_Ronning](https://forums.fusetools.com/u/Andreas_Ronning)\
**Post date:** [January 29, 2016, 2:21pm UTC](https://forums.fusetools.com/t/webview-ios-not-working-in-simulator-terminating-with-uncaught-exception-of-type-uthrowable-uno-exception/3302/6 "2016-01-29T14:21:38Z")

</div>

Ben, just for sanity, can you verify that this no longer happens if you remove the `<WebView ... />` from your app?
