Questions tagged [xamarin-binding]

96 questions
11
votes
1 answer

Xamarin Android Java Binding: Missing class (XMLReader)

I'm facing some warnings nearly always when I'm on a Xamarin.Android project, and using a Java Binding Library. I obtain the following warnings: 7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type System.Xml.XmlReader in method…
webo80
  • 3,365
  • 5
  • 35
  • 52
4
votes
0 answers

Native Binding project fails with MTOUCH: error MT5210: Native linking failed, undefined symbol

Using objective sharpie I created a binding project for an internal Objective C library, the binding project includes three ios framework sources The binding project builds fine and produces an output dll as expected, checking the output dll with…
Oyebisi
  • 562
  • 2
  • 9
  • 23
3
votes
0 answers

WebRTC Xamarin Binding for iOS - to wrap Objective C or C++ library?

I'm integrating WebRTC in a Xamarin.IOS app, and working through making the required C# bindings for the WebRTC library. All of the info I've found on the web involves wrapping the Objective C framework with the help of Objective Sharpie, but the…
p10ben
  • 425
  • 1
  • 6
  • 17
3
votes
2 answers

Xamarin Android: Cannot embed jna-4.2.0.jar into an Android Binding project

I'm trying to embed some jars from a native project into my Xamarin Android app, and I have hit two separate (but I suspect related) problems: One of the files in the package is jna-4.2.0.jar. When I try to build the binding project on its own, I…
Rob Lyndon
  • 12,089
  • 5
  • 49
  • 74
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

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
0 answers

Including a Xamarin binding library gives: No resource identifier found for attribute

I have an existing Android (java) project which I have (been given and) built into an .aar and then added to a Xamarin Binding project with a build property of LibraryProjectZip. I then referenced the binding project from a Xamarin android project I…
noelicus
  • 14,468
  • 3
  • 92
  • 111
2
votes
0 answers

How to use Kotlin.Result in a Xamarin.Android bindings project?

I am trying to bind a Kotlin package which is using the Kotlin.Result type. If I look at the .aar with the Java-Decompiler tool I see that some methods have return types like Result or Result. How can I get the actual result from…
albertb22
  • 21
  • 1
2
votes
1 answer

Java Binding api.xml.class-parse : warning BG8605: The Java type '$' could not be found

I'm trying to create C# bindings over 'mcumgr-ble.aar' https://mvnrepository.com/artifact/io.runtime.mcumgr/mcumgr-ble/0.12.0-beta4 I have downloaded all the dependencies of the .aar file: kotlinx-coroutines-android.jar …
XDS
  • 3,786
  • 2
  • 36
  • 56
2
votes
0 answers

Unable to run the Xamarin.iOS app when we use third party library in Xamarin binding project

We are working on a Xamarin.iOS project which consumes the MSAL library for authentication purposes. Everything works fine in MSAL except the following one. User credentials are not getting cleared during the subsequent login. It automatically…
Ramesh Annadurai
  • 356
  • 1
  • 10
2
votes
1 answer

Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown

I want to integrate freshChat in xamarin IOS so I added IOS binding library and added ApiDefinition, LibFDFreshChatSDK.a & Struct and Create Dll from it. Copy the generated DLL and added a reference in Xamarin IOS. When I create an object of…
2
votes
0 answers

Sharpie and GVRSDK binding for Xamarin

I want to bind the GVRSDK.ios (GOOGLE Cardboard SDK) library into my Xamarin project, but I am running into some issues. When I try to create the binding using Sharpie I only get "GoogleToolboxForMac" and "GTMSessionFetcher" to bind; 2 sets of…
ScarletMerlin
  • 465
  • 4
  • 24
2
votes
1 answer

Xamarin JAR Binding Library

I'm trying to binding WeChat SDK into Xamarin using .jar file from WeChat SDK Downloads. I had follow the tutorials from here. Unfortunately, I'm having these 2 issues when trying to rebuild the solutions: Severity Code Description Project…
2
votes
1 answer

Is it possible to pass a delegate as a parameter of another delegate in bindings project

I'm attempting to get a bindings project working. But I have encountered an error where it does not like me passing a delegate as a parameter to another delegate. The error I am recieving is this; "Attempting to JIT compile method '(wrapper…
Derek Lawrence
  • 1,551
  • 2
  • 16
  • 36
1
vote
0 answers

Is it possible to run Xcode 15 Swift binded framework into Xamarin running Xcode 14?

Context We have an application made in Xamarin Forms. Xamarin Forms will only support Xcode 14 SDKs and iOS 17 will probably be available on September. The problem is that we want to be ready for September with some new features that are available…
fmaccaroni
  • 3,846
  • 1
  • 20
  • 35
1
2 3 4 5 6 7