Skip to content

Commit 11a6f33

Browse files
committed
ci: update Fastfile and Xcode release settings to focus first on iOS
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 483028d commit 11a6f33

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3176,15 +3176,11 @@
31763176
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
31773177
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
31783178
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
3179-
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
3180-
"CODE_SIGN_IDENTITY[sdk=xros*]" = "iPhone Developer";
31813179
CODE_SIGN_STYLE = Manual;
31823180
CURRENT_PROJECT_VERSION = 31;
31833181
DEVELOPMENT_ASSET_PATHS = "\"DesignToolbox/Preview Content\"";
31843182
DEVELOPMENT_TEAM = "";
31853183
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = MG2LSJNJB6;
3186-
"DEVELOPMENT_TEAM[sdk=macosx*]" = MG2LSJNJB6;
3187-
"DEVELOPMENT_TEAM[sdk=xros*]" = MG2LSJNJB6;
31883184
ENABLE_PREVIEWS = YES;
31893185
GENERATE_INFOPLIST_FILE = NO;
31903186
INFOPLIST_FILE = DesignToolbox/Info.plist;
@@ -3205,8 +3201,6 @@
32053201
PRODUCT_NAME = "Design System Toolbox";
32063202
PROVISIONING_PROFILE_SPECIFIER = "";
32073203
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "OUDS iOS app (release)";
3208-
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "OUDS macOS app (release)";
3209-
"PROVISIONING_PROFILE_SPECIFIER[sdk=xros*]" = "OUDS visionOS app (development)";
32103204
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
32113205
SUPPORTS_MACCATALYST = NO;
32123206
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;

DesignToolbox/fastlane/Fastfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ platform :ios do
300300
scheme: OUDS_SCHEME,
301301
output_directory: 'build/',
302302
archive_path: 'build/',
303-
output_name: 'odsApp',
303+
output_name: 'oudsApp',
304304
configuration: 'Debug',
305305
include_symbols: true,
306306
skip_archive: true,
@@ -503,19 +503,22 @@ platform :ios do
503503

504504
# Disable automatic code signing for release / distribution builds.
505505
# 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-
# The certificate(s) used to build (with bundle ID) the provisionning profile must be available in the keychain of the runner
506+
# Mobile provisioning profiles named above must be placed in runner.
507+
# The certificate(s) used to build (with bundle ID) the provisionning profile(s) must be available in the keychain of the runner
508508
# (both .cer and .p12), here a distribution certificate.
509509
# This way is more agile and allows to use VM-based solution with on the fly configuration like with Tart.
510510
update_code_signing_settings(path: "#{OUDS_PROJECT}",
511511
use_automatic_signing: false,
512-
profile_name: 'OUDS demo app (release)',
513-
targets: OUDS_SCHEME)
512+
profile_name: "OUDS iOS app (release)",
513+
targets: OUDS_SCHEME,
514+
build_configurations: ["Release"])
514515

515516
gym(workspace: "#{OUDS_WORKSPACE}",
516517
scheme: OUDS_SCHEME,
517518
configuration: "Release",
519+
destination: "generic/platform=iOS",
518520
output_directory: "build/",
521+
output_name: "oudsApp",
519522
export_method: "app-store",
520523
archive_path: "build/oudsApp.xcarchive",
521524
xcargs: "-allowProvisioningUpdates")
@@ -571,6 +574,7 @@ platform :ios do
571574
end
572575

573576
upload_to_testflight(
577+
ipa: "build/oudsApp.ipa",
574578
changelog: news,
575579
app_identifier: "#{DEVELOPER_APP_IDENTIFIER}",
576580
skip_submission: false,

0 commit comments

Comments
 (0)