Objective Sharpie is a tool developed and maintained by Xamarin Inc, used to create C# bindings from an Objective-C library, making it consumable in Xamarin.iOS projects.
Questions tagged [objective-sharpie]
79 questions
0
votes
0 answers
Trouble binding native Obj-C library to Xamarin.iOS Project
I am running into difficulty trying to bind a native Obj-C static library I created in XCode to my Xamarin.iOS project. I went through the necessary steps creating a Fat Binary. It created both x86 and ARM architectures but it throws an error saying…

scott f
- 13
- 2
0
votes
1 answer
Why does my NearbyMessages Objective-C to C# binding throw an NSInvalidArgumentException when I call publish/subscribe methods?
I've used Objective Sharpie to generate a semi-functional iOS C# binding for Google's Nearby Messages API from the libGNSMessages.a binary and headers in the NearbyMessages cocoapod. Adding that binding library to a Xamarin.iOS project, I can…

M. Shepherd
- 1
- 3
0
votes
0 answers
Include dependencies in sharpie binding command
How to include dependencies in a sharpie binding command?
I need to bind a framework made in swift 4 with sdk iphoneos11.4 that includes a reference to another framework to move to a C# app in Xamarin with a native reference(examples:…

Arturo
- 39
- 10
0
votes
1 answer
ANPR for XamarinFroms
We are searching best ANPR (Automatic Number Plate Reader/Recognition) for Xamarin.Forms. I have already gone through AnyLine and OpenAlpr.
AnyLine seems to be high cost, based on image capture counts.
Regarding OpenAlpr we have a workable solution…

Sarathi
- 111
- 1
- 7
0
votes
0 answers
Xamarin Binding for iOS CodePush cocoapod crashes on app start
I'm creating a CodePush Xamarin.iOS binding, I've generated a fat lib .a file by using sharpie tool with the CodePush cocoapod:
sharpie pod init ios CodePush
sharpie pod bind
And then created a Xamarin.iOS binding project with .a file and…

Mando
- 11,414
- 17
- 86
- 167
0
votes
1 answer
Base type is missing for @protocol
Short edition:
Does a @protocol with a missing basetype have an inferred basetype of NSObject in Objective-C?
Long edition:
I am binding an Objective C library to C#. One of the protocols in this libraray is missing a base type... Usually I would…

S1r-Lanzelot
- 2,206
- 3
- 31
- 45
0
votes
0 answers
Objective Sharpie Material Components
I am attempting to create Xamarin bindings for Google's Material Components for iOS
but receive errors regarding missing headers when using Objective Sharpie.
First Step:
sharpie pod init ios MaterialComponents
Result:
Downloading…

Jamie
- 123
- 2
- 9
0
votes
1 answer
Opencv binding ios
I'm trying to create C# bindings using objective sharpie for the objective c library of OpenCV 3.4 (https://opencv.org/releases.html, precompiled and build from source with extra modules) but without success. Either I'm using the wrong sharpie…

ConstantLearning
- 1
- 2
0
votes
2 answers
Xamarin iOS binding project
I have an Xamarin.iOS application, and I want to reference a binding project so that I can use a .a file in my project. But I get this error when I try to build:
linker command failed with exit code 1 (use -v to see invocation)
…

Drake
- 2,679
- 4
- 45
- 88
0
votes
1 answer
After binding using Objective Sharpie Protocol Methods are not getting invoked in xamarin.iOS
I have few issues with Binding using Objective sharpie.I am binding IndoorAtlas iOS native sdk with Xamarin.ios.
Issue is while Implementing Protocols methods as those are not getting invoked. Do we need to handle it in special way?
I am attaching…

nikheel
- 3
- 2
0
votes
1 answer
How to binding C array type in objective-c library using Objective Sharpie?
The method that I need to bind have argument in primitive array for example:
(bool)isRectangle:(const CGPoint[4])corners;
How I bind const CGPoint[4] type with C# type?
Note: Using Sharpie, the result is below…

Aromic
- 73
- 3
- 8
0
votes
1 answer
Xamarin iOS framework binding fail to find attributes in Xamarin Studio
In the solution all attributes are not recognized, any idea how to resolve this?
I used Sharpie to generate the ApiDefinitions and Structs cs files using sharpie init ios Stripe and sharpie ios bind.
Second issue is that one type is not created but…

George Taskos
- 8,324
- 18
- 82
- 147
0
votes
1 answer
Xamarin iOS binding library duplicated constructors issue
I have an issue with duplicated constructor in Xamarin iOS binding library with code generated by sharpie tool from third-party SDK code. Basicly C# generated interface is using NSFileHandle as a base type and SDK header file declares identical…

awattar
- 446
- 5
- 19
0
votes
1 answer
Xamarin ios bindings dll - Native linker cant find sdk
I'm attempting to bind the pushy.me obj-c framework. Ive run this through objective sharpie and get the output api definitons file and the framework.
From here I build the file and get the output "PushySDK.dll" and reference it in my xamarin.ios…

Derek Lawrence
- 1,551
- 2
- 16
- 36
0
votes
1 answer
Xamarin iOS binding, symbol not found in library
I needed a sketch/painting control for my Xamarin.iOS project, and while I couldn't seem to find one compatible with C# I did find a good component available written in Objective C. https://github.com/acerbetti/ACEDrawingView
I've done Xamarin…

cain
- 1,028
- 1
- 12
- 26