Been struggling to create bindings for  MapBox
<https://github.com/mapbox/mapbox-ios-sdk>  

Created a binding project (attached).
MapBoxBindings.zip
<http://monotouch.2284126.n4.nabble.com/file/n4657589/MapBoxBindings.zip>  

Set up binding code, including the linkwith.cs file:

    [assembly: LinkWith ("libMapView.a", LinkTarget.ArmV7 |
LinkTarget.Simulator, 
                     Frameworks = "CoreFoundation CoreLocation QuartzCore
UIKit Foundation CoreGraphics", 
                     LinkerFlags = "-lz -lsqlite3", ForceLoad = true, IsCxx
= true)]

When I build my project with the iPhoneSimulator configuration, I get:

    missing required architecture i386 in file
/var/folders/0t/z2shp7y529d6zp4_ynqrq6180000gn/T/tmpaa7bdd3.tmp/libMapView.a
(2 slices)

When I build it with the iPhone configuration, it builds. But when running
it crashes after executing a few lines of related code...nasty stack trace
etc.

I'm guessing there may be two different problems here. But I'm looking for
any ideas/gotchas folks might have. I've reviewed various posts on creating
bindings and tracking down dependencies etc. Obviously I haven't gotten it
all sorted out yet... Any ideas would be appreciated!

Thanks!

Dennis




--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Bindings-for-MapBox-tp4657589.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to