Switch to manual code signing for CI (automatic signing requires Apple ID)
Some checks failed
CI / Scraper / Lint (pull_request) Successful in 15s
CI / Scraper / Test (pull_request) Successful in 16s
CI / Scraper / Docker Push (pull_request) Has been skipped
CI / UI / Build (pull_request) Successful in 16s
CI / UI / Docker Push (pull_request) Has been skipped
iOS CI / Test (push) Has been cancelled
iOS CI / Build (push) Has been cancelled
iOS CI / Build (pull_request) Has been cancelled
iOS CI / Test (pull_request) Has been cancelled
iOS Release / Release to TestFlight (push) Failing after 57s

This commit is contained in:
Admin
2026-03-09 18:57:21 +05:00
parent 410af8f236
commit e9d7293d37

View File

@@ -12,28 +12,29 @@ platform :ios do
xcodeproj: "LibNovel.xcodeproj"
)
# Enable automatic code signing and set team
# Enable manual code signing with specific provisioning profile
update_code_signing_settings(
use_automatic_signing: true,
use_automatic_signing: false,
team_id: "GHZXC6FVMU",
targets: ["LibNovel"],
path: "LibNovel.xcodeproj"
path: "LibNovel.xcodeproj",
profile_name: ENV["PROVISIONING_PROFILE_NAME"] || "LibNovel Distribution",
code_sign_identity: "Apple Distribution"
)
# Build the app with automatic signing
# Build the app with manual signing
build_app(
scheme: "LibNovel",
export_method: "app-store",
clean: true,
configuration: "Release",
export_xcargs: "-allowProvisioningUpdates",
xcargs: "-allowProvisioningUpdates",
export_options: {
method: "app-store",
teamID: "GHZXC6FVMU",
provisioningProfiles: {
"com.kalekber.LibNovel" => ENV["PROVISIONING_PROFILE_NAME"] || "LibNovel Distribution"
}
},
signingStyle: "manual"
}
)