fastlane

deliversnapshotframeitpemsighproducecertspaceshippilotboardinggymscanmatchprecheck

-------

Precheck ============ [![Twitter: @FastlaneTools](https://img.shields.io/badge/contact-@FastlaneTools-blue.svg?style=flat)](https://twitter.com/FastlaneTools) [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/LICENSE) ###### Check your app using a community driven set of App Store review rules to avoid being rejected 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](https://twitter.com/FastlaneTools) -------

FeaturesQuick StartUsageExampleHow does it work?TipsNeed help?

-------
precheck is part of fastlane: The easiest way to automate beta deployments and releases for your iOS and Android apps.
# Features | | 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.| ##### [Do you like fastlane? Be the first to know about updates and new fastlane tools](https://tinyletter.com/fastlane-tools) # Quick Start sudo gem install fastlane # Usage Run _fastlane precheck_ to check the app metadata from iTunes Connect fastlane precheck To get a list of available options run fastlane precheck --help # Example 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: ```ruby # 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_](https://github.com/fastlane/fastlane/tree/master/fastlane) _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. Update your `Fastfile` to contain the following code: ```ruby 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 ``` # How does it work? `precheck` will access `iTunes Connect` to download your app's metadata. It uses [spaceship](https://spaceship.airforce) to communicate with Apple's web services. # Tips ## [`fastlane`](https://fastlane.tools) Toolchain - [`fastlane`](https://fastlane.tools): The easiest way to automate beta deployments and releases for your iOS and Android apps - [`deliver`](https://github.com/fastlane/fastlane/tree/master/deliver): Upload screenshots, metadata and your app to the App Store - [`snapshot`](https://github.com/fastlane/fastlane/tree/master/snapshot): Automate taking localized screenshots of your iOS app on every device - [`frameit`](https://github.com/fastlane/fastlane/tree/master/frameit): Quickly put your screenshots into the right device frames - [`pem`](https://github.com/fastlane/fastlane/tree/master/pem): Automatically generate and renew your push notification profiles - [`sigh`](https://github.com/fastlane/fastlane/tree/master/sigh): Because you would rather spend your time building stuff than fighting provisioning - [`produce`](https://github.com/fastlane/fastlane/tree/master/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line - [`cert`](https://github.com/fastlane/fastlane/tree/master/cert): Automatically create and maintain iOS code signing certificates - [`spaceship`](https://github.com/fastlane/fastlane/tree/master/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect - [`pilot`](https://github.com/fastlane/fastlane/tree/master/pilot): The best way to manage your TestFlight testers and builds from your terminal - [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers - [`gym`](https://github.com/fastlane/fastlane/tree/master/gym): Building your iOS apps has never been easier - [`scan`](https://github.com/fastlane/fastlane/tree/master/scan): The easiest way to run tests of your iOS and Mac app - [`match`](https://github.com/fastlane/fastlane/tree/master/match): Easily sync your certificates and profiles across your team using git ##### [Do you like fastlane? Be the first to know about updates and new fastlane tools](https://tinyletter.com/fastlane-tools) # Need help? Please submit an issue on GitHub and provide information about your setup # Want to improve precheck's rules? 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. # Code of Conduct 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). # License 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.