How to solve the biggest problems with automating iOS builds

Automating iOS Builds in Jenkins should be easy. When you say it fast it sounds like it could be easy. 2 weeks of my life later, the automation of iOS builds has some complexities which I hadn’t expected. The main problem I had was with precompiled headers. It wasn’t long before I got the error “has been modified since the precompiled header”.

For simplicity I am going to write about how to overcome this problem in simple shell commands. For this post at least I am going to shy away from translating this into re-usable build scripts which can be called from Jenkins. The topic sounds like a good future blog post topic through so rest assured I will write about how to create a Jenkins build for iOS builds in the future.

Read more