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

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 application hangs and when I look at the output window…
1
vote
1 answer

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 environment settings is : Windows 10 Pro 1909 Visual…
ibocon
  • 1,352
  • 3
  • 17
  • 40
1
vote
0 answers

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 non-negative and less than the size of the…
Jay Bhiyani
  • 313
  • 1
  • 4
  • 14
1
vote
0 answers

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…
1
vote
1 answer

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-framework" script is run after the "Embed…
1
vote
1 answer

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 trying to do so, we got a file where it contains lines…
1
vote
1 answer

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 linking failed, undefined Objective-C class: GLKView.…
João Palma
  • 66
  • 11
1
vote
1 answer

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 project builds and complies with no issues, but when i…
G_Money
  • 318
  • 7
  • 22
1
vote
1 answer

Xamarin Object Sharpie Obj-C Library Binding why Output huge File?

I'm trying to bind the Heatmap part of Google Maps iOS utils now. https://github.com/googlemaps/google-maps-ios-utils 1: .a file Create 2: CreateMakefile & Execute the make…
1
vote
1 answer

Why binding to label's enabled property crashes the app

I am trying to bind a view model variable with label's enabled property but it crashes the app bindings.Add(this.SetBinding(() => this.Vm.IsEnabled, () => this.lblDate.Enabled, BindingMode.TwoWay)); The crash is always reproducible in release…
1
vote
0 answers

Does Xamarin remove/exclude the simulator architecture of the native library when building for Appstore / Device build?

I'm creating a Xamarin iOS binding library and my plan was to publish it to NuGet. However, I just realized that the native library currently has all architectures (simulator and device): libMySDKSDK.a (for architecture i386): current ar…
1
vote
1 answer

Binding Facebook Account Kit iOS in Xamarin

I am binding Account Kit iOS framework in Xamarin iOS. I successfully generated ApiDefinition.cs and Structs.cs file using Objective Sharpie and have linked the native Account Kit library in Native References. When I build the project in Xamarin…
1
vote
1 answer

No Intellisense in Xamarin iOS Bindings Library

I'm trying to create a binding library, but I don't have Intellisense support in Visual Studio 2013. My Windows computer is connected to a MacOS 10 (El Capitan) with the latest Xamarin Studio on it and even the latest XCode 8 (I don't know if this…
Gerrit Horeis
  • 541
  • 5
  • 14
1
vote
1 answer

xamarin.ios binding Segment-Analytics errors

I am working on the iOSbinding for Segment/Analytics and meeting a block on this. The oc code I cannot find a good idea to convert to C# code. -(SEGReachability *)initWithReachabilityRef:(SCNetworkReachabilityRef)ref; when i converted code to…
tingtingan
  • 11
  • 2
1
vote
2 answers

Native linking error on xamarin ios binding

I am writing a wrapper that bind to an iOS SDK using the P/Invoke as Sharpie was not able to generate a compilable code for this SDK. When compiling the iOS App with the wrapper project referenced I am having many linking issues such as this one…
Samir Chakour
  • 135
  • 12