Hey folks,
Here are my slides & extra info from my talk last night on Xcode from the command line.
Slides (PDF .zip
):
The notification functions that I use in Bash:
For these you will need either or both of:
- GrowlNotify - http://growl.info/downloads
- terminal-notifier - https://github.com/alloy/terminal-notifier
Add these lines to your ~/.bash_profile
to make use of Xcode's bundled Git goodies:
My Terminal prompt showing, among other things, current Git branch:
Hub, the handy utility if you use GitHub:
The lipo
example that I used when talking about the framework that I build is here:
And in response to Julio's question about incrementing build number, we use this in TileMill (direct .xcodeproj
link):
In an easier-to-read format:
This goes into a Run Shell Script build phase in your Xcode target and modifies the built product bundle directly.
Lastly, Ben Ford brought up the topic of automating provisioning profile updating, meaning bringing the actual profile(s) into your build process on a regular basis in response to frequent device adds. We didn't have any great answers other than to start looking into nomad's tools, so comments here are welcome!
Fire away with any questions!
JM