Stories, software, and a life lived across several worlds
So far I’ve managed to create a simple skeleton of an IOS share extension using a template that ships with Xcode. I’m still learning how that all works and I’m pretty much a complete novice at the topic.
This blog post is part of a series about the development of ALE News using an approach to software development called Acceptance Test-Driven Development. For an overview please see the introductory article.
One thing that I still want to get right from the start is my fully automated build. I’m a big fan of the idea that you run a single command and that creates the whole software product in one go. That process may take a few minutes or a few hours. I expect it to get started with a single command and produce fully tested working software at the end that potentially can be shipped to a customer.
So I wrote a simple shell script called make-world.sh that first runs the already existing Maven build to produce the RESTful Article Service and the associated web client and then continues to build the IOS share extension using the Xcode tool chain on the command line.
At the very end it prints a summary.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ALE News ........................................... SUCCESS [ 0.277 s]
[INFO] common ............................................. SUCCESS [ 0.867 s]
[INFO] ALE News Article Service Webapp .................... SUCCESS [ 44.078 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.367 s
[INFO] Finished at: 2014-10-19T13:23:44+08:00
[INFO] Final Memory: 26M/736M
[INFO] ------------------------------------------------------------------------
[INFO] Making IOS Application
=== BUILD TARGET ScoopArticles OF PROJECT ALE-News WITH CONFIGURATION Debug ===
Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'App Extension' in SDK 'iOS 8.0'
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[INFO] ------------------------------------------------------------------------
[INFO] Web Services & Application ..... SUCCESS
[INFO] IOS Application ................ FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
Although the build fails at the moment that doesn’t matter as the point is to have it automated.
| Previous | 19 Oct 2014 | Next |
About me
Hello! My name is Stephan Schwab.
I build and rescue software, and I write fiction about the human side of how it gets made. Here you’ll find my stories and novelas, notes on craft, and field notes from a life lived across several worlds.
Working with software teams is what I do professionally — see how on caimito.net. You can also read about my experience since 1986.
Work with me
Hire me as the senior who embeds in your team and makes it ship.
Stories & writing
On the craft
Life across several worlds
Places that shaped me
Open Source
Stay in touch
LinkedIn Mastodon Bluesky TikTok Twitter RSS Email
Everything
See a listing of all posts on this site.