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.

79 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,777
  • 1
  • 30
  • 50
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
  • 2
  • 12
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
  • 111
  • 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
  • 88
  • 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
  • 327
  • 5
  • 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
  • 531
  • 4
  • 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,537
  • 1
  • 22
  • 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
  • 3,220
  • 1
  • 18
  • 39
3
votes
1 answer

Objective Sharpie sometimes adds I to @protocols

I am trying to bind a library, and I came across this issue: // @interface PTPusher : NSObject [BaseType(typeof(NSObject))] interface PTPusher : IPTPusherConnectionDelegate,…
vrwim
  • 13,020
  • 13
  • 63
  • 118
3
votes
2 answers

Objective Sharpie Does Not See Older iPhone SDKs when using iPhoneos 9.3

I am trying to bind a framework that has its own Info.plist which requires iphoneos8.2. Per the documentation https://developer.xamarin.com/guides/cross-platform/macios/binding/objective-sharpie/tools/ I installed Xcode 6.2 which shows the…
ClintL
  • 1,424
  • 14
  • 30
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
  • 6,042
  • 1
  • 31
  • 46
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…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
3
votes
2 answers

BTOUCH:error BI1017:Do not know how to make a signature for System.Int32* in method get_IssueTransport

I am binding JMC objective C static library to Xamarin compatible one, currently I am trying to build my binding project now(which contains ApiDefinition.cs, StructsAndEnums.cs and libJmcSDK.a) but when I try to build this Xamarin binding project…
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,299
  • 3
  • 43
  • 94
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
  • 161
  • 1
  • 2
  • 8
1
2 3 4 5 6