tdflow.blogg.se

Visual studio for mac isn't allowing me to open storyboard
Visual studio for mac isn't allowing me to open storyboard











visual studio for mac isn

I have checked this issue and able to reproduce it by following the steps mention in bug description with the help of attached sample.įoundation.MonoTouchException: Objective-C exception thrown. I believe this bug is especially relevant for F# because, currently, Xcode is the only effective way to create storyboard files that contain actions.

#Visual studio for mac isn't allowing me to open storyboard code

In XS, delete the customModule="Xcode" attribute in the storyboard source code and save.Ĩ. Open the XamarinStudio.sln solution in Xamarin StudioĦ. It contains both a XS and an Xcode projects sharing the same storyboard.ġ. The problem is every time I save the storyboard in Xcode the "customModule" attribute is there again. The error above shows that the value of this attribute is combined with the view controller name.

visual studio for mac isn

"XamarinStudio Unknown class _TtC5Xcode14ViewController in Interface Builder file."Īfter some head-scratching I discovered that the problem originates in the XML tag within the storyboard file, in particular, removing the attribute:įixed the issue. I also get the following error in the Application Output window: Name: NSUnknownKeyException Reason: : this class is not key value coding-compliant for the key label."Īt (IntPtr ns_exception) in /Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.cs:156Īt _ns_exception (IntPtr exc) in /Developer/MonoTouch/Source/maccore/runtime/:100Īt (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)Īt (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string,intptr,intptr)Īt (System.String args, IntPtr principal, IntPtr delegate) in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62Īt (System.String args, System.String principalClassName, System.String delegateClassName) in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:46Īt (System.String args) in /Users/fabio/Desktop/StoryboardCompatibilityTest/XamarinStudio/Main.cs:17 Now I want to use that very storyboard in Xamarin Studio with Xamarin.iOS but when I try to run the F# (or C#) project I get the following exception: I've set-up a Swift project in Xcode 6.1 where I defined an outlet and an action within a storyboard.













Visual studio for mac isn't allowing me to open storyboard