gym 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fc8e8e8a7ee3ebdbf1f64d0049d3bd72b80887f
4
- data.tar.gz: 8e9c37baf81c9ec9a8c111addc6b40b880f59173
3
+ metadata.gz: a5f5e9f45848d646938258084c1063255b3ff116
4
+ data.tar.gz: 6dbd6b132ba4cedf9458c0bc0091df5aaa6626c8
5
5
  SHA512:
6
- metadata.gz: 616657e7f849eb720ad62a3432b04df184a26910a1fe8e971a73a32761c40b4ecbafce03cb0c66f414f47951e6e4d729295465593a699c51778f9521f3acf97d
7
- data.tar.gz: 15eb6650d7711bab161c9e0d980e432e08f21ee1698cf4e374a8486d04be2e7154e7e1fc66a4f6c2236136097a7d4d99e764faccfdc900d5119b37616e330dc5
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
@@ -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
- file_name = File.basename(PackageCommandGenerator.dsym_path)
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}' '#{file_name}'"
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
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  DESCRIPTION = "Building your iOS apps has never been easier"
4
4
  end
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.5
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-02 00:00:00.000000000 Z
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.8
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