gym 1.1.5 → 1.1.6
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 +4 -4
- data/README.md +4 -0
- data/lib/gym/error_handler.rb +4 -0
- data/lib/gym/runner.rb +5 -2
- data/lib/gym/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5f5e9f45848d646938258084c1063255b3ff116
|
4
|
+
data.tar.gz: 6dbd6b132ba4cedf9458c0bc0091df5aaa6626c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 214125fc3aa776e2bc01a5f2d21dca7f6c3804029ade500a1a0b1bf08f40f06ac5e3885f946df3c69878763c38b273b4444e792adb0bc795c7ed4aec918b319a
|
7
|
+
data.tar.gz: dda9b35717156348d2bdd9bebb18d21c9b7481672dbb9215e3b8e4651c48484a43e183a97abb3d29405e1679a6b26fa721d0f0a3f4f76a26f9c7e1729d9d5fde
|
data/README.md
CHANGED
@@ -130,6 +130,10 @@ In general, if you run into issues while exporting the archive, try using:
|
|
130
130
|
|
131
131
|
gym --use_legacy_build_api true
|
132
132
|
|
133
|
+
Set the right export method if you're not uploading to App Store or TestFlight:
|
134
|
+
|
135
|
+
gym --export_method ad-hoc
|
136
|
+
|
133
137
|
To pass boolean parameters make sure to use `gym` like this:
|
134
138
|
|
135
139
|
gym --include_bitcode true --include_symbols false
|
data/lib/gym/error_handler.rb
CHANGED
@@ -82,6 +82,10 @@ module Gym
|
|
82
82
|
print "It seems like you ran into this radar"
|
83
83
|
print "https://openradar.appspot.com/radar?id=4952000420642816"
|
84
84
|
print "You can temporary use the :use_legacy_build_api option to get the build to work again"
|
85
|
+
when /IDEDistributionErrorDomain error 1/
|
86
|
+
print "There was an error exporting your application"
|
87
|
+
print "Unfortunately the new Xcode export API is unstable and causes problems on some project"
|
88
|
+
print "You can temporary use the :use_legacy_build_api option to get the build to work again"
|
85
89
|
end
|
86
90
|
raise "Error packaging up the application".red
|
87
91
|
end
|
data/lib/gym/runner.rb
CHANGED
@@ -109,10 +109,13 @@ module Gym
|
|
109
109
|
|
110
110
|
# Compress and move the dsym file
|
111
111
|
containing_directory = File.expand_path("..", PackageCommandGenerator.dsym_path)
|
112
|
-
|
112
|
+
|
113
|
+
available_dsyms = Dir.glob("#{containing_directory}/*.dSYM")
|
114
|
+
|
115
|
+
Helper.log.info "Compressing #{available_dsyms.count} dSYM(s)"
|
113
116
|
|
114
117
|
output_path = File.expand_path(File.join(Gym.config[:output_directory], Gym.config[:output_name] + ".app.dSYM.zip"))
|
115
|
-
command = "cd '#{containing_directory}' && zip -r '#{output_path}'
|
118
|
+
command = "cd '#{containing_directory}' && zip -r '#{output_path}' *.dSYM"
|
116
119
|
Helper.log.info command.yellow unless Gym.config[:silent]
|
117
120
|
command_result = `#{command}`
|
118
121
|
Helper.log.info command_result if $verbose
|
data/lib/gym/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gym
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
267
|
version: '0'
|
268
268
|
requirements: []
|
269
269
|
rubyforge_project:
|
270
|
-
rubygems_version: 2.4.
|
270
|
+
rubygems_version: 2.4.0
|
271
271
|
signing_key:
|
272
272
|
specification_version: 4
|
273
273
|
summary: Building your iOS apps has never been easier
|