Merge pull request 'ci/gitea-actions/macos-runner' (#37) from ci/gitea-actions/macos-runner into main
Reviewed-on: Loverde-Company-LTDA/Pedi-Foods-Skip#37
This commit is contained in:
@@ -195,6 +195,8 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = 496EB72F2A6AE4DE00C1253B /* PediFoods.xcconfig */;
|
baseConfigurationReference = 496EB72F2A6AE4DE00C1253B /* PediFoods.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
CODE_SIGN_IDENTITY = "Apple Distribution";
|
||||||
|
CODE_SIGN_STYLE = Manual;
|
||||||
DEVELOPMENT_TEAM = K4E5BZMM4V;
|
DEVELOPMENT_TEAM = K4E5BZMM4V;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Pedi Foods";
|
INFOPLIST_KEY_CFBundleDisplayName = "Pedi Foods";
|
||||||
@@ -202,6 +204,7 @@
|
|||||||
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
|
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
|
||||||
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
|
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "com.br.pedifoods.app AppStore";
|
||||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
||||||
SUPPORTS_MACCATALYST = NO;
|
SUPPORTS_MACCATALYST = NO;
|
||||||
TARGETED_DEVICE_FAMILY = 1;
|
TARGETED_DEVICE_FAMILY = 1;
|
||||||
|
|||||||
@@ -8,21 +8,15 @@ lane :assemble do |options|
|
|||||||
# only build the iOS side of the app
|
# only build the iOS side of the app
|
||||||
ENV["SKIP_ZERO"] = "true"
|
ENV["SKIP_ZERO"] = "true"
|
||||||
|
|
||||||
# Scope manual signing to just the app target - the SPM package's own
|
# Manual signing (team/identity/profile) for the "PediFoods App" target is
|
||||||
# generated targets (PediFoods, pedi-foods_PediFoods) explicitly don't
|
# baked directly into PediFoods.xcodeproj's own project settings - not
|
||||||
# support provisioning profiles and must stay on Automatic, so a blanket
|
# overridden here. A command-line xcargs/update_code_signing_settings
|
||||||
# xcargs override breaks them.
|
# override applies to the entire build graph, including the SPM package's
|
||||||
if ENV["DEVELOPMENT_TEAM"]
|
# own ephemeral targets (PediFoods, pedi-foods_PediFoods) which explicitly
|
||||||
update_code_signing_settings(
|
# reject provisioning profiles and must stay Automatic; there's no way to
|
||||||
use_automatic_signing: false,
|
# scope a global override to just one target, and update_code_signing_settings
|
||||||
path: "PediFoods.xcodeproj",
|
# itself can't parse this project's newer .pbxproj format anyway (gem
|
||||||
code_sign_identity: "Apple Distribution",
|
# limitation, not fixable by updating the gem).
|
||||||
profile_name: "com.br.pedifoods.app AppStore",
|
|
||||||
team_id: ENV["DEVELOPMENT_TEAM"],
|
|
||||||
targets: ["PediFoods App"]
|
|
||||||
)
|
|
||||||
end
|
|
||||||
|
|
||||||
build_app(
|
build_app(
|
||||||
scheme: "PediFoods App",
|
scheme: "PediFoods App",
|
||||||
sdk: "iphoneos",
|
sdk: "iphoneos",
|
||||||
|
|||||||
Reference in New Issue
Block a user