Skip to content

Instantly share code, notes, and snippets.

View Jacobinoo's full-sized avatar

Jakub Banasiewicz Jacobinoo

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:
@Jacobinoo
Jacobinoo / workflow.md
Last active May 27, 2023 14:11
Versioning and Git Workflow

Semantic Versioning

Details:

Versions are denoted using a standard triplet of integers: MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are incompatible, large-scale upgrades of the API. MINOR versions retain source and binary compatibility with older minor versions, and changes in the PATCH level are perfectly compatible, forwards and backwards.