From e9d7293d37f60306b0c5bc4dfc146b2ce250e1d4 Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 9 Mar 2026 18:57:21 +0500 Subject: [PATCH] Switch to manual code signing for CI (automatic signing requires Apple ID) --- ios/LibNovel/fastlane/Fastfile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ios/LibNovel/fastlane/Fastfile b/ios/LibNovel/fastlane/Fastfile index cb3fb28..ebfdb92 100644 --- a/ios/LibNovel/fastlane/Fastfile +++ b/ios/LibNovel/fastlane/Fastfile @@ -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" } )