Questions tagged [xamarin.ios-binding]

C# wrapper library around the native iOS Static Library or Framework developed using Swift/Objective-C for Xamarin.iOS.

77 questions
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
5
votes
2 answers

Bind Method With Delegate

I'm creating a binding library to bind native Objective-C framework. I have the following delegate which I need to add it's declaration to ApiDefinition file and then I need to implement it using my Xamarin.iOS app: - (void)Initialize:(id…
Moamen Naanou
  • 1,683
  • 1
  • 21
  • 45
5
votes
2 answers

Could not create an native instance of the type 'FWSImageRepo'. the native class hasn't been loaded

I'm trying to link a native iOS framework that uses AFNetworking internally, I'm building it initially as a prototype to move some of my company's ObjC IP over to be linkable with Xamarin as well in the future. I started by making a simple class…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
4
votes
2 answers

Binding iOS Framework leads to corrupted temporary files

I have a pretty massive iOS Framework to bind. This framework depends on two others. I created the binding project, successfully generated the ApiDefinitions.cs file and StructsAndEnums.cs. So far so good. Now, when I try to build it in Debug mode,…
Miiite
  • 1,517
  • 10
  • 16
4
votes
0 answers

F# Fake is trying to build Xamarin.iOS binding with "btouch-native.exe is invalid" error

I have a Xamarin.iOS solution with Xamarin.iOS custom binding and I can build it locally on my Mac OS in Visual Studio for Mac without any issues. But when I'm trying to build the same solution using F# Fake and build scripts with the same version…
Mando
  • 11,414
  • 17
  • 86
  • 167
3
votes
2 answers

Enable and disable Xamarin Forms Switch by MVVM

I have 5 form switches one of them are select all which should do selecting all other switesh to true. I have a logic when after select all switch is on it cannot be switch back to off manually. only way that button(Select all) can be switch off is…
Black
  • 140
  • 2
  • 10
3
votes
1 answer

How do I chain SourceList observation using ReactiveUI and DynamicData?

Apologies if the terminology is off; I'm an iOS developer having to use Xamarin.iOS to develop an app. I'm using ReactiveUI with DynamicData and an MVVM architecture. I'm fairly happy with RxSwift, and FRP concepts in general. I have a Model that…
3
votes
0 answers

iOS app closes immediately after launch when accessing code from the Binding Library

I am facing a strange issue. I have converted the Native framework (Serialio RFID reader) into Binding Library and using it in one of my samples. This sample has only one ViewController. Problem is, app launches in Simulator but it closes…
MilanG
  • 2,551
  • 16
  • 24
3
votes
2 answers

Xamarin.iOS Binding Libraries / Native Frameworks

For some reason i need to use this native framework in my Xamarin.iOS app and the problem comes, that i have no idea how to make bindings properly. So as i understood correctly, this framework also uses another one framework and i'm little bit…
XTL
  • 1,452
  • 2
  • 17
  • 40
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…
2
votes
1 answer

Can't register the class AdaptiveCardsBinding.iOS.ACOHostConfig when the dynamic registrar has been linked away

I am creating a Xamarin.iOS binding library for AdaptiveCards. It works correctly on iOS simulator. However, when running on a real iOS device I get the following error: Can't register the class AdaptiveCardsBinding.iOS.ACOHostConfig when the…
Niels
  • 1,366
  • 15
  • 21
2
votes
1 answer

Xamarin iOS objective c binding library Could not create an native instance of the type

I created a binding project for Xamarin iOS. I succeeded in adding the native library, creating the C# Bindings and resolved all the hundreds of errors I found just to get this error once I try to run the library (in an app on the iPhone…
John Code
  • 655
  • 7
  • 24
2
votes
0 answers

Xamarin Forms CollectionView throwing NSInternalInconsistencyException

I have a Xamarin forms project which consists of a ColectionView whose ItemSource is backed by a bindable property of type ObservableCollection in the ViewModel. Adding new items to the ObservableCollection is throwing…
2
votes
1 answer

C# Bound library method doesn't accept implementation parameter

Trying to implement the new SnapChat Creative Kit in Xamarin.iOS, I bound the SDK framework using Objective Sharpie. While following the official documentation (which only has implementation steps for swift and obj-c) for other SDKs wan not a…
ukie_
  • 116
  • 6
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…
1
2 3 4 5 6