Skip to content

Crash on MacOS when architecture is ARM #91

@Timdebruijn

Description

@Timdebruijn

When trying to run the app 1.8.0(the downloaded .dmg from the release page) on a M1 Pro with MacOS 26.0.1 I get the following errors:

/Applications/Sideband.app/Contents/Resources/venv/bin /Applications/Sideband.app/Contents/Resources
Traceback (most recent call last):
  File "/Applications/Sideband.app/Contents/Resources/yourapp", line 5, in <module>
    from sbapp import main
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/sbapp/main.py", line 20, in <module>
    import RNS
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/RNS/__init__.py", line 42, in <module>
    from .Identity import Identity
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/RNS/Identity.py", line 41, in <module>
    from RNS.Cryptography import X25519PrivateKey, X25519PublicKey, Ed25519PrivateKey, Ed25519PublicKey
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/RNS/Cryptography/__init__.py", line 38, in <module>
    from .Token import Token
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/RNS/Cryptography/Token.py", line 36, in <module>
    from RNS.Cryptography import AES
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/RNS/Cryptography/AES.py", line 39, in <module>
    from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
    from cryptography.hazmat.primitives.ciphers.base import (
  File "/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
    from cryptography.hazmat.bindings._rust import openssl as rust_openssl
ImportError: dlopen(/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so, 0x0002): tried: '/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so' (no such file), '/Applications/Sideband.app/Contents/Resources/venv/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64'))`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions