# This file contains the fastlane.tools configuration for iOS # You can find the documentation at https://docs.fastlane.tools # # For a list of all available actions, check out # # https://docs.fastlane.tools/actions # # For a list of all available plugins, check out # # https://docs.fastlane.tools/plugins/available-plugins # # Uncomment the line if you want fastlane to automatically update itself # update_fastlane default_platform(:ios) platform :ios do desc "Push a new release build to the App Store" lane :release do set_info_plist_value( path: "App/Info.plist", key: "NSLocationAlwaysAndWhenInUseUsageDescription", value: ENV['LOCATION_USAGE_DESCRIPTION'] ) update_build_settings( use_automatic_signing: false, path: "App.xcodeproj", team_id: ENV['TEAM_ID'], bundle_identifier: ENV['IOS_APP_IDENTIFIER'], profile_name: ENV['PROVISIONING_PROFILE_NAME'], entitlements_file_path: "App/App.entitlements" ) build_app(workspace: "App.xcworkspace", scheme: "App") # upload_to_app_store(skip_metadata: true, skip_screenshots: true) end end