deliver • snapshot • frameit • pem • sigh • produce • cert • spaceship • pilot • boarding • gym • scan • match • precheck
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 🚀
Get in contact with the developers on Twitter: @FastlaneTools
Features • Quick Start • Usage • Example • How does it work? • Tips • Need help?
precheck
is part of fastlane: The easiest way to automate beta deployments and releases for your iOS and Android apps.
precheck Features | |
---|---|
🐛 | product bug mentions |
🙅♂️ | Swear word checker |
🤖 | Mentioning other platforms |
😵 | URL reachability checker |
📝 | Placeholder/test words/mentioning future features |
📅 | Copyright date checking |
🙈 | Customizable word list checking |
📢 | 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. |
sudo gem install fastlane
Run fastlane precheck to check the app metadata from iTunes Connect
fastlane precheck
To get a list of available options run
fastlane precheck --help
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
.
Run fastlane precheck init
to create a new configuration file. Example:
# indicates that your metadata will not be checked by this rule
negative_apple_sentiment(level: :skip)
# when triggered, this rule will warn you of a potential problem
curse_words(level: :warn)
# show error and prevent any further commands from running after fastlane precheck finishes
unreachable_urls(level: :error)
# pass in whatever words you want to check for
custom_text(data: ["chrome", "webos"],
level: :warn)
Use with fastlane
precheck is fully integrated with deliver another fastlane tool.
Update your Fastfile
to contain the following code:
lane :production do
...
# by default deliver will call precheck and warn you of any problems
# if you want precheck to halt submitting to app review, you can pass
# precheck_default_rule_level: :error
deliver(precheck_default_rule_level: :error)
...
end
# or if you prefer, you can run precheck alone
lane :check_metadata do
precheck
end
precheck
will access iTunes Connect
to download your app's metadata. It uses spaceship to communicate with Apple's web services.
fastlane
Toolchain
fastlane
: The easiest way to automate beta deployments and releases for your iOS and Android appsdeliver
: Upload screenshots, metadata and your app to the App Storesnapshot
: Automate taking localized screenshots of your iOS app on every deviceframeit
: Quickly put your screenshots into the right device framespem
: Automatically generate and renew your push notification profilessigh
: Because you would rather spend your time building stuff than fighting provisioningproduce
: Create new iOS apps on iTunes Connect and Dev Portal using the command linecert
: Automatically create and maintain iOS code signing certificatesspaceship
: Ruby library to access the Apple Dev Center and iTunes Connectpilot
: The best way to manage your TestFlight testers and builds from your terminalboarding
: The easiest way to invite your TestFlight beta testersgym
: Building your iOS apps has never been easierscan
: The easiest way to run tests of your iOS and Mac appmatch
: Easily sync your certificates and profiles across your team using git
Please submit an issue on GitHub and provide information about your setup
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.
Help us keep precheck open and inclusive. Please read and follow our Code of Conduct.
This project is licensed under the terms of the MIT license. See the LICENSE file.
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.