From 996a849b804303fe2fa4aec6f9225b218a4d8662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Pin=CC=83era?= Date: Sat, 23 Sep 2017 12:49:03 +0200 Subject: [PATCH] [homebrew-disable-sandbox] Disable sandbox when building XcodeGen for Homebrew --- Formula/xcodegen.rb | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/xcodegen.rb b/Formula/xcodegen.rb index 7e8cf0de..c32d8d83 100644 --- a/Formula/xcodegen.rb +++ b/Formula/xcodegen.rb @@ -10,7 +10,7 @@ class Xcodegen < Formula def install xcodegen_path = "#{buildpath}/.build/release/XcodeGen" ohai "Building XcodeGen" - system("swift build -c release -Xswiftc -static-stdlib") + system("swift build --disable-sandbox -c release -Xswiftc -static-stdlib") bin.install xcodegen_path pkgshare.install "SettingPresets" end diff --git a/README.md b/README.md index d88a3c38..6807ca51 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ $ make ``` $ brew tap yonaskolb/XcodeGen https://github.com/yonaskolb/XcodeGen.git -$ brew install XcodeGen --no-sandbox +$ brew install XcodeGen ``` ### Swift Package Manager