Bouke / HAP

Swift implementation of the Homekit Accessory Protocol
https://boukehaarsma.nl/HAP/
MIT License
364 stars 50 forks source link

Getting Illegal instruction on Raspberry Pi4 #132

Open thgrossen opened 3 years ago

thgrossen commented 3 years ago

I'm getting Illegal instruction when trying to run on a Raspberry Pi4, any idea why?

  1. Installed Swift: curl -s https://packagecloud.io/install/repositories/swift-arm/release/script.deb.sh | sudo bash sudo apt install swift5
  2. Installed additional packages: apt install openssl libssl-dev libsodium-dev libcurl4-openssl-dev libavahi-compat-libdnssd-dev
  3. Try to build and run: swift run -c release hap-demo

Running Raspbian v10 Swift version 5.1.5

The project runs on macOS.

Thank you.