Skip to content

Instantly share code, notes, and snippets.

View Jacobinoo's full-sized avatar
:bowtie:

Jakub Banasiewicz Jacobinoo

:bowtie:
View GitHub Profile
@Jacobinoo
Jacobinoo / LibSignal_on_macOS.md
Last active November 3, 2024 20:51
Make LibSignal work on macOS

LibSignal is not officially supported on macOS because it's not one of Signal's app platforms (Signal Mac app uses Electron). You'll have to build the Rust parts yourself instead of using the prebuilt ones.

  1. Check out https://github.com/signalapp/libsignal repo.
  2. Have Rust as well as clang, libclang-dev, cmake, make, protobuf-compiler, git installed, or set it up using bin/mac_setup.sh.
  3. Build the checked out repo using swift/build_ffi.sh --release.
  4. nano *.podspec
  5. Add s.osx.deployment_target = '10.15' after s.swift_version = '5' in Podspec file.
  6. pod lib lint --platforms=macos
  7. In your project's Podfile: