NAXAM/braintree-ios-binding

PayPalUtils Library Not Loaded

ahoffmandevelopment opened this issue · 2 comments

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?

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.

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