fastlane 2.61.0.beta.20171006010004 → 2.61.0.beta.20171007010004
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -161
- data/cert/README.md +7 -166
- data/deliver/README.md +7 -287
- data/deliver/lib/deliver/runner.rb +1 -1
- data/fastlane/README.md +7 -209
- data/fastlane/lib/fastlane/actions/cocoapods.rb +27 -8
- data/fastlane/lib/fastlane/actions/docs/assets/FrameitGit.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/MacExample.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/PEMRecording.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/PilotTextTransparent.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/PilotTextTransparentSmall.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/PilotTextWhite.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/PilotTransparent.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/QuickLookScreenshot.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/ScreenshotsBig.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/ScreenshotsOverview.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/SignErrors.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/UDIDPrint.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/frameit.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/github_repo.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/htmlPage.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/htmlPagePreview.jpg +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/htmlPagePreviewFade.jpg +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/match.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/match_appstore_small.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/match_init.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/match_nuke.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/pem.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/pilot.ai +5377 -16
- data/fastlane/lib/fastlane/actions/docs/assets/precheck.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/precheck.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/produce.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/running-screengrab.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/scan.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/scanHTML.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/scanHTMLFailing.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/scanScreenshot.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/screengrab.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/sigh.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/sighRecording.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/slack.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/snapshot.gif +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/snapshot.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/supply.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/assets/testSummary.png +0 -0
- data/fastlane/lib/fastlane/actions/docs/cert.md +2 -4
- data/fastlane/lib/fastlane/actions/docs/deliver.md +1 -3
- data/fastlane/lib/fastlane/actions/docs/frameit.md +215 -0
- data/fastlane/lib/fastlane/actions/docs/gym.md +17 -17
- data/fastlane/lib/fastlane/actions/docs/match.md +352 -0
- data/fastlane/lib/fastlane/actions/docs/pem.md +120 -0
- data/fastlane/lib/fastlane/actions/docs/pilot.md +218 -0
- data/fastlane/lib/fastlane/actions/docs/precheck.md +97 -0
- data/fastlane/lib/fastlane/actions/docs/produce.md +227 -0
- data/fastlane/lib/fastlane/actions/docs/scan.md +145 -0
- data/fastlane/lib/fastlane/actions/docs/screengrab.md +145 -0
- data/fastlane/lib/fastlane/actions/docs/sigh.md +187 -0
- data/fastlane/lib/fastlane/actions/docs/snapshot.md +333 -0
- data/fastlane/lib/fastlane/actions/docs/supply.md +144 -0
- data/fastlane/lib/fastlane/plugins/plugin_manager.rb +5 -0
- data/fastlane/lib/fastlane/setup/setup_ios.rb +2 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/frameit/README.md +7 -290
- data/gym/README.md +7 -300
- data/match/README.md +7 -420
- data/match/lib/match/generator.rb +1 -0
- data/match/lib/match/git_helper.rb +31 -12
- data/match/lib/match/runner.rb +11 -6
- data/pem/README.md +7 -188
- data/pilot/README.md +7 -285
- data/pilot/lib/pilot/build_manager.rb +13 -10
- data/precheck/README.md +7 -171
- data/produce/README.md +7 -294
- data/scan/README.md +7 -219
- data/screengrab/README.md +7 -192
- data/sigh/README.md +7 -262
- data/snapshot/README.md +7 -408
- data/snapshot/lib/snapshot/reset_simulators.rb +4 -2
- data/spaceship/lib/spaceship/test_flight/build.rb +1 -1
- data/supply/README.md +7 -219
- metadata +52 -2
@@ -134,24 +134,27 @@ module Pilot
|
|
134
134
|
# This is where we could add a check to see if encryption is required and has been updated
|
135
135
|
uploaded_build.export_compliance.encryption_updated = false
|
136
136
|
|
137
|
-
if options[:distribute_external]
|
137
|
+
if options[:groups] || options[:distribute_external]
|
138
138
|
uploaded_build.beta_review_info.demo_account_required = false
|
139
139
|
uploaded_build.submit_for_testflight_review!
|
140
|
+
end
|
141
|
+
|
142
|
+
if options[:groups]
|
143
|
+
groups = Spaceship::TestFlight::Group.filter_groups(app_id: uploaded_build.app_id) do |group|
|
144
|
+
options[:groups].include?(group.name)
|
145
|
+
end
|
146
|
+
groups.each do |group|
|
147
|
+
uploaded_build.add_group!(group)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
if options[:distribute_external]
|
140
152
|
external_group = Spaceship::TestFlight::Group.default_external_group(app_id: uploaded_build.app_id)
|
141
153
|
uploaded_build.add_group!(external_group) unless external_group.nil?
|
142
154
|
|
143
155
|
if external_group.nil? && options[:groups].nil?
|
144
156
|
UI.user_error!("You must specify at least one group using the `:groups` option to distribute externally")
|
145
157
|
end
|
146
|
-
|
147
|
-
if options[:groups]
|
148
|
-
groups = Spaceship::TestFlight::Group.filter_groups(app_id: uploaded_build.app_id) do |group|
|
149
|
-
options[:groups].include?(group.name)
|
150
|
-
end
|
151
|
-
groups.each do |group|
|
152
|
-
uploaded_build.add_group!(group)
|
153
|
-
end
|
154
|
-
end
|
155
158
|
else # distribute internally
|
156
159
|
# in case any changes to export_compliance are required
|
157
160
|
if uploaded_build.export_compliance_missing?
|
data/precheck/README.md
CHANGED
@@ -1,181 +1,17 @@
|
|
1
1
|
<h3 align="center">
|
2
|
-
<a href="https://
|
3
|
-
<img src="
|
2
|
+
<a href="https://docs.fastlane.tools/actions/precheck">
|
3
|
+
<img src="https://raw.githubusercontent.com/fastlane/fastlane/master/fastlane/assets/fastlane.png" width="100" />
|
4
4
|
<br />
|
5
5
|
fastlane
|
6
6
|
</a>
|
7
7
|
</h3>
|
8
|
-
<p align="center">
|
9
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/deliver">deliver</a> •
|
10
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/snapshot">snapshot</a> •
|
11
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/frameit">frameit</a> •
|
12
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/pem">pem</a> •
|
13
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/sigh">sigh</a> •
|
14
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/produce">produce</a> •
|
15
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/cert">cert</a> •
|
16
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/spaceship">spaceship</a> •
|
17
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/pilot">pilot</a> •
|
18
|
-
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
19
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/gym">gym</a> •
|
20
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/scan">scan</a> •
|
21
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/match">match</a> •
|
22
|
-
<b>precheck</b>
|
23
|
-
</p>
|
24
8
|
|
25
|
-
|
9
|
+
------
|
26
10
|
|
27
11
|
<p align="center">
|
28
|
-
<
|
29
|
-
|
30
|
-
|
31
|
-
Precheck
|
32
|
-
============
|
33
|
-
|
34
|
-
[![Twitter: @FastlaneTools](https://img.shields.io/badge/contact-@FastlaneTools-blue.svg?style=flat)](https://twitter.com/FastlaneTools)
|
35
|
-
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/LICENSE)
|
36
|
-
|
37
|
-
###### Check your app using a community driven set of App Store review rules to avoid being rejected
|
38
|
-
|
39
|
-
Apple rejects builds for many avoidable metadata issues like including swear words 😮, other companies’ trademarks, or even mentioning an iOS bug 🐛. _fastlane precheck_ takes a lot of the guess work out by scanning your app’s details in iTunes Connect for avoidable problems. fastlane precheck helps you get your app through app review without rejections so you can ship faster 🚀
|
40
|
-
|
41
|
-
|
42
|
-
Get in contact with the developers on Twitter: [@FastlaneTools](https://twitter.com/FastlaneTools)
|
43
|
-
|
44
|
-
-------
|
45
|
-
|
46
|
-
<p align="center">
|
47
|
-
<a href="#features">Features</a> •
|
48
|
-
<a href="#quick-start">Quick Start</a> •
|
49
|
-
<a href="#usage">Usage</a> •
|
50
|
-
<a href="#example">Example</a> •
|
51
|
-
<a href="#how-does-it-work">How does it work?</a> •
|
52
|
-
<a href="#tips">Tips</a> •
|
53
|
-
<a href="#need-help">Need help?</a>
|
12
|
+
<a href="https://docs.fastlane.tools/actions/precheck">
|
13
|
+
<img src="https://raw.githubusercontent.com/fastlane/fastlane/master/precheck/assets/precheck.png" height="110">
|
14
|
+
</a>
|
54
15
|
</p>
|
55
16
|
|
56
|
-
|
57
|
-
|
58
|
-
<h5 align="center"><code>precheck</code> is part of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate beta deployments and releases for your iOS and Android apps.</h5>
|
59
|
-
|
60
|
-
# Features
|
61
|
-
|
62
|
-
|
63
|
-
| | precheck Features |
|
64
|
-
|----------|-----------------|
|
65
|
-
|🐛| product bug mentions|
|
66
|
-
|🙅♂️|Swear word checker|
|
67
|
-
|🤖|Mentioning other platforms|
|
68
|
-
|😵|URL reachability checker|
|
69
|
-
|📝|Placeholder/test words/mentioning future features|
|
70
|
-
|📅|Copyright date checking|
|
71
|
-
|🙈|Customizable word list checking|
|
72
|
-
|📢|You can decide if you want to warn about potential problems and continue or have _fastlane_ show an error and stop after all scans are done.|
|
73
|
-
|
74
|
-
##### [Do you like fastlane? Be the first to know about updates and new fastlane tools](https://tinyletter.com/fastlane-tools)
|
75
|
-
|
76
|
-
# Quick Start
|
77
|
-
|
78
|
-
sudo gem install fastlane
|
79
|
-
|
80
|
-
# Usage
|
81
|
-
Run _fastlane precheck_ to check the app metadata from iTunes Connect
|
82
|
-
|
83
|
-
fastlane precheck
|
84
|
-
|
85
|
-
To get a list of available options run
|
86
|
-
|
87
|
-
fastlane precheck --help
|
88
|
-
|
89
|
-
<img src="assets/precheck.gif" />
|
90
|
-
|
91
|
-
# Example
|
92
|
-
|
93
|
-
Since you might want to manually trigger _precheck_ but don't want to specify all the parameters every time, you can store your defaults in a so called `Precheckfile`.
|
94
|
-
|
95
|
-
Run `fastlane precheck init` to create a new configuration file. Example:
|
96
|
-
|
97
|
-
```ruby
|
98
|
-
# indicates that your metadata will not be checked by this rule
|
99
|
-
negative_apple_sentiment(level: :skip)
|
100
|
-
|
101
|
-
# when triggered, this rule will warn you of a potential problem
|
102
|
-
curse_words(level: :warn)
|
103
|
-
|
104
|
-
# show error and prevent any further commands from running after fastlane precheck finishes
|
105
|
-
unreachable_urls(level: :error)
|
106
|
-
|
107
|
-
# pass in whatever words you want to check for
|
108
|
-
custom_text(data: ["chrome", "webos"],
|
109
|
-
level: :warn)
|
110
|
-
```
|
111
|
-
|
112
|
-
### Use with [_fastlane_](https://github.com/fastlane/fastlane/tree/master/fastlane)
|
113
|
-
|
114
|
-
_precheck_ is fully integrated with [_deliver_](https://github.com/fastlane/fastlane/tree/master/deliver) another [_fastlane_](https://github.com/fastlane/fastlane/tree/master/fastlane) tool.
|
115
|
-
|
116
|
-
Update your `Fastfile` to contain the following code:
|
117
|
-
|
118
|
-
```ruby
|
119
|
-
lane :production do
|
120
|
-
...
|
121
|
-
# by default deliver will call precheck and warn you of any problems
|
122
|
-
# if you want precheck to halt submitting to app review, you can pass
|
123
|
-
# precheck_default_rule_level: :error
|
124
|
-
deliver(precheck_default_rule_level: :error)
|
125
|
-
...
|
126
|
-
end
|
127
|
-
|
128
|
-
# or if you prefer, you can run precheck alone
|
129
|
-
lane :check_metadata do
|
130
|
-
precheck
|
131
|
-
end
|
132
|
-
|
133
|
-
```
|
134
|
-
|
135
|
-
# How does it work?
|
136
|
-
|
137
|
-
`precheck` will access `iTunes Connect` to download your app's metadata. It uses [spaceship](https://spaceship.airforce) to communicate with Apple's web services.
|
138
|
-
|
139
|
-
|
140
|
-
# Tips
|
141
|
-
## [`fastlane`](https://fastlane.tools) Toolchain
|
142
|
-
|
143
|
-
- [`fastlane`](https://fastlane.tools): The easiest way to automate beta deployments and releases for your iOS and Android apps
|
144
|
-
- [`deliver`](https://github.com/fastlane/fastlane/tree/master/deliver): Upload screenshots, metadata and your app to the App Store
|
145
|
-
- [`snapshot`](https://github.com/fastlane/fastlane/tree/master/snapshot): Automate taking localized screenshots of your iOS app on every device
|
146
|
-
- [`frameit`](https://github.com/fastlane/fastlane/tree/master/frameit): Quickly put your screenshots into the right device frames
|
147
|
-
- [`pem`](https://github.com/fastlane/fastlane/tree/master/pem): Automatically generate and renew your push notification profiles
|
148
|
-
- [`sigh`](https://github.com/fastlane/fastlane/tree/master/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
149
|
-
- [`produce`](https://github.com/fastlane/fastlane/tree/master/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
150
|
-
- [`cert`](https://github.com/fastlane/fastlane/tree/master/cert): Automatically create and maintain iOS code signing certificates
|
151
|
-
- [`spaceship`](https://github.com/fastlane/fastlane/tree/master/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
152
|
-
- [`pilot`](https://github.com/fastlane/fastlane/tree/master/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
153
|
-
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
154
|
-
- [`gym`](https://github.com/fastlane/fastlane/tree/master/gym): Building your iOS apps has never been easier
|
155
|
-
- [`scan`](https://github.com/fastlane/fastlane/tree/master/scan): The easiest way to run tests of your iOS and Mac app
|
156
|
-
- [`match`](https://github.com/fastlane/fastlane/tree/master/match): Easily sync your certificates and profiles across your team using git
|
157
|
-
|
158
|
-
##### [Do you like fastlane? Be the first to know about updates and new fastlane tools](https://tinyletter.com/fastlane-tools)
|
159
|
-
|
160
|
-
# Need help?
|
161
|
-
|
162
|
-
Before submitting a new GitHub issue, please make sure to
|
163
|
-
|
164
|
-
- Check out [docs.fastlane.tools](https://docs.fastlane.tools)
|
165
|
-
- Check out the README pages on [this repo](https://github.com/fastlane/fastlane)
|
166
|
-
- Search for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)
|
167
|
-
|
168
|
-
If the above doesn't help, please [submit an issue](https://github.com/fastlane/fastlane/issues) on GitHub and provide information about your setup, in particular the output of the `fastlane env` command.
|
169
|
-
|
170
|
-
# Want to improve precheck's rules?
|
171
|
-
Please submit an issue on GitHub and provide information about your App Store rejection! Make sure you scrub out any personally identifiable information since this will be public.
|
172
|
-
|
173
|
-
# Code of Conduct
|
174
|
-
Help us keep _precheck_ open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/fastlane/blob/master/CODE_OF_CONDUCT.md).
|
175
|
-
|
176
|
-
# License
|
177
|
-
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
178
|
-
|
179
|
-
> This project and all fastlane tools are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
|
180
|
-
|
181
|
-
|
17
|
+
<h3 align="center">The <i>precheck</i> docs were moved to <a href='https://docs.fastlane.tools/actions/precheck'>docs.fastlane.tools</a></h3>
|
data/produce/README.md
CHANGED
@@ -1,304 +1,17 @@
|
|
1
1
|
<h3 align="center">
|
2
|
-
<a href="https://
|
3
|
-
<img src="
|
2
|
+
<a href="https://docs.fastlane.tools/actions/produce">
|
3
|
+
<img src="https://raw.githubusercontent.com/fastlane/fastlane/master/fastlane/assets/fastlane.png" width="100" />
|
4
4
|
<br />
|
5
5
|
fastlane
|
6
6
|
</a>
|
7
7
|
</h3>
|
8
|
-
<p align="center">
|
9
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/deliver">deliver</a> •
|
10
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/snapshot">snapshot</a> •
|
11
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/frameit">frameit</a> •
|
12
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/pem">pem</a> •
|
13
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/sigh">sigh</a> •
|
14
|
-
<b>produce</b> •
|
15
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/cert">cert</a> •
|
16
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/spaceship">spaceship</a> •
|
17
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/pilot">pilot</a> •
|
18
|
-
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
19
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/gym">gym</a> •
|
20
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/scan">scan</a> •
|
21
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/match">match</a> •
|
22
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/precheck">precheck</a>
|
23
|
-
</p>
|
24
|
-
|
25
|
-
-------
|
26
|
-
|
27
|
-
<p align="center">
|
28
|
-
<img src="assets/produce.png" height="110">
|
29
|
-
</p>
|
30
|
-
|
31
|
-
produce
|
32
|
-
============
|
33
|
-
|
34
|
-
[![Twitter: @FastlaneTools](https://img.shields.io/badge/contact-@FastlaneTools-blue.svg?style=flat)](https://twitter.com/FastlaneTools)
|
35
|
-
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/produce/LICENSE)
|
36
|
-
|
37
|
-
###### Create new iOS apps on iTunes Connect and Dev Portal using your command line
|
38
8
|
|
39
|
-
|
40
|
-
|
41
|
-
Get in contact with the developers on Twitter: [@FastlaneTools](https://twitter.com/FastlaneTools)
|
42
|
-
|
43
|
-
-------
|
9
|
+
------
|
44
10
|
|
45
11
|
<p align="center">
|
46
|
-
|
47
|
-
<
|
48
|
-
|
49
|
-
<a href="#how-does-it-work">How does it work?</a> •
|
50
|
-
<a href="#tips">Tips</a> •
|
51
|
-
<a href="#need-help">Need help?</a>
|
12
|
+
<a href="https://docs.fastlane.tools/actions/produce">
|
13
|
+
<img src="https://raw.githubusercontent.com/fastlane/fastlane/master/produce/assets/produce.png" height="110">
|
14
|
+
</a>
|
52
15
|
</p>
|
53
16
|
|
54
|
-
|
55
|
-
|
56
|
-
<h5 align="center"><code>produce</code> is part of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate beta deployments and releases for your iOS and Android apps.</h5>
|
57
|
-
|
58
|
-
# Features
|
59
|
-
|
60
|
-
- **Create** new apps on both iTunes Connect and the Apple Developer Portal
|
61
|
-
- **Modify** Application Services on the Apple Developer Portal
|
62
|
-
- **Create** App Groups on the Apple Developer Portal
|
63
|
-
- **Associate** apps with App Groups on the Apple Developer Portal
|
64
|
-
- **Create** Merchant Identifiers on the Apple Developer Portal
|
65
|
-
- **Associate** apps with Merchant Identifiers on the Apple Developer Portal
|
66
|
-
- Support for **multiple Apple accounts**, storing your credentials securely in the Keychain
|
67
|
-
|
68
|
-
##### [Do you like fastlane? Be the first to know about updates and new fastlane tools](https://tinyletter.com/fastlane-tools)
|
69
|
-
|
70
|
-
# Installation
|
71
|
-
|
72
|
-
sudo gem install fastlane
|
73
|
-
|
74
|
-
# Usage
|
75
|
-
|
76
|
-
## Creating a new application
|
77
|
-
|
78
|
-
fastlane produce
|
79
|
-
|
80
|
-
To get a list of all available parameters:
|
81
|
-
|
82
|
-
fastlane produce --help
|
83
|
-
|
84
|
-
```
|
85
|
-
Commands: (* default)
|
86
|
-
associate_group Associate with a group, which is created if needed or simply located otherwise
|
87
|
-
associate_merchant Associate with a merchant for use with Apple Pay. Apple Pay will be enabled for this app
|
88
|
-
create * Creates a new app on iTunes Connect and the Apple Developer Portal
|
89
|
-
disable_services Disable specific Application Services for a specific app on the Apple Developer Portal
|
90
|
-
enable_services Enable specific Application Services for a specific app on the Apple Developer Portal
|
91
|
-
group Ensure that a specific App Group exists
|
92
|
-
help Display global or [command] help documentation
|
93
|
-
merchant Ensure that a specific Merchant exists
|
94
|
-
|
95
|
-
Global Options:
|
96
|
-
--verbose
|
97
|
-
-h, --help Display help documentation
|
98
|
-
-v, --version Display version information
|
99
|
-
|
100
|
-
Options for create:
|
101
|
-
-u, --username STRING Your Apple ID Username (PRODUCE_USERNAME)
|
102
|
-
-a, --app_identifier STRING App Identifier (Bundle ID, e.g. com.krausefx.app) (PRODUCE_APP_IDENTIFIER)
|
103
|
-
-e, --bundle_identifier_suffix STRING App Identifier Suffix (Ignored if App Identifier does not ends with .*) (PRODUCE_APP_IDENTIFIER_SUFFIX)
|
104
|
-
-q, --app_name STRING App Name (PRODUCE_APP_NAME)
|
105
|
-
-z, --app_version STRING Initial version number (e.g. '1.0') (PRODUCE_VERSION)
|
106
|
-
-y, --sku STRING SKU Number (e.g. '1234') (PRODUCE_SKU)
|
107
|
-
-j, --platform STRING The platform to use (optional) (PRODUCE_PLATFORM)
|
108
|
-
-m, --language STRING Primary Language (e.g. 'English', 'German') (PRODUCE_LANGUAGE)
|
109
|
-
-c, --company_name STRING The name of your company. Only required if it's the first app you create (PRODUCE_COMPANY_NAME)
|
110
|
-
-i, --skip_itc [VALUE] Skip the creation of the app on iTunes Connect (PRODUCE_SKIP_ITC)
|
111
|
-
-d, --skip_devcenter [VALUE] Skip the creation of the app on the Apple Developer Portal (PRODUCE_SKIP_DEVCENTER)
|
112
|
-
-s, --itc_users ARRAY Array of iTunes Connect users. If provided, you can limit access to this newly created app for users with the App Manager, Developer, Marketer or Sales roles (ITC_USERS)
|
113
|
-
-b, --team_id STRING The ID of your Developer Portal team if you're in multiple teams (PRODUCE_TEAM_ID)
|
114
|
-
-l, --team_name STRING The name of your Developer Portal team if you're in multiple teams (PRODUCE_TEAM_NAME)
|
115
|
-
-k, --itc_team_id [VALUE] The ID of your iTunes Connect team if you're in multiple teams (PRODUCE_ITC_TEAM_ID)
|
116
|
-
-p, --itc_team_name STRING The name of your iTunes Connect team if you're in multiple teams (PRODUCE_ITC_TEAM_NAME)
|
117
|
-
```
|
118
|
-
|
119
|
-
## Enabling / Disabling Application Services
|
120
|
-
|
121
|
-
If you want to enable Application Services for an App ID (HomeKit and HealthKit in this example):
|
122
|
-
|
123
|
-
fastlane produce enable_services --homekit --healthkit
|
124
|
-
|
125
|
-
If you want to disable Application Services for an App ID (iCloud in this case):
|
126
|
-
|
127
|
-
fastlane produce disable_services --icloud
|
128
|
-
|
129
|
-
If you want to create a new App Group:
|
130
|
-
|
131
|
-
fastlane produce group -g group.krausefx -n "Example App Group"
|
132
|
-
|
133
|
-
If you want to associate an app with an App Group:
|
134
|
-
|
135
|
-
fastlane produce associate_group -a com.krausefx.app group.krausefx
|
136
|
-
|
137
|
-
# Parameters
|
138
|
-
|
139
|
-
Get a list of all available options using
|
140
|
-
|
141
|
-
fastlane produce enable_services --help
|
142
|
-
|
143
|
-
```
|
144
|
-
--app-group Enable App Groups
|
145
|
-
--apple-pay Enable Apple Pay
|
146
|
-
--associated-domains Enable Associated Domains
|
147
|
-
--data-protection STRING Enable Data Protection, suitable values are "complete", "unlessopen" and "untilfirstauth"
|
148
|
-
--game-center Enable Game Center
|
149
|
-
--healthkit Enable HealthKit
|
150
|
-
--homekit Enable HomeKit
|
151
|
-
--wireless-conf Enable Wireless Accessory Configuration
|
152
|
-
--icloud STRING Enable iCloud, suitable values are "legacy" and "cloudkit"
|
153
|
-
--in-app-purchase Enable In-App Purchase
|
154
|
-
--inter-app-audio Enable Inter-App-Audio
|
155
|
-
--passbook Enable Passbook
|
156
|
-
--push-notification Enable Push notification (only enables the service, does not configure certificates)
|
157
|
-
--sirikit Enable SiriKit
|
158
|
-
--vpn-conf Enable VPN Configuration
|
159
|
-
```
|
160
|
-
|
161
|
-
fastlane produce disable_services --help
|
162
|
-
|
163
|
-
```
|
164
|
-
--app-group Disable App Groups
|
165
|
-
--apple-pay Disable Apple Pay
|
166
|
-
--associated-domains Disable Associated Domains
|
167
|
-
--data-protection Disable Data Protection
|
168
|
-
--game-center Disable Game Center
|
169
|
-
--healthkit Disable HealthKit
|
170
|
-
--homekit Disable HomeKit
|
171
|
-
--wireless-conf Disable Wireless Accessory Configuration
|
172
|
-
--icloud Disable iCloud
|
173
|
-
--in-app-purchase Disable In-App Purchase
|
174
|
-
--inter-app-audio Disable Inter-App-Audio
|
175
|
-
--passbook Disable Passbook
|
176
|
-
--push-notification Disable Push notifications
|
177
|
-
--sirikit Disable SiriKit
|
178
|
-
--vpn-conf Disable VPN Configuration
|
179
|
-
```
|
180
|
-
|
181
|
-
## Creating Apple Pay merchants and associating them with an App ID
|
182
|
-
|
183
|
-
If you want to create a new Apple Pay Merchant Identifier:
|
184
|
-
|
185
|
-
```
|
186
|
-
fastlane produce merchant -o merchant.com.example.production -r "Example Merchant Production"
|
187
|
-
```
|
188
|
-
|
189
|
-
Use `--help` for more information about all available parameters
|
190
|
-
```
|
191
|
-
fastlane produce merchant --help
|
192
|
-
```
|
193
|
-
|
194
|
-
If you want to associate an app with a Merchant Identifier:
|
195
|
-
|
196
|
-
```
|
197
|
-
fastlane produce associate_merchant -a com.krausefx.app merchant.com.example.production
|
198
|
-
```
|
199
|
-
|
200
|
-
If you want to associate an app with multiple Merchant Identifiers:
|
201
|
-
|
202
|
-
```
|
203
|
-
fastlane produce associate_merchant -a com.krausefx.app merchant.com.example.production merchant.com.example.sandbox
|
204
|
-
```
|
205
|
-
|
206
|
-
Use --help for more information about all available parameters
|
207
|
-
|
208
|
-
```
|
209
|
-
fastlane produce associate_merchant --help
|
210
|
-
```
|
211
|
-
|
212
|
-
## Environment Variables
|
213
|
-
|
214
|
-
All available values can also be passed using environment variables, run `fastlane produce --help` to get a list of all available parameters.
|
215
|
-
|
216
|
-
## [`fastlane`](https://github.com/fastlane/fastlane/tree/master/fastlane) Integration
|
217
|
-
|
218
|
-
Your `Fastfile` should look like this
|
219
|
-
```ruby
|
220
|
-
lane :release do
|
221
|
-
produce(
|
222
|
-
username: 'felix@krausefx.com',
|
223
|
-
app_identifier: 'com.krausefx.app',
|
224
|
-
app_name: 'MyApp',
|
225
|
-
language: 'English',
|
226
|
-
app_version: '1.0',
|
227
|
-
sku: '123',
|
228
|
-
team_name: 'SunApps GmbH' # only necessary when in multiple teams
|
229
|
-
|
230
|
-
# Optional
|
231
|
-
# App services can be enabled during app creation
|
232
|
-
enable_services: {
|
233
|
-
app_group: "on" # Valid values: "on", "off"
|
234
|
-
apple_pay: "on" # Valid values: "on", "off"
|
235
|
-
associated_domains: "on" # Valid values: "on", "off"
|
236
|
-
data_protection: "complete" # Valid values: "complete", "unlessopen", "untilfirstauth"
|
237
|
-
game_center: "on" # Valid values: "on", "off"
|
238
|
-
health_kit: "on" # Valid values: "on", "off"
|
239
|
-
home_kit: "on" # Valid values: "on", "off"
|
240
|
-
wireless_accessory: "on" # Valid values: "on", "off"
|
241
|
-
icloud: "cloudkit" # Valid values: "legacy", "cloudkit"
|
242
|
-
in_app_purchase: "on" # Valid values: "on", "off"
|
243
|
-
inter_app_audio: "on" # Valid values: "on", "off"
|
244
|
-
passbook: "on" # Valid values: "on", "off"
|
245
|
-
push_notification: "on" # Valid values: "on", "off"
|
246
|
-
siri_kit: "on" # Valid values: "on", "off"
|
247
|
-
vpn_configuration: "on" # Valid values: "on", "off"
|
248
|
-
}
|
249
|
-
)
|
250
|
-
|
251
|
-
deliver
|
252
|
-
end
|
253
|
-
```
|
254
|
-
|
255
|
-
To use the newly generated app in `deliver`, you need to add this line to your `Deliverfile`:
|
256
|
-
|
257
|
-
```ruby
|
258
|
-
apple_id ENV['PRODUCE_APPLE_ID']
|
259
|
-
```
|
260
|
-
|
261
|
-
This will tell `deliver`, which `App ID` to use, since the app is not yet available in the App Store.
|
262
|
-
|
263
|
-
You'll still have to fill out the remaining information (like screenshots, app description and pricing). You can use [deliver](https://github.com/fastlane/fastlane/tree/master/deliver) to upload your app metadata using a CLI
|
264
|
-
|
265
|
-
## How is my password stored?
|
266
|
-
`produce` uses the [password manager](https://github.com/fastlane/fastlane/tree/master/credentials_manager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/fastlane/fastlane/tree/master/credentials_manager) for more information.
|
267
|
-
|
268
|
-
# Tips
|
269
|
-
## [`fastlane`](https://fastlane.tools) Toolchain
|
270
|
-
|
271
|
-
- [`fastlane`](https://fastlane.tools): The easiest way to automate beta deployments and releases for your iOS and Android apps
|
272
|
-
- [`deliver`](https://github.com/fastlane/fastlane/tree/master/deliver): Upload screenshots, metadata and your app to the App Store
|
273
|
-
- [`snapshot`](https://github.com/fastlane/fastlane/tree/master/snapshot): Automate taking localized screenshots of your iOS app on every device
|
274
|
-
- [`frameit`](https://github.com/fastlane/fastlane/tree/master/frameit): Quickly put your screenshots into the right device frames
|
275
|
-
- [`pem`](https://github.com/fastlane/fastlane/tree/master/pem): Automatically generate and renew your push notification profiles
|
276
|
-
- [`sigh`](https://github.com/fastlane/fastlane/tree/master/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
277
|
-
- [`cert`](https://github.com/fastlane/fastlane/tree/master/cert): Automatically create and maintain iOS code signing certificates
|
278
|
-
- [`spaceship`](https://github.com/fastlane/fastlane/tree/master/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
279
|
-
- [`pilot`](https://github.com/fastlane/fastlane/tree/master/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
280
|
-
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
281
|
-
- [`gym`](https://github.com/fastlane/fastlane/tree/master/gym): Building your iOS apps has never been easier
|
282
|
-
- [`scan`](https://github.com/fastlane/fastlane/tree/master/scan): The easiest way to run tests of your iOS and Mac app
|
283
|
-
- [`match`](https://github.com/fastlane/fastlane/tree/master/match): Easily sync your certificates and profiles across your team using git
|
284
|
-
- [`precheck`](https://github.com/fastlane/fastlane/tree/master/precheck): Check your app using a community driven set of App Store review rules to avoid being rejected
|
285
|
-
|
286
|
-
##### [Do you like fastlane? Be the first to know about updates and new fastlane tools](https://tinyletter.com/fastlane-tools)
|
287
|
-
|
288
|
-
# Need help?
|
289
|
-
|
290
|
-
Before submitting a new GitHub issue, please make sure to
|
291
|
-
|
292
|
-
- Check out [docs.fastlane.tools](https://docs.fastlane.tools)
|
293
|
-
- Check out the README pages on [this repo](https://github.com/fastlane/fastlane)
|
294
|
-
- Search for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)
|
295
|
-
|
296
|
-
If the above doesn't help, please [submit an issue](https://github.com/fastlane/fastlane/issues) on GitHub and provide information about your setup, in particular the output of the `fastlane env` command.
|
297
|
-
|
298
|
-
# Code of Conduct
|
299
|
-
Help us keep `produce` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/fastlane/blob/master/CODE_OF_CONDUCT.md).
|
300
|
-
|
301
|
-
# License
|
302
|
-
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
303
|
-
|
304
|
-
> This project and all fastlane tools are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
|
17
|
+
<h3 align="center">The <i>produce</i> docs were moved to <a href='https://docs.fastlane.tools/actions/produce'>docs.fastlane.tools</a></h3>
|