Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 755 Bytes
fastlane_version "1.99.0"
default_platform :ios
platform :ios do
project_name = 'CustomKeyboardTextField'
scheme_name = 'CustomKeyboardTextFieldDemo'
desc "Deploy demo application to Appetize.io"
lane :deploy_to_appetize do
base_build_dir = File.expand_path('build')
xcodebuild(project: "#{project_name}.xcodeproj",
scheme: scheme_name,
xcargs: "CONFIGURATION_BUILD_DIR=#{base_build_dir}",
sdk: 'iphonesimulator')
app_path = File.join(base_build_dir, "#{scheme_name}.app")
zip_path = File.join(base_build_dir, "#{scheme_name}.app.zip")
zip(path: app_path,
output_path: zip_path)
note = last_git_commit[:message]
appetize(path: zip_path, note: note)
end
end