NAXAM / braintree-ios-binding

Xamarin Binding Library - Braintree iOS SDK
Other
8 stars 7 forks source link

.net8 support please. Running on xamarin fine though #26

Open Sarathcfx opened 2 months ago

Sarathcfx commented 2 months ago

I was using this package for Xamarin.iOS SDK project which runs smoothly, after upgrading to .NET8 this doesn't seem working. Below is the build error I see. I understand that bindings were outdated. Please provide us with .NET bindings

Screenshot 2024-08-24 at 9 29 01 PM

Below is the error log.

Error: clang++ exited with code 1: Undefined symbols for architecture x8664: "$s12CoreGraphics7CGFloatVMn", referenced from: symbolic ____ 12CoreGraphics7CGFloatV in PPRiskMagnes(TouchDataCollector.o) "$s12CoreGraphics7CGFloatVN", referenced from: $s12PPRiskMagnes17CoreDataCollectorC13getScreenInfo33_DF872FAC5B209B23227CF2AE9292ED8BLLSDySSypGyFTf4dn in PPRiskMagnes(CoreDataCollector.o) $s12PPRiskMagnes20DynamicDataCollectorC13getScreenInfo33_6D1A8B8433CB222B9D56A714BE413FCFLLSDySSypGyFTf4dn in PPRiskMagnes(DynamicDataCollector.o) $s12CoreGraphics7CGFloatVACs7CVarArgAAWl in PPRiskMagnes(DynamicDataCollector.o) "$s12CoreGraphics7CGFloatVs7CVarArgAAMc", referenced from: $s12CoreGraphics7CGFloatVACs7CVarArgAAWl in PPRiskMagnes(DynamicDataCollector.o) "_$s15_ObjectiveCTypes01A11CBridgeablePTl", referenced from: $sSo26UIBackgroundTaskIdentifieras21ObjectiveCBridgeableSCMc in PPRiskMagnes(MagnesSensorDataCollector.o) $sSo18UIPasteboardOptionas21ObjectiveCBridgeableSCMc in PPRiskMagnes(MagnesSensorDataCollector.o) $sSo18NSFileAttributeKeyas21ObjectiveCBridgeableSCMc in PPRiskMagnes(MagnesSensorDataCollector.o) "$s8AllCasess12CaseIterablePTl", referenced from: $s12PPRiskMagnes0B9ConstantsC11RootedFlagsOs12CaseIterableAAMc in PPRiskMagnes(MagnesConstants.o) "$s8Dispatch0A12TimeIntervalO7secondsyACSicACmFWC", referenced from: _$s12PPRiskMagnes18TouchDataCollectorC14touchBeganTime332DD6F9C76A9A39ACDA65F95464D52074LLs5Int64VSgvW in PPRiskMagnes(TouchDataCollector.o) "$s8Dispatch0A12TimeIntervalOMa", referenced from: _$s12PPRiskMagnes18TouchDataCollectorC14touchBeganTime332DD6F9C76A9A39ACDA65F95464D52074LLs5Int64VSgvW in PPRiskMagnes(TouchDataCollector.o) "$s8Dispatch0A13WorkItemFlagsVMa", referenced from: _$s12PPRiskMagnes18TouchDataCollectorC14touchBeganTime332DD6F9C76A9A39ACDA65F95464D52074LLs5Int64VSgvW in PPRiskMagnes(TouchDataCollector.o) $s12PPRiskMagnes18TouchDataCollectorC13sendToBackend332DD6F9C76A9A39ACDA65F95464D52074LLyyF in PPRiskMagnes(TouchDataCollector.o) $s8Dispatch0A13WorkItemFlagsVACs10SetAlgebraAAWl in PPRiskMagnes(TouchDataCollector.o) $sSay8Dispatch0A13WorkItemFlagsVGMa in PPRiskMagnes(TouchDataCollector.o) $s12PPRiskMagnes18AuditDataCollectorC016collectAndSubmitcD026withPaypalClientMetadataIdySS_tF in PPRiskMagnes(AuditDataCollector.o) (temp.NET.iOS)

bmarrdev commented 1 month ago

Has this issue been resolved? There has been a .net8 update and new bindings released since this ticket was created, however I am still seeing the error in PPRiskMagnes as above.

tuyen-vuduc commented 4 weeks ago

It is here https://www.nuget.org/packages/BraintreeDropIn.iOS

bmarrdev commented 4 weeks ago

I am using the new x.x.x.24 packages. If I add <PackageReference Include="PayPalDataCollector.iOS" Version="5.12.0.24" /> (which implicitly installs PPRiskMagnes.iOS 5.4.0.24) to a .net8 iOS project I start getting the error described in this ticket.