Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Build issue when using Flutter 2.5.0 #67

Open
peterstojanowski opened this issue Sep 13, 2021 · 3 comments
Open

Build issue when using Flutter 2.5.0 #67

peterstojanowski opened this issue Sep 13, 2021 · 3 comments

Comments

@peterstojanowski
Copy link

peterstojanowski commented Sep 13, 2021

Hi guys,

when building the example app for iOS Simulator I'm getting this error:

ld: in /Users/peter/Downloads/flutter_sodium-master/example/ios/Pods/../.symlinks/plugins/flutter_sodium/ios/libsodium.a(libsodium_la-aead_chacha20poly1305.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/peter/Downloads/flutter_sodium-master/example/ios/Pods/../.symlinks/plugins/flutter_sodium/ios/libsodium.a' for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Which suggests that libsodium.a does not support arm64 architecture.

Anyone can help with this?

Thanks,
Peter

@s-j-a
Copy link

s-j-a commented Sep 13, 2021

same issue, had to downgrade back to 2.2.3

@kozw
Copy link
Contributor

kozw commented Sep 13, 2021

Confirmed. Looks like you're not the only one. As a workaround for now, the following suggestion seems to work -> RxReader/tencent_kit#54 (comment)

Modify the example/ios/Podfile as per the comment in the link. Works on my machine (you may need to remove the Podfile.lock)

Still not sure what's going on.

@GabrielAraujo
Copy link

Also having this issue with the core card lib

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants