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

Xcode 15 beta 5 - Multiple errors #55

Closed
tiagosito opened this issue Aug 1, 2023 · 7 comments
Closed

Xcode 15 beta 5 - Multiple errors #55

tiagosito opened this issue Aug 1, 2023 · 7 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@tiagosito
Copy link

tiagosito commented Aug 1, 2023

Description

Using Xcode 15 beta 5, I get the following error for lib fast_rsa:

Environment
Flutter version: 3.7.12
fast_rsa version: 3.5.7 or below
With mac Os chip M2

When trying to build the project

ld: warning: '../fast_rsa/ios/librsa_bridge.a[x86_64][2]( go.o )' has malformed LC_DYSYMTAB, expected 52 undefined symbols to start at index 6997, found 64 undefined symbols starting at index 56
ld: warning: '../fast_rsa/ios/librsa_bridge.a[x86_64][2](go.o)' has malformed LC_DYSYMTAB, expected 52 undefined symbols to start at index 6997, found 64 undefined symbols starting at index 56

ld: multiple errors: initializer pointer must point to start of function (no addend) in '../fast_rsa/ios/librsa_bridge.a[x86_64][2](go.o)'; initializer pointer must point to start of function (no addend) in '../fast_rsa/ios/librsa_bridge.a[x86_64][2](go.o)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I found this issue related but the proposed solution didn't work for me issue related Xcode 15 beta

@jerson
Copy link
Owner

jerson commented Aug 2, 2023

Hi @tiagosito could you test with this branch, I have updated the binaries built with the latest toolkit

#56

@jerson jerson added enhancement New feature or request bug Something isn't working labels Aug 2, 2023
@tiagosito
Copy link
Author

Hi @jerson,

I tried the solution with the new branch, I did all the work to clean the caches and pods and only then get everything updated, but it didn't result in a different output from the previous one.

Also I tried to run with a new flutter example project and just added the fast_rsa lib, so I got the same error

ld: warning: '../ios/librsa_bridge.a[x86_64][2](go.o)' has malformed LC_DYSYMTAB, expected 59 undefined symbols to start at index 6924, found 68 undefined symbols starting at index 56
ld: warning: '../ios/librsa_bridge.a[x86_64][2](go.o)' has malformed LC_DYSYMTAB, expected 59 undefined symbols to start at index 6924, found 68 undefined symbols starting at index 56

ld: multiple errors: initializer pointer must point to start of function (no addend) in '../ios/librsa_bridge.a[x86_64][2](go.o)'; initializer pointer must point to start of function (no addend) in '../ios/librsa_bridge.a[x86_64][2](go.o)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@jerson
Copy link
Owner

jerson commented Aug 9, 2023

I'm testing with go1.21.0 and is working fine, going to deploy a new version in some mins

@jerson
Copy link
Owner

jerson commented Aug 9, 2023

at this point I think is a good chance to drop armv7 support, I'm not sure what is the situation with armv7 is still a thing do you know ?

@jerson
Copy link
Owner

jerson commented Aug 9, 2023

Hi @tiagosito could you test using the new version please https://pub.dev/packages/fast_rsa/versions/3.6.0

@tiagosito
Copy link
Author

Hi @tiagosito could you test using the new version please https://pub.dev/packages/fast_rsa/versions/3.6.0

Hi @jerson,
This new version worked very well, thanks for the update!

@tiagosito
Copy link
Author

I'm closing the issue because the new published version 3.6.0 solved the reported problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants