Open pragmaprog opened 6 years ago
@artplastika thank you for trying the tool and opening the issue. I can reproduce it, probably, resource got lost during conversion.
Looking into it.
Related to this https://github.com/cocoapods/cocoapods/issues/5034 - somehow recent updates to cocoapods changed directory structure I was relying on.
Update on this issue: Still not sure why the process is breaking (i.e. root cause - XCode or Cocoapods update?). Was able to fix that locally by providing different set of options to the XCode build process (and thus get binding generated).
However, Stripe SDK distributed via cocoapods is not a .framework but rather set of files (that go into framework when they distribute it as a static framework). Because of that, the resource bundle they're creating in a build time is not being detected by objc-automatic and it's missing from the generated binding. You can add it manually.
I'm going to review and test changes I did for Stripe support on other pods to make sure we're not breaking anything.
Meanwhile, there is an existing binding for Stripe for Xamarin: https://github.com/XAM-Consulting/xios-stripe
It is using SDK distributed as a static framework https://stripe.com/docs/mobile/ios
There is an error converting Stripe cocoapod to nuget package.
Here is verbose output: https://gist.github.com/artplastika/4270045325d3d1269fb217e9ff9a5894