You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's set `BUILD_UNIVERSAL` to tell `make` that we are building Boost as
@@ -96,8 +98,14 @@ port install boost -no_static
96
98
97
99
* Make sure you have updated all the dependencies. If you cloned squirrel with the command in this guide, you've already done it. But if not, this command will update submodules.
98
100
99
-
```
101
+
```sh
100
102
git submodule update --init --recursive
103
+
104
+
export BUILD_UNIVERSAL=1
105
+
export CMAKE_GENERATOR=Ninja
106
+
107
+
make -C librime
108
+
make deps
101
109
```
102
110
103
111
* With all dependencies ready, build `Squirrel.app`:
@@ -109,11 +117,14 @@ make
109
117
To build only for the native architecture, and/or specify the lowest supported macOS version, pass variable `ARCHS`/`MACOSX_DEPLOYMENT_TARGET` to `make`:
110
118
111
119
```sh
112
-
# for Universal macOS App, targetting Ventura
113
-
make ARCHS='arm64 x86_64' MACOSX_DEPLOYMENT_TARGET='13.0'
120
+
# for Universal macOS App
121
+
make ARCHS='arm64 x86_64' MACOSX_DEPLOYMENT_TARGET='10.15'
122
+
123
+
# for Mac computers with Apple Silicon
124
+
make ARCHS='arm64' MACOSX_DEPLOYMENT_TARGET='10.15'
114
125
115
-
# for ARM macOS App, targetting Ventura
116
-
make ARCHS='arm64' MACOSX_DEPLOYMENT_TARGET='13.0'
126
+
# for Intel-based Mac
127
+
make ARCHS='x86_64' MACOSX_DEPLOYMENT_TARGET='10.15'
117
128
```
118
129
119
130
## Install it on your Mac
@@ -123,7 +134,7 @@ make ARCHS='arm64' MACOSX_DEPLOYMENT_TARGET='13.0'
123
134
Just add `package` after `make`
124
135
125
136
```
126
-
make package ARCHS='arm64' MACOSX_DEPLOYMENT_TARGET='13.0'
137
+
make package ARCHS='arm64' MACOSX_DEPLOYMENT_TARGET='10.14'
127
138
```
128
139
129
140
Define or echo `DEV_ID` to automatically handle code signing and [notarization](https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution) (Apple Developer ID needed)
0 commit comments