-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFastfile_tvOS
51 lines (41 loc) · 1.47 KB
/
Fastfile_tvOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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
opt_out_usage # opt-out of metrics collection
default_platform(:appletvos)
platform :appletvos do
desc "Push a new beta build to TestFlight"
lane :beta do
update_fastlane
clear_derived_data
cocoapods
#increment_build_number
#xcclean
# Build & Archive
gym(clean: true, suppress_xcode_output: true, workspace: "<your_workspace_file_name>.xcworkspace", scheme: "<your_scheme_name>")
# Only Build
# xcbuild(clean: true, suppress_xcode_output: true, workspace: "<your_workspace_file_name>.xcworkspace", scheme: "<your_scheme_name>")
# # Upload
# crashlytics(
# api_token: '<api_token>',
# build_secret: '<build_secret>',
# notes: "Build at " + ENV["BUILD_NUMBER"],
# notes_path: 'build/change.log',
# groups: "all",
# notifications: true
# )
# Submit to iTunes Connect (upload_to_testflight)
pilot(skip_submission: true, skip_waiting_for_build_processing: true, app_platform: "appletvos")
upload_symbols_to_crashlytics # Upload dSYM symbolication files to Crashlytics
end
end