App not building after adding stripe
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:7
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ivantacca because you need to change
project
build settings rather thantarget
onesMy bad, thank you @arekkubaczkowski, It works now!