Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Bindings iOS native library

I created a NuGet package Xamarin.Facebook.LoginKit.iOS which is built as a native binding library and has dependencies on Xamarin.Facebook.CoreKit.iOS. When I am trying to run it on real device it ...
Kubuś Puchatek's user avatar
0 votes
0 answers
103 views

Could not create an native instance in Xamarin.IOS

I am trying to bind native Swift library to my Xamarin IOS project (I use VS on MAC). I followed the guide: https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough I did ...
Serenity112's user avatar
0 votes
0 answers
55 views

Singleton Property is always null of the third party framework after doing xamarin ios bindings

I followed the documentation and was successful in building a Xamarin.iOS binding for a third party framework. I used Objective Sharpie to generate my binding code and then made some minor changes to ...
Madhu Suragani's user avatar
1 vote
1 answer
874 views

Binding native iOS Swift library

I have .NET MAUI app where I want to use 3rd party payment processing library RevenueCat. There are 2 Xamarin bindings already for this lib: android: https://github.com/thisisthekap/Xamarin....
Kebechet's user avatar
  • 2,156
1 vote
1 answer
458 views

Weird 'Native linking failed, undefined Objective-C class' when Xamarin-iOS nuget is generated from Azure Pipeline (but not when it's built locally)

I have Xamarin-iOS binding-project which upon being built generates a nuget. Said nuget works as intended in Xamarin-iOS applications if and only if I built it on my Mac. However, when I build this ...
XDS's user avatar
  • 4,101
0 votes
0 answers
86 views

How to declare method in c# with parameters as handler and map that to obj-C native binding library in Xamarin iOS?

Obj-C syntax for the method: Starts MyIP service. @param onMyIpSuccess It is called when MyIP service detects IP change. @see MyIpServiceSuccessHandler. @param onMyIpFailure It is called when MyIP ...
user3162111's user avatar
0 votes
0 answers
115 views

How to fix libresolv dependency when using native binding in xamarin ios?

While building, I am getting errors which I believe are related to libresolv, kindly suggest what needs to be done to resolve this. I have already enabled smartlink=true, forceload = false for native ...
user3162111's user avatar
0 votes
0 answers
70 views

Swift library bindings to Xamarin

I am developing a Xamarin.iOS app. Some functionality is not possible for me to do in Xamarin that I have seen that they are able to do in Swift code. When searching I came across something called &...
Malin's user avatar
  • 107
0 votes
1 answer
159 views

Generate Xamarin.iOS bindings for HERE SDK 4

I'm trying to create the Xamarin.iOS bindings for the HERE SDK 4: sudo xcode-select -s /Applications/Xcode_12.4.app cd heresdk-navigate-ios-4.11.0.0.8255/heresdk.xcframework/ios-arm64 ...
Tom's user avatar
  • 210
0 votes
1 answer
800 views

How do I get Objective Sharpie to recognize framework dependency header paths?

I have created a framework with Xcode that will be used as a Swift native binding for a Xamarin iOS app. This framework has another framework dependency (GoogleMobileAds). My xcodebuild steps for both ...
Chris Simeone's user avatar
1 vote
1 answer
112 views

Xamarin IOS Binding library for WorldPayCSE

I need to make use of the worldPay CSE (Client side encryption) SDK (https://developer.worldpay.com/docs/wpg/clientsideencryption) for IOS and android within xamarin forms so I have created 2 Binding ...
LukeW's user avatar
  • 11
0 votes
0 answers
255 views

Xamarin.iOS binding library that depends on FirebaseCore

I need to bind library for Xamarin.iOS which has many dependencies, such as Firebase/Core and Firebase/Messaging. Following that doc, I have created a proxy project, generated the fat release, used ...
Maxime Esprit's user avatar
0 votes
1 answer
594 views

Execute DidRangeBeacons all the time in iOS 15 when user is in the range of beacon

[Expected behaviour: Specifically for iOS 15. iOS 14 or lower versions work fine] I have an Xamarin.Forms iOS app where I am monitoring and ranging for BLE beacons. The goal is that being in ...
Jason Roy's user avatar
0 votes
0 answers
119 views

How to add "Done" button to uiDatepicker in xamarin.ios for compact style

I was trying to add a button manually on the screen after a datepicker is tapped. But no matter what it always gets under the modal or blurred. Is it possible to add this button on top of that modal ...
Robin Khan's user avatar
0 votes
0 answers
250 views

How to use iOS dynamic framework from .NET Standard assembly in Xamarin.iOS

We have a class library (C++) that is compiled into a dynamic library (.dll, .so etc.) on various platforms. The dynamic library is then loaded using P/Invoke from .NET including a .NET Standard 2.1 ...
Eugene Mayevski 'Callback's user avatar
0 votes
2 answers
2k views

I want to Display Square Checkbox on IOS ,IPad in xamarin form

This Below is my IOS Page .I want to show this type of check box on iOS in xamarin form. I have use Xamarin 5.0 version. When I am try to use check element in iOS show rounded check box but I want ...
user avatar
1 vote
0 answers
591 views

Xamarin iOS binding library (Swift) build error due linker issues

I have Xamarin.iOS project and I'm trying to use Vivalnk sdk (a Swift 5 framework) in it. I'm attempting to walk through this guide: https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-...
Yaser Moradi's user avatar
  • 3,307
0 votes
1 answer
137 views

How can I debug a "Failed to install" message?

I am currently attempting to develop a cross-platform mobile app using Xamarin.forms. As a part of this application I need to include a 3rd party .framework in my Xamarin.iOS project. I have ...
Sam Rogers's user avatar
1 vote
0 answers
863 views

CollectionView - Issue when update ItemsLayout programmatically

I am updating the CollectionView.ItemsLayout programmatically after binding the item source, and it works fine on Android but not on iOS. The iOS app does not throw any exception/error, but the ...
new_geek's user avatar
2 votes
1 answer
684 views

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 ...
Niels's user avatar
  • 1,676
0 votes
1 answer
113 views

Xamarin iOS Platform - Get Device Serial# Method - iOS 8 or Later

For our project, we are trying to get the Device Serial Number of the iOS device using the Xamarin platform. We do not have direct APIs for retrieving the Serial Number of the device from iOS 8 or ...
Balasubramanian's user avatar
0 votes
1 answer
86 views

Will Apple reject this solution for getting unique id in Xamarin iOS?

I want to know if Apple will reject this solution or not for getting the unique id in Xamarin iOS? public string GetIdentifier() { enter code here`var query = new SecRecord(SecKind....
kefi Kefi's user avatar
  • 128
2 votes
1 answer
1k views

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 ...
John Code's user avatar
  • 665
1 vote
1 answer
641 views

Xamarin.iOS Binding an iOS Objective-C Library resulted in empty namespace

I followed each steps carefully in Walkthrough: Binding an iOS Objective-C Library TestBindings project's build result is succeeded. However, I got empty namespace references. My development ...
ibocon's user avatar
  • 1,474
1 vote
0 answers
765 views

System.ArgumentOutOfRangeException while testing Xamarin.Forms app in iOS

I have Xamarin.Forms application, which is running fine on Android but while trying to test it on iOS, I am facing runtime exception. Stacktrace is mentioned below. Index was out of range. Must be ...
Jay Bhiyani's user avatar
0 votes
0 answers
61 views

Can't get .Net Embedding's objcgen.exe to convert my Visual Studio 2019 Xamarin.IOS project on Windows for my Xcode project on MacOS

I create a hello world Xamarin.ios class library project. I add Nuget Embeddinator 4000. I build it on Visual Studio 2019 on Windows 10. But when I run objcgen.exe to do the Embeddinator conversion, I ...
Doug Null's user avatar
  • 8,229
0 votes
0 answers
347 views

It is possible use a *.dll generated from a Swift Binding project?

I was given a new library *.framework in Swift 5 from an external client and I'm trying to integrate this lib in our Xamarin.iOS project; I made it creating a new binding project and following the MS ...
requenaxii's user avatar
0 votes
1 answer
118 views

How can I use Google's people API in Xamarin.iOS?

I have to access Google contacts in our Xamarin. ios app so, We have generated Google's people API key and client id in Google developer portal But I don’t know how to consume API in Xamarin.ios app. ...
Sumit Mishra's user avatar
0 votes
1 answer
273 views

Sharpie binding error : Unsupported clang availability platform: 'macCatalyst'

I'm trying to bind a framework into my Xamarin iOS project using this command: sharpie bind -output FrameworkName -namespace FrameworkName -sdk iphoneos13.2 -scope Headers FrameworkName.framework/...
hanaa's user avatar
  • 405
1 vote
0 answers
343 views

Launch failed Input String not in correct format in xamarin ios

Launch failed. The app 'appname.iOS' could not be launched on 'iphone'. Error: error MT1006: Could not install the application '/Library/Caches/Xamarin/mtbs/builds/appname.iOS/f8449af7 ...
kefi Kefi's user avatar
  • 128
0 votes
0 answers
168 views

Xamarin iOS Binding conversion of method at runtime

I got stuck in an issue when I was writing Xamarin Binding Library. Prerequisites I have iOS Native Framework. I have a Xamarin Forms Application. I have to write Xamarin Binding Library, which I ...
Apoorv Saxena's user avatar
2 votes
0 answers
208 views

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 ...
Midhun Kumar's user avatar
3 votes
2 answers
4k views

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 ...
Black's user avatar
  • 150
0 votes
1 answer
595 views

How combine multiple visibility properties binding (fluent) in MvvmCross for iOS?

i want to combine these 2 properties: set.Bind(myObject).For("Visibility").To(vm => vm.property1).WithConversion("Visibility"); set.Bind(myObject).For("Visibility").To(vm => vm.property2)....
El0din's user avatar
  • 3,338
1 vote
1 answer
337 views

How to use ServiceCore framework from salesforce in a Xamarin forms app?

I am getting a warning in my console when I try building the app in Release configuration. The warning reads The ServiceSDK frameworks have not been prepared for release. Please ensure the "prepare-...
Praveen Kumar B's user avatar
0 votes
0 answers
272 views

Create an object from Abstract type class in Xamarin.iOS

In my Xamarin.iOS binding project, I have a generated class called LSMAUsecase.g.cs. following is the content of that class. namespace SightCallBinding { [Protocol (Name = "LSMAUsecase", WrapperType =...
Randi's user avatar
  • 697
0 votes
0 answers
72 views

Cannot refer the binding project in Xamarin.iOS project

I have created a Xamarin.iOS binding project. My binding project compiles successfully. Then I added Xamarin.iOS project. Structure is like this. Then I created a class and tried to import my binding ...
Randi's user avatar
  • 697
0 votes
0 answers
69 views

Getting non-generic type while creating xamarin native bindings

I'm trying to create C# Bindings for Native iOS Library, and i've used objective sharpie as a tool to do it, but i'm stuck at one place where it has converted @property (nonatomic, weak) id<...
Sam's user avatar
  • 67
3 votes
1 answer
3k views

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, ...
Robin Macharg's user avatar
1 vote
1 answer
250 views

Objective C Native Library Binding Issue in Xamarin iOS

We are trying to bind iOS native library with Xamarin, using the below link. https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/walkthrough?tabs=macos But whenever we are ...
rinku khatri's user avatar
0 votes
1 answer
118 views

Mvvcross WithFallback on xamarin ios

i'm using MvvmCross on xamarin iOS. I'm using fluent for the bindings on the ViewModel and json. I wanted to try the WithFallback() function, but when the property on my ViewModel (string in this case)...
El0din's user avatar
  • 3,338
1 vote
1 answer
2k views

MT5211: Native linking failed, undefined Objective-C class

I made a binding from a objective-c framework, it is working correctly but when I try to link my Xamarin.iOS project (Link Framework SDKs Only), I get this error MTOUCH: Error MT5211: Native ...
João Palma's user avatar
2 votes
1 answer
236 views

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 ...
ukie_'s user avatar
  • 116
2 votes
1 answer
319 views

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 -(...
Omar Himada's user avatar
  • 2,580
1 vote
1 answer
377 views

Xamarin iOS binding builds with no errors, but crashes at start up with no output

I have created a unified API out of two native libraries (ios and Android) called AccessEnabler from Adobe. Now the Android binding works, no problem. The iOS one however has issues. The binding ...
G_Money's user avatar
  • 318
5 votes
1 answer
516 views

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 --...
Sujeet Shetty's user avatar
2 votes
2 answers
5k views

Scrolldown in ListView using ItemAppearing event skips records in Xamarin.Forms

I have ListView in Xamarin Page. I use ItemAppearing event to scroll down. ListViewCell height is big so 1 screen cover first and 80% part of second viewcell. Steps to load more data for scroll down: ...
Nanji Mange's user avatar
  • 2,265
4 votes
2 answers
435 views

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 ...
Miiite's user avatar
  • 1,557
4 votes
0 answers
165 views

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 ...
Mando's user avatar
  • 11.7k
0 votes
1 answer
103 views

Framework doesn't detect card reader

I have created binding library to bind a Framework supposed to read smart card data (it is working properly on XCode), but in Xamarin.iOS app, the card reader is never been detected. I'm using Tactivo ...
Moamen Naanou's user avatar