|
15 | 15 |
|
16 | 16 | desc 'Provisions the profiles; bumps the build number; builds the app' |
17 | 17 | lane :build do |
18 | | - sh('security find-identity -v -p codesigning') |
19 | | - |
20 | | - # Build the app |
21 | | - gym(export_method: 'ad-hoc') |
| 18 | + gym(include_bitcode: true, |
| 19 | + include_symbols: true) |
22 | 20 | end |
23 | 21 |
|
24 | 22 | desc 'Submit a new Beta Build to Testflight' |
|
27 | 25 | increment_build_number(build_number: latest_testflight_build_number + 1, |
28 | 26 | xcodeproj: ENV['GYM_PROJECT']) |
29 | 27 |
|
30 | | - gym(export_method: 'app-store') |
| 28 | + build |
31 | 29 |
|
32 | 30 | testflight |
33 | 31 | end |
34 | 32 |
|
| 33 | + desc 'Upload dYSM symbols to Bugsnag from Apple' |
| 34 | + lane :refresh_dsyms do |
| 35 | + download_dsyms |
| 36 | + upload_symbols_to_bugsnag |
| 37 | + clean_build_artifacts |
| 38 | + end |
| 39 | + |
35 | 40 | desc 'Run iOS builds or tests, as appropriate' |
36 | 41 | lane :'ci-run' do |
37 | 42 | # set up things so they can run |
38 | 43 | authorize_ci_for_keys |
39 | 44 | ci_keychains |
40 | 45 |
|
41 | | - # Set up code signing correctly |
42 | | - # (more information: https://codesigning.guide) |
43 | | - match(type: 'appstore', readonly: true) |
44 | | - match(type: 'adhoc', readonly: true) |
45 | | - |
46 | 46 | # set the app version |
47 | 47 | set_version |
48 | 48 |
|
|
86 | 86 | create_keychain(name: keychain, |
87 | 87 | password: password, |
88 | 88 | timeout: 3600) |
89 | | - |
90 | | - match(readonly: true) |
| 89 | + |
| 90 | + # Set up code signing correctly |
| 91 | + # (more information: https://codesigning.guide) |
| 92 | + match(type: 'appstore', readonly: true) |
91 | 93 |
|
92 | 94 | sh("security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k #{password} #{keychain}") |
| 95 | + |
| 96 | + sh('security find-identity -v -p codesigning') |
93 | 97 | end |
94 | 98 | end |
0 commit comments