fastlane-plugin-wait_xcrun 0.1.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f2a576188f366c1fbf889b6f535d58411769ca
|
4
|
+
data.tar.gz: d57a3cf151997ad2eda2a38f84e675ec31215dbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2242984fe73e4e9a03a4efe17c011e8c2e861f420d9e9451b5594af724aa1f25919ad088c6065e1337fe10fa6e3528692c52e433b2d9891602ff5acc36e54ef
|
7
|
+
data.tar.gz: 1f1797bffe2dd2c66fb98eee0b6389e425494a869d808d435862e077a4aef35000c82b150606cb82a21b9f9ed9fd8a00cffab2da917be37f7207462209f4d212
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# wait_xcrun plugin
|
2
2
|
|
3
3
|
[](https://rubygems.org/gems/fastlane-plugin-wait_xcrun)
|
4
|
+
[](https://badge.fury.io/gh/mgrebenets%2Ffastlane-plugin-wait_xcrun)
|
5
|
+
[](https://circleci.com/gh/mgrebenets/fastlane-plugin-wait_xcrun)
|
4
6
|
|
5
7
|
## Getting Started
|
6
8
|
|
@@ -2,12 +2,18 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class WaitXcrunAction < Action
|
4
4
|
def self.run(params)
|
5
|
+
unless system("command -v xcrun")
|
6
|
+
UI.important("xcrun command does not exist")
|
7
|
+
return
|
8
|
+
end
|
9
|
+
|
5
10
|
UI.message "Waiting for Xcode toolchain ..."
|
6
11
|
# Try running 'xcrun simctl help' subcommand until exit status is 0 or max number or retries is exceeded
|
7
12
|
retry_count = 0
|
8
13
|
loop do
|
9
14
|
system("xcrun simctl help 2>/dev/null 1>/dev/null")
|
10
15
|
break if $?.success? || retry_count >= 10
|
16
|
+
|
11
17
|
UI.important("Xcode toochain is not ready yet. Retrying ...")
|
12
18
|
sleep(1) # Take a short break
|
13
19
|
retry_count += 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-wait_xcrun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maksym Grebenets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6.
|
129
|
+
rubygems_version: 2.6.14
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Wait for Xcode toolchain to come back online after switching Xcode versions.
|