-
Notifications
You must be signed in to change notification settings - Fork 263
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
undefined-symbols-for-architecture-x86_64-on-ios after adding Stripe React Native #599
Comments
@gbmahili have you removed those library search paths entries both for debug and release mode? |
also getting this issue and these entries are not within my repo |
|
@michaelbayday what version of react-native and library are you using?
Are you having this issue within debug or release schema? |
I have the same issue. |
Same issue, tried all the options with clearing Library Search paths to just have the |
Any update on this issue? |
I may have found a solution. The README's troubleshooting guide wasn't exactly right in my case. It said to remove the swift entries from the library search paths. But I had to remove everything and just leave the You could also head to your I have 4 references to LIBRARY_SEARCH_PATHS = "$(inherited)"; and now it works! |
@Eli-Nathan Do you have MPB M1 or Intel? |
@metinjakupi I now have an M1 and as long as i'm running Xcode in rosetta mode then it works there too |
@Eli-Nathan I also have M1. I will try with rosetta thanks! |
This solution fixed my issue |
If you're using an M1, the above comment from @metinjakupi should resolve things for you! Otherwise, this comment contains the correct solution (which is also mentioned in our readme :) ) |
Describe the bug
I am getting the following error when I run the app in Release mode.
undefined-symbols-for-architecture-x86_64-on-ios
That error is documented here but it only fixes the issue in the Debug scheme, not in the Release scheme.
That same fix is also documented here but also fix the issue in the Debug scheme, not the Release scheme.
To Reproduce
Steps to reproduce the behavior:
$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)
and$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
.undefined-symbols-for-architecture-x86_64-on-ios
Expected behavior
The app should build successfully in the Release scheme just like how it is building successfully in the Debug Scheme.
Screenshots
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: