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

ld: symbol(s) not found for architecture arm64 #1288

Closed
jonassvalin opened this issue Aug 9, 2019 · 6 comments
Closed

ld: symbol(s) not found for architecture arm64 #1288

jonassvalin opened this issue Aug 9, 2019 · 6 comments
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@jonassvalin
Copy link

Summary

We're attempting to update the stripes iOS SDK in our app to support Apple Pay. When attempting to build the application, we are seeing the following error(s):


❌  ld: symbol(s) not found for architecture arm64



❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

[10:35:59]: ▸       _STDSSL_PKCS7_get_CRLs in libStripe3DS2.a(pkcs7_x509.c.o)
[10:35:59]: ▸   "_STDSSL_pkcs8_pbe_decrypt", referenced from:
[10:35:59]: ▸       _PKCS12_handle_content_info in libStripe3DS2.a(pkcs8_x509.c.o)
[10:35:59]: ▸ ld: symbol(s) not found for architecture arm64
[10:35:59]: ▸ clang: error: linker command failed with exit code 1 (use -v to see invocation)

iOS version

Have tried on 10.1 and 12.4, same issue for both.

Installation method

Pods

SDK version

16.0.4

Other information

This seems to be related to some of the fixes you guys have already put out in the past few days with release 16.0.3 and 16.0.4.

Based on what we saw in issue #1266 we attempted to update to the latest iOS version, but it did not help.

@davidme-stripe
Copy link
Contributor

Sorry for the trouble, we’re investigating this now.

@davidme-stripe davidme-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Aug 9, 2019
@davidme-stripe
Copy link
Contributor

It looks like your app or one of its dependencies may have Dead Code Stripping disabled. We've added this scenario to our tests, and we'll release an update later today that works with either setting.

@davidme-stripe
Copy link
Contributor

This should be fixed in v16.0.5: Try it out and let us know if it resolves the issue.

@jonassvalin
Copy link
Author

@davidme-stripe Hi David, sorry for the delayed response as I've been on holiday. We tried this out with the latest version and the code compiles properly now. Thanks for the fix!

@tudor07
Copy link

tudor07 commented Jun 24, 2021

I still have this issue. Stripe v19.4.1

@davidme-stripe
Copy link
Contributor

@tudor07 Please switch to v21.6.0 — the 3DS2 framework is open-source in that version, which significantly simplifies the build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

3 participants