Skip to content
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

Compiling issue with latest version of Braintree #93

Open
jbatra-umeey opened this issue May 4, 2021 · 1 comment
Open

Compiling issue with latest version of Braintree #93

jbatra-umeey opened this issue May 4, 2021 · 1 comment

Comments

@jbatra-umeey
Copy link

Not compiling with the latest version of Braintree

Xcode : 12.4
Swift version : 5.3.2

Podfile :

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '12.0'

target 'paypalExample' do
  config = use_native_modules!

  use_react_native!(:path => config["reactNativePath"])

  target 'paypalExampleTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

target 'paypalExample-tvOS' do
  # Pods for paypalExample-tvOS

  target 'paypalExample-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

pod 'Braintree/Core'
pod 'Braintree/PayPal'

Updated podspec

Pod::Spec.new do |s|
   ....
  s.dependency "Braintree/Core"
  s.dependency "Braintree/PayPal"
end

Request you to please share the react-native sample or guide with steps

@nzankich
Copy link
Contributor

@jbatra-umeey is this in your app? could you check the example app and see if it works? that should give you a good idea of how to set up your app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants