diff --git a/Formula/rswift.rb b/Formula/rswift.rb index 6f44ce34c9..f7d0a0adfb 100644 --- a/Formula/rswift.rb +++ b/Formula/rswift.rb @@ -2,8 +2,8 @@ class Rswift < Formula desc "Get strong typed, autocompleted resources like images, fonts and segues" homepage "https://github.com/mac-cain13/R.swift" url "https://github.com/mac-cain13/R.swift.git", - :tag => "v3.3.0", - :revision => "d341d73f6009553717d5a0e8d813c21dc9f11e31" + :tag => "v4.0.0", + :revision => "0306ec185ad0f7753e9ea44fefdbf268d9e62184" bottle do cellar :any_skip_relocation @@ -11,11 +11,11 @@ class Rswift < Formula sha256 "79999cf741147dc10697f8354a14a43d060d0ac6ba352e7887b685ac8ca90c79" => :el_capitan end - depends_on :xcode => "8.0" + depends_on :xcode => "9.0" def install - ENV["CC"] = which(ENV.cc) - system "swift", "build", "-c", "release", "-Xswiftc", "-static-stdlib" + system "swift", "build", "--disable-sandbox", "-c", "release", "-Xswiftc", + "-static-stdlib" bin.install ".build/release/rswift" end