Skip to content

Commit b2d0ccb

Browse files
authored
Run pod setup as current used
`pod setup` should not be called as root.
1 parent 5d307d0 commit b2d0ccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native-script.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def install_environment_variable(name, value)
135135
# which works with Ruby 2.0 that comes as the macOS default, so these two installations should be in this order.
136136
# For more information see: https://github.com/CocoaPods/Xcodeproj/pull/393#issuecomment-231055159
137137
install("CocoaPods", "Installing CocoaPods... This might take some time, please, be patient.", 'gem install cocoapods -V', true)
138-
install("CocoaPods", "Setup CocoaPods... This might take some time, please, be patient.", 'pod setup', true)
138+
install("CocoaPods", "Setup CocoaPods... This might take some time, please, be patient.", 'pod setup', false)
139139
install("xcodeproj", "Installing xcodeproj... This might take some time, please, be patient.", 'gem install xcodeproj -V', true)
140140

141141
puts "Configuring your system for Android development... This might take some time, please, be patient."
@@ -165,4 +165,4 @@ def install_environment_variable(name, value)
165165
end
166166

167167
puts "The ANDROID_HOME and JAVA_HOME environment variables have been added to your .bash_profile/.zprofile"
168-
puts "Restart the terminal or run `source ~/.bash_profile` to use them."
168+
puts "Restart the terminal or run `source ~/.bash_profile` to use them."

0 commit comments

Comments
 (0)