We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4f3a6b commit d848247Copy full SHA for d848247
native-script.rb
@@ -1,5 +1,18 @@
1
# coding: utf-8
2
3
+# Only the user can manually download and install Xcode from AppStore
4
+puts "Installing Xcode. Please click on 'Get Xcode' on the following dialog and install Xcode from AppStore."
5
+`xcode-select --install`
6
+
7
+until `pkgutil --pkg-info=com.apple.pkg.Xcode`.include? "version" do
8
+ puts "Waiting for Xcode do finish installing..."
9
+ sleep(20)
10
+end
11
12
+puts "You need to agree to Xcode license to be able to use the compilers... (You might need to provide your password.)"
13
+`sudo gcc`
14
15
+# Install all other dependencies
16
puts "Installing Homebrew... (You might need to provide your password.)"
17
`ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
18
0 commit comments