Skip to content

Commit 6e09724

Browse files
committed
Added a check to avoid using xcode-select when specified platform is android
1 parent 50a98e4 commit 6e09724

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG
22

3+
## v1.10.0
4+
- Added a check to avoid using xcode-select if platform is android
5+
36
## v1.9.0
47
- Use Environment.xcconfig instead of Generated.xcconfig
58

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
flttr (1.8.3)
4+
flttr (1.9.0)
55
dotenv (~> 2.8.1)
66
gli (~> 2.21.0)
77
jwt (~> 2.7.0)
@@ -11,7 +11,7 @@ GEM
1111
remote: https://rubygems.org/
1212
specs:
1313
dotenv (2.8.1)
14-
gli (2.21.1)
14+
gli (2.21.5)
1515
jwt (2.7.1)
1616
minitest (5.18.0)
1717
pastel (0.8.0)

bin/flttr

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,12 @@ class App
252252
end
253253

254254
pre do |global,command,options,args|
255+
$default_xcode_location = nil
255256

256-
# Save the current Xcode location
257-
$default_xcode_location = `xcode-select -print-path`.gsub("\n", "")
257+
if @platform == "ios"
258+
# Save the current Xcode location
259+
$default_xcode_location = `xcode-select -print-path`.gsub("\n", "")
260+
end
258261

259262
# Set verbose logging
260263
$verbose = global[:verbose]

lib/flttr/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Flttr
2-
VERSION = '1.9.0'
2+
VERSION = '1.10.0'
33
end

0 commit comments

Comments
 (0)