Skip to content

Commit 7ed8a6b

Browse files
authored
Merge pull request #5098 from StoDevX/fastlane-check_build
fastlane: Fix `check_build` lane
2 parents 3372ed3 + 3024f1f commit 7ed8a6b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

fastlane/platforms/ios.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@
3232
products_dir = products_dir.map { |entry| entry.gsub(/.*BUILT_PRODUCTS_DIR = /, '') }
3333
products = products_dir.map { |entry| entry + "/#{ENV['GYM_OUTPUT_NAME']}.app/" }
3434

35+
propagate_version
36+
3537
# save it to a log file for later use
3638
FileUtils.mkdir_p('../logs')
3739
File.open('../logs/products', 'w') { |file| file.write(products.to_json) }
3840

3941
# build the .app
4042
build_status = 0
4143
begin
42-
propagate_version
43-
xcodebuild(
44-
build: true,
45-
scheme: ENV['GYM_SCHEME'],
46-
workspace: ENV['GYM_WORKSPACE'],
47-
destination: 'generic/platform=iOS',
48-
xcargs: %(CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=""),
49-
)
44+
gym(include_bitcode: true,
45+
include_symbols: true,
46+
skip_codesigning: true,
47+
skip_package_ipa: true,
48+
skip_package_pkg: true,
49+
skip_archive: true)
5050
rescue IOError => e
5151
build_status = 1
5252
raise e

0 commit comments

Comments
 (0)