diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ae1226..32674fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: - name: Upload results uses: actions/upload-artifact@v3 with: - name: blips-apple-x86_64.zip + name: blips-apple-universal.zip path: | build/tools/blisp/blisp if-no-files-found: error diff --git a/CMakeLists.txt b/CMakeLists.txt index e8c1d18..d9da57f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 3.16) +set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE) project(blisp C) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_C_STANDARD 11) diff --git a/README.md b/README.md index 3c0fc8d..17475fc 100644 --- a/README.md +++ b/README.md @@ -94,3 +94,20 @@ Because this is done at the lowest level of serial communication, the displays aren't packet-aware or know about the chip's command set or such. This is really only useful for debugging systems-level issues withing the device or blisp itself. + +## Troubleshooting + +### macOS + +Depending on your current system security settings, modern versions of macOS requires all software to be notarised before you are able to execute it. This is specially true for software that is downloaded directly from the internet. + +If that is the case, you will get an error that looks like the following: +> **“blisp” cannot be opened because the developer cannot be verified.** +> +> macOS cannot verify that this app is free from malware. + +In that case, you will need to remove the *quarantine* flag that macOS adds to the executable. After that you should be able to run **blisp** as normal. + +```bash +xattr -d com.apple.quarantine blisp +```