Fix iOS build: use update_code_signing_settings and explicit -allowProvisioningUpdates flags
Some checks failed
CI / Scraper / Lint (pull_request) Successful in 13s
CI / UI / Build (pull_request) Successful in 15s
CI / Scraper / Test (pull_request) Successful in 18s
CI / Scraper / Docker Push (pull_request) Has been skipped
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 58s

This commit is contained in:
Admin
2026-03-09 18:52:04 +05:00
parent 264c00c765
commit 410af8f236

View File

@@ -12,20 +12,22 @@ platform :ios do
xcodeproj: "LibNovel.xcodeproj"
)
# Use automatic signing - Xcode will find the right profile
# Enable automatic code signing and set team
update_code_signing_settings(
use_automatic_signing: true,
path: "LibNovel.xcodeproj",
team_id: "GHZXC6FVMU",
targets: ["LibNovel"]
targets: ["LibNovel"],
path: "LibNovel.xcodeproj"
)
# Build the app
# Build the app with automatic 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",