Bug 32839 - GKGraph and GKGraphNode2D bindings don't seem to initialize properly
Summary: GKGraph and GKGraphNode2D bindings don't seem to initialize properly
Status: RESOLVED DUPLICATE of bug 32760
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 8.99 (iOS9 previews)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2015-08-06 15:08 UTC by Larry O'Brien
Modified: 2015-08-06 20:17 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Larry O'Brien 2015-08-06 15:08:59 UTC
If one attempts to create a new `GKGraph` or `GKGraphNode` with a constructor, one receives the "Could not create a native instance of the type {X}: the native class hasn’t been loaded.” message. If one uses the static factory methods, GKGraphNode2D.FromPoint() or GKGraph.FromNodes() they return null:

                        var a = GKGraphNode2D.FromPoint (new Vector2 (0, 5));

			var graph = GKGraph.FromNodes(new [] { a });
Comment 1 Sebastien Pouliot 2015-08-06 15:14:55 UTC
Only on simulator ? or on device too ?

That sounds like something I fixed after the last preview... what's your exact version of XI ?
Comment 2 Larry O'Brien 2015-08-06 15:29:58 UTC
Ah ha! Simulator only (I should have known from the "Could not create ..." message. 


Xamarin Studio
Version 5.9.4 (build 5)
Installation UUID: 36314227-811f-4808-b811-644922ae7081
	Mono 4.0.2 ((detached/c99aa0c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020005

Apple Developer Tools
Xcode 7.0 (8178.7)
Build 7A165t

Version: (Business Edition)
Hash: 651527a
Branch: master
Build date: 2015-07-27 12:27:47-0400
Comment 3 Sebastien Pouliot 2015-08-06 20:17:57 UTC
Yeah, the default (prebuilt) simlauncher was not linked with that new framework.

You need to have the fix (or do something that cause the launcher to be rebuilt, e.g. enabling the linker, native libraries...)

*** This bug has been marked as a duplicate of bug 32760 ***