/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
shared/ios/fastlane/Fastfile
121 строка
4 KB
chrisnojima
build(ios): restore automatic dev signing for local archives (#29434)
18 июл 2026, 00:44
Не верифицирован
18 июл 2026, 00:44
127651e
Код
Авторство
О чём код?
# Customise this file, documentation can be found here: # https://github.com/fastlane/fastlane/tree/master/docs # All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md # can also be listed using the `fastlane actions` command # Change the syntax highlighting to Ruby # All lines starting with a # are ignored when running `fastlane` # If you want to automatically update fastlane if a new version is available: # update_fastlane # This is the minimum version number required. # Update this, if you use features of a newer version fastlane_version "2.94.0" default_platform :ios platform :ios do desc "Runs all the tests" lane :test do scan end desc "Submit a new Beta Build to Apple TestFlight" desc "This will also make sure the profile is up to date" lane :beta do api_key = app_store_connect_api_key( key_id: "C783PA5XUX", issuer_id: "69a6de85-d809-47e3-e053-5b8c7c11a4d1", key_filepath: "/Users/test/AuthKey_C783PA5XUX.p8", duration: 1200, # optional (maximum 1200) in_house: false # optional but may be required if using match/sigh ) increment_build_number(build_number: latest_testflight_build_number(api_key: api_key) + 1) # The checked-in project uses automatic development signing so local # archives work; bot archives need manual distribution signing, so this # lane flips the Release configs before building. Portal profile names # aren't stable (sigh appends a timestamp when it has to create one), # so stamp whatever valid App Store profile sigh installs. sigh(app_identifier: "keybase.ios") main_profile = lane_context[SharedValues::SIGH_NAME] update_code_signing_settings( path: "Keybase.xcodeproj", targets: ["Keybase"], build_configurations: ["Release"], use_automatic_signing: false, code_sign_identity: "iPhone Distribution", sdk: "iphoneos*", profile_name: main_profile ) sigh(app_identifier: "keybase.ios.KeybaseShare") share_profile = lane_context[SharedValues::SIGH_NAME] update_code_signing_settings( path: "Keybase.xcodeproj", targets: ["KeybaseShare"], build_configurations: ["Release"], use_automatic_signing: false, code_sign_identity: "iPhone Distribution", sdk: "iphoneos*", profile_name: share_profile ) gym( scheme: "Keybase", export_method: "app-store", export_options: { signingStyle: "manual", provisioningProfiles: { "keybase.ios" => main_profile, "keybase.ios.KeybaseShare" => share_profile } } ) pilot( api_key: api_key, changelog: changelog_from_git_commits( pretty: '%h %s', between: ["HEAD^^^^^", "HEAD"] ) ) # sh "your_script.sh" # You can also use other beta testing services here (run `fastlane actions`) end desc "Deploy a new version to the App Store" lane :appstore do # snapshot gym(scheme: "Keybase") # Build your app - more options available deliver(force: true) # frameit end # You can define as many lanes as you want after_all do |lane| # This block is called, only if the executed lane was successful # slack( # message: "Successfully deployed new App Update." # ) end error do |lane, exception| # slack( # message: exception.message, # success: false # ) end end # More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md # All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md # fastlane reports which actions are used # No personal data is recorded. Learn more at https://github.com/fastlane/enhancer