Skip to content

Commit 7a85414

Browse files
authored
Enable macOS universal builds (#52)
* enable universal builds (x86_64/arm64) on macOS * rename macOS build artifact filename * update README.md
1 parent c41d128 commit 7a85414

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Upload results
4343
uses: actions/upload-artifact@v3
4444
with:
45-
name: blips-apple-x86_64.zip
45+
name: blips-apple-universal.zip
4646
path: |
4747
build/tools/blisp/blisp
4848
if-no-files-found: error

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.16)
2+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
23
project(blisp C)
34
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
45
set(CMAKE_C_STANDARD 11)

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,20 @@ Because this is done at the lowest level of serial communication, the
9494
displays aren't packet-aware or know about the chip's command set or such.
9595
This is really only useful for debugging systems-level issues withing
9696
the device or blisp itself.
97+
98+
## Troubleshooting
99+
100+
### macOS
101+
102+
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.
103+
104+
If that is the case, you will get an error that looks like the following:
105+
> **“blisp” cannot be opened because the developer cannot be verified.**
106+
>
107+
> macOS cannot verify that this app is free from malware.
108+
109+
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.
110+
111+
```bash
112+
xattr -d com.apple.quarantine blisp
113+
```

0 commit comments

Comments
 (0)