Skip to main content

All Questions

0 votes
0 answers
613 views

Getting could not create an native instance of the type 'JumioNetverifyBinding.NetverifyConfiguration' the native class hasn't been loaded exception

I am trying to bind Jumio Natverify library in Xamarin iOS project by creating Objective c library project. I have crated ApiDefination.cs and Struct.cs file data using sharpie tool. But when I am ...
Divyesh's user avatar
  • 2,427
1 vote
1 answer
297 views

How to set scope properly in Sharpie?

I want to bind some objective-c code using sharpie. I have some .h and .m files inside /Users//Documents/binding/InfColorPicker/InfColorPicker. My sharpie command looks like this sharpie bind -output=...
Randi's user avatar
  • 717
2 votes
0 answers
224 views

iOS native library Xamarin binding

The problem has already been discussed earlier, but I got it after the update in September. Environment: the latest vs studio for mac, all the frameworks are updated, I also tried to switch to the ...
vanilla69's user avatar
0 votes
2 answers
142 views

iOS binding project builds but not usable

I have been working on creating a binding project for an iOS SDK for the last week or so. I have gone through the steps in the Xamarin Developer guides walkthrough, I created the .a library on the Mac ...
Stephen W's user avatar
1 vote
1 answer
54 views

Binding Obj C to Xamarin project sharpie issue

I'm trying to bind a native Objective-C SDK to my Xamarin project. I follow this tutoriel : Walkthrough: Binding an iOS Objective-C Library Everything work till : Using Objective Sharpie. I generated ...
Rodrigue Mullier's user avatar
0 votes
1 answer
40 views

Xamarin obj-c binding when having other .h file referred in it

I am confused when working with Xamarin obj-c bindings, Lets say if I am having a single .h file then its just an happy path when creating binding. But when a .h file is referenced with another .h in ...
Dheeraj Kumar Gunti's user avatar
1 vote
1 answer
546 views

How to bind Objective-C library with protocol and interface have same name

I'm binding a iOS SDK. But the Sharpie confused about this @interface ALBBQuPaiService : NSObject<ALBBQuPaiService> The last ALBBQuPaiService is @protocol ALBBQuPaiService I have tried to ...
Lei Kan's user avatar
  • 477
1 vote
1 answer
654 views

Binding method with no parameters in Xamarin iOS

I started migrating my iOS app to unified API, however I am having some issues with the binding project. It happens that some of the delegate methods don't require parameters: -(void) ...
DATI.Investigation's user avatar
0 votes
0 answers
285 views

Cannot init constructor in xamarin bindings

I'm trying to create an object of the class i mapped. [BaseType(typeof(NSObject))] interface LibClass { // @property (readonly) NSString * key; [Export("key")] string Key { get; } ...
user2089322's user avatar
1 vote
3 answers
1k views

Creating Xamarin iOS Bindings for classes and procotols

The Goal We are trying to compile a recent fork of the route-me iOS SDK (Alpstein, MapBox or xmap) and create a Xamarin Binding Project from that. The code we already tried can be found at these ...
Felix Ruzzoli's user avatar
3 votes
1 answer
1k views

__darwin_size_t equivalent to in c#

I am writing interfaces of objective-c class so that objective C methods can be called from my C# code. in the objective-c class they have used "__darwin_size_t" #ifndef _SIZE_T #define _SIZE_T ...
er.vish's user avatar
  • 277
5 votes
1 answer
2k views

Xamarin binding Category return error: cannot declare instance members in a static class

I'm try to binding ReFrostedViewController to c#. I used Objective Sharpie to generate interfaces. But When I use Xamarin to compile it, it return error. /REFrostedViewController_UIViewController.g....
user1140633's user avatar
1 vote
2 answers
1k views

Could not import Xamarin.ObjcBinding.CSharp.targets

I have unistall and installed Xamarin Studio on same Mac computer (because a have some problem with mono). Now all work properly except a project that bind a ObjectC library (previously that works ...
Luigi Saggese's user avatar
0 votes
1 answer
196 views

Binding Obj-C interface to mono

Suppose I have the following Obj-C interface: @interface SomeClassName : NSObject <NSXMLParserDelegate, UIWebViewDelegate> { UIWebView *webView ... } How do I go about porting the code ...
K.Liu's user avatar
  • 281
0 votes
1 answer
1k views

Error when binding iOS delegate in Xamarin

I'm trying to port the TapForTap iOS SDK to my Monotouch C# application. Using the documentation and a binding generator I created the following binding ApiDefintion: namespace TapForTap { [...
HD_92's user avatar
  • 197