@@ -62,7 +62,8 @@ GITHUB_ACCESS_TOKEN = ENV['GITHUB_ACCESS_TOKEN']
6262
6363OUDS_WORKSPACE = "DesignToolbox.xcworkspace"
6464OUDS_PROJECT = "DesignToolbox.xcodeproj"
65- OUDS_SCHEME = "DesignToolbox"
65+ OUDS_SCHEME_DEFAULT = "DesignToolbox"
66+ OUDS_TARGET_IOS = "DesignToolbox (iOS)"
6667OUDS_SNAPSHOTS_SNAPSHOTS_TEST_SCHEME = "DesignToolboxSnapshotsTests"
6768OUDS_SNAPSHOTS_UI_TEST_SCHEME = "DesignToolboxUITests"
6869OUDS_SNAPSHOTS_UNIT_TEST_SCHEME = "DesignToolboxUnitTests"
@@ -95,7 +96,7 @@ platform :ios do
9596 lane :check_dead_code do
9697 puts "👉 Check dead code with Periphery"
9798
98- sh "periphery scan --project ../#{ OUDS_WORKSPACE } --schemes #{ OUDS_SCHEME } --format xcode"
99+ sh "periphery scan --project ../#{ OUDS_WORKSPACE } --schemes #{ OUDS_SCHEME_DEFAULT } --format xcode"
99100 end
100101
101102 # ------------------------------------------------------------
@@ -297,7 +298,7 @@ platform :ios do
297298 end
298299
299300 gym (
300- scheme : OUDS_SCHEME ,
301+ scheme : OUDS_SCHEME_DEFAULT ,
301302 output_directory : 'build/' ,
302303 archive_path : 'build/' ,
303304 output_name : 'odsApp' ,
@@ -503,17 +504,17 @@ platform :ios do
503504
504505 # Disable automatic code signing for release / distribution builds.
505506 # Thus we won't use any Xcode with plugged account in, and use only needed certificates and provisioning profiles.
506- # Mobile provisioning profile named "OUDS demo app (release)" must be placed in runner.
507+ # Mobile provisioning profile named "OUDS iOS app (release)" must be placed in runner.
507508 # The certificate(s) used to build (with bundle ID) the provisionning profile must be available in the keychain of the runner
508509 # (both .cer and .p12), here a distribution certificate.
509510 # This way is more agile and allows to use VM-based solution with on the fly configuration like with Tart.
510511 update_code_signing_settings ( path : "#{ OUDS_PROJECT } " ,
511512 use_automatic_signing : false ,
512- profile_name : 'OUDS demo app (release)' ,
513- targets : OUDS_SCHEME )
513+ profile_name : 'OUDS iOS app (release)' ,
514+ targets : OUDS_TARGET_IOS )
514515
515516 gym ( workspace : "#{ OUDS_WORKSPACE } " ,
516- scheme : OUDS_SCHEME ,
517+ scheme : OUDS_SCHEME_DEFAULT ,
517518 configuration : "Release" ,
518519 output_directory : "build/" ,
519520 export_method : "app-store" ,
@@ -789,7 +790,7 @@ platform :ios do
789790 def get_app_version
790791 version = get_version_number (
791792 xcodeproj : OUDS_PROJECT ,
792- target : OUDS_SCHEME
793+ target : OUDS_TARGET_IOS
793794 )
794795 return version
795796 end
0 commit comments