question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App not building after adding stripe

See original GitHub issue

Describe the bug stripe-react-native has been added to a working project through npm. After the installation, the xcode build fails with these errors:

Undefined symbol: protocol conformance descriptor for __C.NSOperationQueue : Combine.Scheduler in Foundation
Undefined symbol: type metadata accessor for (extension in Foundation):__C.NSOperationQueue.SchedulerTimeType
Undefined symbol: (extension in Foundation):__C.NSScanner.scanUpToString(Swift.String) -> Swift.String?
Undefined symbol: (extension in Foundation):__C.NSOperationQueue.SchedulerTimeType.init(Foundation.Date) -> (extension in Foundation):__C.NSOperationQueue.SchedulerTimeType
Undefined symbol: _swift_getOpaqueTypeConformance
Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreMIDI
Undefined symbol: __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers
Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreML
Undefined symbol: __swift_FORCE_LOAD_$_swiftWebKit

Since I am not using Expo, I skipped the ‘Expo’ section after installation

Steps to reproduce

  • react-native init newProj
  • cd newProj
  • npm install @stripe/stripe-react-native
  • Change the podfile version to 11.0
  • cd ios
  • pod install
  • cd ..
  • react-native run-ios

Test device (Simulator)

  • Device: Iphone 12
  • OS: IOS 14.4

Dev

  • MacOS BigSur 11.5
  • XCode: 12.5.1
  • RN: 0.64.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

4reactions
arekkubaczkowskicommented, Jul 29, 2021

@ivantacca because you need to change project build settings rather than target ones

0reactions
ivantaccacommented, Jul 29, 2021

My bad, thank you @arekkubaczkowski, It works now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android fails to compile after upgrading to 0.18.1 #1134 - GitHub
... iOS 16 and now my android app will not compile. To Reproduce Steps to reproduce the behavior: yarn add @stripe/stripe-react-native ...
Read more >
build for my react-native app fails after I install tipsi-stripe
I'm building an Android app in react-native and I need to add a payment page with Stripe. Unfortunately after I run yarn add...
Read more >
Troubleshooting - docs.page
The Stripe sdk requires a FlutterFragmentActivity instead of the FlutterActivity that is standard specifified when creating a new Flutter project. Follow the ...
Read more >
Set up your integration | Stripe Documentation
Make sure your app has migrated to AndroidX. To install the SDK, add stripeterminal to the dependencies block of your app/build.gradle file: build.gradle....
Read more >
Stripe - Expo Documentation
If you're using EAS Build, you can do most of your Stripe setup using the ... and not for apps built on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found