I'm getting Illegal instruction when trying to run on a Raspberry Pi4, any idea why?
- Installed Swift:
curl -s https://packagecloud.io/install/repositories/swift-arm/release/script.deb.sh | sudo bash sudo apt install swift5
- Installed additional packages:
apt install openssl libssl-dev libsodium-dev libcurl4-openssl-dev libavahi-compat-libdnssd-dev
- 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.
I'm getting
Illegal instructionwhen trying to run on a Raspberry Pi4, any idea why?curl -s https://packagecloud.io/install/repositories/swift-arm/release/script.deb.sh | sudo bash sudo apt install swift5apt install openssl libssl-dev libsodium-dev libcurl4-openssl-dev libavahi-compat-libdnssd-devswift run -c release hap-demoRunning Raspbian v10
Swift version 5.1.5
The project runs on macOS.
Thank you.