Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# This file contains the fastlane.tools configuration
# 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
# (1) Betaレーン 
desc "Submit App to Fabric Beta"
lane :beta do
# (2) アプリをビルドし、ipaファイルを作成する
gym(
configuration: "Release",
scheme: "SampleFastLane",
export_method: "ad-hoc",
output_directory: "./build/ipa/" + Time.new.strftime("%Y/%m/%d/%H%M"),
output_name: "SampleFastLane.ipa",
include_bitcode: false,
export_options: {
compileBitcode: false,
uploadBitcode: false,
provisioningProfiles: {
"com-dbank-com.SampleFastLane" => "SampleFastLaneProvisioning"
}
},
xcargs: "PROVISIONING_PROFILE_SPECIFIER='SampleFastLaneProvisioning'"
   )
slack(
channel: "#general",
message: "Betaにデプロイしました。",
slack_url: "https://hooks.slack.com/URL"
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment