-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble integrating latest BraintreeDropIn pod to NativeScript app #120
Comments
I tested multiple versions of the ios runtime, tns-ios 6.5.4 to @nativescript/ios 7.2.0, but it make sno difference. |
WHen creating a native ios xcode project and adding the BraintreeDropIn pod there, the project is built correctly so this issue seems to be caused by nativescript in some way |
Is there any advice on this? The issue still exists using NativeScript 8. |
I updated the demo app to use latest NS 8.3 dependencies and the issue still persists. It seems to be caused be caused by a subdependency of the BraintreeDropIn pod: The problem seems to be the following part form the error log:
But due to lag of knowledge in native iOS development, I have no idea if this should be fixed in the NativeScript framework or by Braintree. But I could not find any similar bug reports in the Braintree repo or in other app frameworks, so I guess this is related to NativeScript. So any help is heavily appreciated! |
I am trying to update the native dependencies within the nativescript-braintree plugin. While everything works as expected on Android side, I am struggling to make the ios build process working.
The migration guide says:
I am adding the following to App_Resources/iOS/Podfile:
And I am adding this to App_Resources/iOS/build.xcconfig:
When using version 8.x.y of the BraintreeDropIn pod, everything works as expected. Also when using the latest core pod of the Braintree SDK (Braintree pod version 5.4.2), the build process works as expected, so something is going wrong with the BraintreeDropIn particularly.
I cannot see any issues on Github so I think this is somehow related to NativeScript?
The build log looks like this (only snippets, the whole log file is provided below):
...
The whole log (about 5 MB) is available here:
build_log.txt
Sample app to reproduce:
ns-braintree-ios-issue.zip
The text was updated successfully, but these errors were encountered: