@@ -82,6 +82,25 @@ lane :test_modules do |options|
82
82
)
83
83
end
84
84
85
+ desc "" "
86
+ A lane for building for CodeQL analysis
87
+ " ""
88
+ lane :build_simulator do |options |
89
+ # clear_derived_data # Required otherwise raw xcodebuild doesn't work reliably
90
+ build_app (
91
+ project : PROJECT_NAME ,
92
+ xcargs : "-allowProvisioningUpdates -disableAutomaticPackageResolution -onlyUsePackageVersionsFromResolvedFile" ,
93
+ disable_package_automatic_updates : true , # Probably redundant because of `disableAutomaticPackageResolution` xcarg, but won't harm
94
+ scheme : ALPHA_SCHEME ,
95
+ clean : true ,
96
+ silent : false ,
97
+ export_method : "ad-hoc" ,
98
+ destination : "generic/platform=iOS Simulator" ,
99
+ skip_package_ipa : true ,
100
+ skip_archive : true
101
+ )
102
+ end
103
+
85
104
desc "" "
86
105
A lane that builds a \" Tangem\" scheme and uploads the archive to TestFlight for release.
87
106
Using enviroment: Production
@@ -102,9 +121,9 @@ lane :release do |options|
102
121
increment_testflight_build_number ( version : options [ :version ] , build : options [ :build ] )
103
122
104
123
build (
105
- scheme : PRODUCTION_SCHEME ,
106
- version : options [ :version ] ,
107
- filename : PRODUCTION_SCHEME ,
124
+ scheme : PRODUCTION_SCHEME ,
125
+ version : options [ :version ] ,
126
+ filename : PRODUCTION_SCHEME ,
108
127
path : BUILD_PATH ,
109
128
analyze_archive : options [ :analyze_archive ] ,
110
129
code_sign_identity : options [ :code_sign_identity ] ,
0 commit comments