NAXAM / braintree-ios-binding

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

PayPalUtils Library Not Loaded #13

Open ahoffmandevelopment opened 2 years ago

ahoffmandevelopment commented 2 years ago

I'm attempting to use the PayPalDataColletor.iOS package, which brings in the PayPalUtils.iOS and PayPal.Risk.iOS packages.

When I run my project, I get an immediate crash, and a Library not loaded error in the console:

dyld[47818]: Library not loaded: @rpath/PayPalUtils.framework/PayPalUtils
  Referenced from: /private/var/containers/Bundle/Application/337051A0-8758-4CC9-8CDC-A146A03CE3D1/xxxxx.iOS.app/Frameworks/PayPalDataCollector.framework/PayPalDataCollector
  Reason: tried: '/private/var/containers/Bundle/Application/337051A0-8758-4CC9-8CDC-A146A03CE3D1/xxxxx.iOS.app/Frameworks/PayPalUtils.framework/PayPalUtils' (no such file), '/private/var/containers/Bundle/Application/337051A0-8758-4CC9-8CDC-A146A03CE3D1/xxxxxx.iOS.app/Frameworks/PayPalDataCollector.framework/Frameworks/PayPalUtils.framework/PayPalUtils' (no such file), '/private/var/containers/Bundle/Application/337051A0-8758-4CC9-8CDC-A146A03CE3D1/xxxxxx.iOS.app/Frameworks/PayPalUtils.framework/PayPalUtils' (no such file), '/private/var/containers/Bundle/Application/337051A0-8758-4CC9-8CDC-A146A03CE3D1/xxxxxxx.iOS.app/Frameworks/PayPalUtils.framework/PayPalUtils' (no such file), '/System/Library/Frameworks/PayPalUtils.framework/PayPalUtils' (no such file)

I've done the usual of removing bin/obj folders, clean and rebuild, restart, etc.

Any thoughts or suggestions?

ahoffmandevelopment commented 2 years ago

I was able to work around this by taking the PayPalUtils.framework folder from this project, placing it in my sln, and then doing a native reference from the iOS project to the Framework folder.

Not closing issue though because this is still a bug.

tuyen-vuduc commented 1 year ago

@ahoffmandevelopment Can you check when the latest package is live?