Код: Выделить всё
lane :build_and_deploy do
api_key = app_store_connect_api_key(
key_id: "XXXX",
issuer_id: "XXX",
key_filepath: "/Users/runner/AuthKey_XXXX.p8"
)
begin
gym(
#scheme: scheme,
skip_package_ipa: true,
export_method: 'development',
xcargs: '-allowProvisioningUpdates -onlyUsePackageVersionsFromResolvedFile -parallelizeTargets CURRENT_PROJECT_VERSION=9840 MARKETING_VERSION=2.0.7 -authenticationKeyID XXXX -authenticationKeyIssuerID XXX -authenticationKeyPath /Users/runner/AuthKey_XXXX.p8'
)
archive_path = lane_context[SharedValues::XCODEBUILD_ARCHIVE]
gym(
archive_path: archive_path,
skip_build_archive: true,
project: "helloSports.xcodeproj",
scheme: "helloSports",
clean: true,
xcargs: '-allowProvisioningUpdates -disableAutomaticPackageResolution -authenticationKeyID XXXX -authenticationKeyIssuerID XXX -authenticationKeyPath /Users/runner/AuthKey_XXXX.p8',
skip_package_dependencies_resolution: true,
#export_method: "app-store",
export_method: "development",
)
Подробнее здесь: https://stackoverflow.com/questions/787 ... -bundle-id