Application Crash with "Method not found: 'MonoMac.Foundation.NSObject.InitializeHandle'."

Hello,

I am working on Xamarin Mac project. In my project I am using a third party library and that is working fine for me. Today I checked out that same code on different mac and tried to run the project in debug mode. But the app crashed with error "Method not found: 'MonoMac.Foundation.NSObject.InitializeHandle'." on the runtime. I am not able to find out why the same code and library is working on one mac and not working on other.

My trial

But that don't help me and started giving error: > Error MM0008: You should provide one root assembly only (MM0008)

as @chamons‌ suggested at https://forums.xamarin.com/discussion/17973/listview-system-missingmethodexception-method-not-found

--linkskip=VALUE Skip linking of the specified assembly

--linkskip is an invalid setting unless you give it an assembly, such as --linkskip=foo.exe

I am not sure what exe I should use in this command. In the line where app crash I am using constructor of third party Library "OSXFuse" and the same code is running on one of my other mac.

Thanks
Vishnu Sharma

Posts

  • vishnusharma.8852vishnusharma.8852 USMember ✭✭

    Hello everyone,
    The issue was resolved for me, I just switched to Beta channel and updated the Xamarin.

    Now I have

    Xamarin Studio
    Version 5.2 (build 379)
    Installation UUID: *************************************
    Runtime:
    Mono 3.6.0 ((no/c46cf0e)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 306000038
    

    Apple Developer Tools
    Xcode 5.1.1 (5085)
    Build 5B1008

    Xamarin.iOS
    Version: 7.2.6.22 (Enterprise Edition)
    Hash: b983743
    Branch:
    Build date: 2014-07-13 20:15:09-0400

    Xamarin.Android
    Version: 4.14.0 (Enterprise Edition)
    Android SDK: /Users/vishnu/Development/adt-bundle-mac-x86_64-20140321/sdk
    Supported Android versions:
    2.2 (API level 8)
    4.4 (API level 19)
    Java SDK: /usr
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

    Xamarin.Mac
    Version: 1.8.1.4

    Build Information
    Release ID: 502000379
    Git revision: e797f287ff084be87a252fec5fcc1c79c53bd422
    Build date: 2014-07-15 03:41:44-04
    Xamarin addins: e40cad220f133f3ced5a76d33649afee4d1358c1

    Operating System
    Mac OS X 10.9.3
    Darwin vishnus-MacBook-Air.local 13.2.0 Darwin Kernel Version 13.2.0
    Thu Apr 17 23:03:13 PDT 2014
    root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64

    And no run time crash in app Now.

    Thanks
    Vishnu Sharma

Sign In or Register to comment.