Questions tagged [objective-sharpie]

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.

77 questions
6
votes
2 answers

Sharpie binding objective-c @protocols issue

I'm using sharpie bind command to get API interfaces for my iOS library for xamarin sharpie bind --namespace=XXX --sdk=iphoneos9.2 Headers/*.h Have issues with @protocol bindings: The type or namespace name `IProfileDelegate' could not be found.…
Injectios
  • 2,727
  • 1
  • 28
  • 48
5
votes
1 answer

Unsupported clang availability platform: 'bridgeos'

I'm trying to bind Custom Native iOS Framework and getting this error in the 1st stage of sharpie bind -output bindings. Below is the command and log when I hit the below command: sharpie bind --output=filename --namespace=namespacename…
Sujeet Shetty
  • 285
  • 1
  • 10
4
votes
0 answers

Binding MasterCard iOS framework using Objective Sharpie

I am attempting to create a Xamarin iOS Binding project for an iOS framework library (zip available here) supplied by MasterCard for the purpose of allowing In-App payments. Note that I am currently attempting to bind the framework supplied for the…
Brett Mealor
  • 81
  • 1
  • 1
  • 7
4
votes
1 answer

Objective Sharpie Error: Failed to run pod list

I'm using Cocoapods 1.4.0, Visual Studio Community for Mac 7.3.3 (build 12), Objective Sharpie 3.4.0-c0f0e73, Mac OS 10.12.6 (Sierra) whenever I try to add the example Cocoapod on…
dvilla
  • 78
  • 6
4
votes
3 answers

Binding with objective Sharpie outputs huge files

I am trying to bind my swift framework with Xamarin. I am using objective Sharpie for this. I have set 'Enable Bitcode' to 'No' in the framework. Built the framework for running. Use the following command for binding the header file. sharpie…
Srinija
  • 177
  • 3
  • 9
3
votes
0 answers

Bind iOS framework with inner framework in Xamarin

I'm trying to bind an iOS framework which contains another framework inside of it. When I run sharpie bind command I get error of module 'inner framework' not found. I tried extracting the inner framework and make separate binding and include the…
Awais Shaikh
  • 489
  • 2
  • 15
3
votes
1 answer

Trouble binding Objective-C library to C# with Objective Sharpie

I'm attempting to walk through this guide: https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/ trying to create bindings for this github project: https://github.com/lminhtm/LMGaugeView Using Sharpie 3.4. I am…
sbonkosky
  • 2,467
  • 1
  • 19
  • 31
3
votes
1 answer

Objective Sharpie Missing Most of the API

I am trying to get Objective Sharpie to generate the bindings for the Spotify iOS SDK. I use the following command: sharpie bind -sdk iphoneos10.2 \ -output SpotifyAuthenticationBindings…
Daniel Centore
  • 2,968
  • 1
  • 15
  • 35
3
votes
0 answers

Objective Sharpie - Automated Binding of AWSCognito fails with "'AWSCore/AWSCore.h' file not found"

I'm trying to bind "AWSCognito" using Sharpie and Cocoapods using following command: sharpie pod init -force ios AWSCognito && sharpie pod bind It ran good but build was failed with following errors: Parsing 1 header files... While building module…
x4h1d
  • 5,807
  • 1
  • 28
  • 43
3
votes
2 answers

How do I bind a swift based .Framework or Pod to Xamarin?

I'm trying to bind this Folding Cell to an Xamarin project but don't see the *.a file mentioned in these directions. sudo gem install cocoapods sharpie pod init ios FoldingCell sharpie pod bind As indicated at the bottom of the page, I should…
halfbit
  • 54,462
  • 46
  • 195
  • 426
3
votes
1 answer

Error on starting Optimizely with Xamarin Binding

I would like to use Optimizely to improve A/B testing in App. To do it i have implemented a Xamarin Binding that is equal to this repo: https://github.com/JustGiving/XamarinBindings/tree/master/Optimizely.iOS When i register my API Key on…
Luigi Saggese
  • 5,229
  • 3
  • 38
  • 89
2
votes
0 answers

How to conforms protocol in Xamarin iOS

strong textI am implementing iZettle payment SDK in Xamarin. I have created binding libraries and converted all header files to ApiDefintions. I am stuck at conforming iZettleSDKAuthorizationProvider protocol in Xamarin. Here is my APIDefinition.cs…
Nikhil Sathawara
  • 151
  • 1
  • 2
  • 7
2
votes
2 answers

Static property not instantiated in class from binding

When I access static property SharedController, the value is null, but the API Definition generated by Objective Sharpie only provides a getter. BBDeviceController is instantiated, but the SharedController property on it is null. Because it only has…
rgahan
  • 237
  • 2
  • 10
2
votes
1 answer

Objective-sharpie ApiDefinition contains overloaded methods?

After some head scratching I finally got objective-sharpie to bind a .framework file successfully, however the ApiDefinition.cs file that it generates contains some irregularities. // @optional -(void)flyerView:(WFKFlyerView * _Nonnull)flyerView…
2
votes
0 answers

Sharpie pod bind: unable to parse target sdk

I am creating an Appletvos project in c# using Xamarin and I need to use the VLCKit library, I tried using cocoapod and sharpie to create this project but I Have an error on the sharpie pod bind it correctly create a build directory with the file…
Hadrien Berthier
  • 175
  • 1
  • 2
  • 14
1
2 3 4 5 6