diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 28b9e1e..6c9efd8 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -434,8 +434,15 @@ platform :ios do xcode_args = [ xcode_build_setting("MARKETING_VERSION", version), - xcode_build_setting("CURRENT_PROJECT_VERSION", build_number) + xcode_build_setting("CURRENT_PROJECT_VERSION", build_number), + xcode_build_setting("CODE_SIGN_STYLE", "Manual"), + xcode_build_setting("DEVELOPMENT_TEAM", TEAM_ID), + xcode_build_setting("PROVISIONING_PROFILE_SPECIFIER", PROFILE_SPECIFIER), + xcode_build_setting("CODE_SIGN_IDENTITY", XCODE_CODE_SIGN_IDENTITY) ] + if present?(ENV["SYBIL_PROVISIONING_PROFILE_UUID"]) + xcode_args << xcode_build_setting("PROVISIONING_PROFILE", ENV.fetch("SYBIL_PROVISIONING_PROFILE_UUID")) + end if present?(ENV["SYBIL_SIGNING_KEYCHAIN_PATH"]) xcode_args << xcode_build_setting("CODE_SIGN_KEYCHAIN", ENV.fetch("SYBIL_SIGNING_KEYCHAIN_PATH")) xcode_args << xcode_build_setting("OTHER_CODE_SIGN_FLAGS", "--keychain #{ENV.fetch("SYBIL_SIGNING_KEYCHAIN_PATH")}")