/ios-makefile

The universal makefile for my iOS projects distributes IPAs in seconds

iOS Makefile

The universal makefile for my iOS projects distributes IPAs in seconds. (a.k.a. OTA makefile)

Features

  • Git log as release notes
  • Shorten URL with my open source shortener: http://lexr.us or goo.gl
  • QRCode of URL.
  • Upload to SFTP via rsync -- make upload
  • Send emails with Mailgun -- make send_email
  • Local OTA server with Bonjour -- make serve and make stop_serve
  • Send iMessages to tester's iPhone -- make imessage
  • Show build settings -- make show_settings PRODUCT_SETTINGS_PATH or make show_settings | grep FLAG.*

Screenshots

screen shot 2013-07-03 at 10 59 13 pm

photo jul 03 10 56 46 pm

screen shot 2013-07-03 at 10 54 24 pm

Install

Download the makefile and the config file makefile.cfg into your project home folder:

curl -OL http://git.io/makefile
ls makefile.cfg 2>/dev/null >/dev/null||curl -OL http://git.io/makefile.cfg

Install libqrencode if you need the QRCode badge -- brew install qrencode.

How to use?

  • Modify makefile.cfg to match your workspace settings.
  • Make sure your build path is relative to workspace.
  • make to build & package your IPA.
  • make upload to upload the package to your SFTP server.
  • or make serve to serve the IPA in your local network.
  • make send_email will notify your QA team via Mailgun maillist.
  • But I prefer spamming my buddies with iMessage make imessage.

Credits

iOS Makefile was created by Lex Tang

Contact

Follow @lexrus on Twitter

License

This code is distributed under the terms and conditions of the MIT license.