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
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:
@@ -12,20 +12,22 @@ platform :ios do
|
|||||||
xcodeproj: "LibNovel.xcodeproj"
|
xcodeproj: "LibNovel.xcodeproj"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Use automatic signing - Xcode will find the right profile
|
# Enable automatic code signing and set team
|
||||||
update_code_signing_settings(
|
update_code_signing_settings(
|
||||||
use_automatic_signing: true,
|
use_automatic_signing: true,
|
||||||
path: "LibNovel.xcodeproj",
|
|
||||||
team_id: "GHZXC6FVMU",
|
team_id: "GHZXC6FVMU",
|
||||||
targets: ["LibNovel"]
|
targets: ["LibNovel"],
|
||||||
|
path: "LibNovel.xcodeproj"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Build the app
|
# Build the app with automatic signing
|
||||||
build_app(
|
build_app(
|
||||||
scheme: "LibNovel",
|
scheme: "LibNovel",
|
||||||
export_method: "app-store",
|
export_method: "app-store",
|
||||||
clean: true,
|
clean: true,
|
||||||
configuration: "Release",
|
configuration: "Release",
|
||||||
|
export_xcargs: "-allowProvisioningUpdates",
|
||||||
|
xcargs: "-allowProvisioningUpdates",
|
||||||
export_options: {
|
export_options: {
|
||||||
method: "app-store",
|
method: "app-store",
|
||||||
teamID: "GHZXC6FVMU",
|
teamID: "GHZXC6FVMU",
|
||||||
|
|||||||
Reference in New Issue
Block a user