Skip to content

Commit

Permalink
disable sandbox for vmcli build
Browse files Browse the repository at this point in the history
  • Loading branch information
gyf304 committed Feb 16, 2021
1 parent df21d80 commit 4ac4120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
mkdir -p build

build/vmcli: build vmcli/Sources/vmcli/main.swift vmcli/Package.swift
cd vmcli && swift build -c release --arch arm64 --arch x86_64
cd vmcli && swift build -c release --disable-sandbox --arch arm64 --arch x86_64
cp vmcli/.build/apple/Products/Release/vmcli build/vmcli
codesign -s - --entitlements vmcli/vmcli.entitlements build/vmcli
chmod +x build/vmcli
Expand Down

0 comments on commit 4ac4120

Please sign in to comment.