-
Notifications
You must be signed in to change notification settings - Fork 525
Build failed on iOS Undefined symbol: _swift_getOpaqueTypeConformance #742
Comments
I'm getting this error too. Using Xcode 12.4, with ReactNative 0.63.4, and |
I think the root issue is related to Stripe's recent iOS SDK 21.x update, and their switch to Swift. See https://stripe.com/docs/mobile/ios/sdk-21-migration I got my build working as a workaround by downgrading |
@Jpoliachik Thanks for sharing your solution. It is most likely the solution by far. |
@Jpoliachik Thanks. I tried yarn add |
I managed to make it work by removing "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)" line from LIBRARY_SEARCH_PATHS in project.pbxproj file, as mentioned here: |
So no way to |
Only removing "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)" this does not solve the problem. I had to do the following to resolve the issue completely
|
I'm on
|
same +1 :((( |
Same from me |
error build: Undefined symbol: _swift_getOpaqueTypeConformance |
Closing this ticket, so that new users don't think this project is still active. Stripe does not want you using this, and you will find pain if you do; Please migrate to the official @stripe/stripe-react-native package, for your user's safety, and your developer's sanity! See more: |
The problem
Build failed
Environment
tipsi-stripe
version: 9.0.0tipsi-stripe
version where the issue was not reproduced (if applicable):If remove library_search_path, like mentioned here:
react-native-community/upgrade-support#62
then react-native-linear-gradient failed in build.
The text was updated successfully, but these errors were encountered: