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

Can`t create swift local build #502

Closed
Invariant0x opened this issue Dec 15, 2022 · 3 comments
Closed

Can`t create swift local build #502

Invariant0x opened this issue Dec 15, 2022 · 3 comments

Comments

@Invariant0x
Copy link

I do everything according to the instructions my processor m2

swift/build_ffi.sh --generate-ffi

Screenshot 2022-12-16 at 12 03 45 AM

@jrose-signal
Copy link
Contributor

I'm guessing you're using SwiftPM to bring in LibSignalClient to your project; this isn't officially supported. You can probably make it work by manually linking to libsignal.a within the target/ folder, as the SwiftPM test target does using unsafeFlags, but our real recommendation is to use it as a CocoaPod instead.

@Invariant0x
Copy link
Author

I have this file in my debug folder - libsignal_ffi.a do you mean that I need to link it?
Please be more specific, I really need your help.

@jrose-signal
Copy link
Contributor

If the brief instructions I gave are unclear, you should stick to the supported approach of using CocoaPods.

@jrose-signal jrose-signal closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants