From a1843a00e0346c8592ded284a28cba63cf786aca Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Wed, 18 Jan 2023 10:03:09 -0800 Subject: [PATCH] Build universal binary with both arm64 and x86_64. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e3b58cd..703c77e 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ ], "scripts": { "test": "xo && tsd", - "build": "swift build --configuration=release && mv .build/release/audio-devices .", + "build": "swift build --configuration=release --arch=arm64 --arch=x86_64 && mv .build/apple/Products/Release/audio-devices .", "prepublishOnly": "npm run build" }, "keywords": [