File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ echo "Building for ARM64 (Apple Silicon)..."
1010swiftc -emit-library -o ../src/commonMain/resources/darwin-aarch64/libMacTray.dylib \
1111 -module-name MacTray \
1212 -swift-version 5 \
13+ -target arm64-apple-macosx11.0 \
1314 -O -whole-module-optimization \
1415 -framework Foundation \
1516 -framework Cocoa \
@@ -22,12 +23,12 @@ echo "Building for x86_64 (Intel)..."
2223swiftc -emit-library -o ../src/commonMain/resources/darwin-x86-64/libMacTray.dylib \
2324 -module-name MacTray \
2425 -swift-version 5 \
25- -target x86_64-apple-macosx10.14 \
26+ -target x86_64-apple-macosx11.0 \
2627 -O -whole-module-optimization \
2728 -framework Foundation \
2829 -framework Cocoa \
2930 -Xlinker -rpath -Xlinker @executable_path/../Frameworks \
3031 -Xlinker -rpath -Xlinker @loader_path/Frameworks \
3132 tray.swift
3233
33- echo " Build completed successfully."
34+ echo " Build completed successfully."
You can’t perform that action at this time.
0 commit comments