/awesome-xcode-scripts

A curated list of useful xcode scripts 📝 .

Primary LanguageShellMIT LicenseMIT

Awesome Xcode Scripts

Awesome Platform Programming Language license

A curated list of useful Xcode scripts 📝.

Content

How to Setup

  • Open Xcode project. Select your target
  • Build Phases -> Add Build Phase -> Add Run Script Build Phase
  • Open "Run Script" section that was created and .
  • Copy & Paste your script there.
  • (Optional) Rename your Run Scripts to identify them easily.

DEMO

Scripts

Build Number Auto-Increment Script

  • BuildVersion.sh - A script that runs each time you build your app in Xcode to read the Build number, increment it, and write it back to the app's {App}-Info.plist file.

Build Number Auto-Increment Script on Git Commit

CAUTION

Use this only if you are pushing you code to git.

Semantic Version Auto-Increment Script

CAUTION

Insure your starting version number is in SemVer format (e.g. 1.0.0)

AppIcon Versioning Auto-Increment Script

Detect FixMe ToDo Error Tag On Swift Script

Installation

  1. Download the zip or clone the repo to your desired directory.
$ git clone https://github.com/aashishtamsya/awesome-xcode-scripts.git

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request 😉 😊

Credits

Aashish Tamsya @ChiefAashish, aashish.tamsya@gmail.com

License

The content of Awesome Xcode Scripts itself is licensed under the Creative Commons Attribution 3.0 license, and the underlying source code used to format and display that content is licensed under the MIT license.

See the LICENSE file for more info.