Xcode Continuous Integration for iOS Tutorial – (Jenkins, CI, TDD, SVN, OCUnit, TestFlight)


Download

This video will cover installing a Jenkins build server, building from an Assembla SVN free remote private repository, run OCUnit tests for code coverage, deploy the resulting IPA to TestFlight for OTA installs and finally communicate statuses to stakeholders with Gmail. iOS codesigning will be covered in detail.

I am a full stack developer and founder of the popular open source project core-background for iOS on GitHub. https://github.com/justinmfischer/core-background .

Download

source

Have any Question or Comment?

27 comments on “Xcode Continuous Integration for iOS Tutorial – (Jenkins, CI, TDD, SVN, OCUnit, TestFlight)

Uchchu bochchu sounds are irritating

Reply

Nice tutorial to get overview of jenkins (y)

Reply

Hi I have followed this brilliant tutorial all the way…when I type locahost:8080/ a blank page comes up and when i click on java to change the user name fro jenkins to name…the page is loading, but asking for a password .. have tried used my user password with no success. where can i locate this password please

Reply

= Become an expert in Jenkins by mastering Build Pipeline, Reporting, Email & Build plugins, Secure Jenkins, Tomcat 7 and other related concepts start here! . http://shrsl.com/?~cmih

Reply

one stop solution for installing jenkins on mac.. Thanks Justin

Reply

Wonderful tutorial. Thanks a lot.

Reply

Hello! Are there any chances to run XCTest on jenkins?

Reply

Excellent tutorial. Many thanks for sharing it 🙂

Reply

code coverage harmony?hominy? what was that word and what did you mean?

Reply

Hi Justin. Since there is new version of the xcode plugin out there. Any chance you could make an updated version? Thanks

Reply

Very Informative video. Thank you for creating it 

Reply

Excellent video tutorial! Thanks for sharing your knowledge 🙂

Reply

great video. thanks a ton for posting.

Reply

Vincenzo is correct you need to enable the xcodebuild arguments. I appreciate the feedback about more complex TDD. At the time of writing I could not find high quality content online or in books about this subject matter. Therefore I posted it back to the community. The video is a high-level overview of the entire process. I could certainly see a few deep-dive videos on specifics.

Thanks,
Justin

Reply

I found a workaround for the Unit Tests. Do as Justin says, then follow the hint from

Jon Boydell

MONDAY, 28 JANUARY 2013

A Return to Unit Testing using xcodebuild

and set

Custom xcodebuild arguments TEST_AFTER_BUILD=YES TEST_HOST=

in the Jenkins plugin configuration.

Reply

Hi Gabriel I have found the answer.

In the TESTS section, set

Custom xcodebuild arguments TEST_AFTER_BUILD=YES TEST_HOST=

with NOTHING after TEST_HOST=

Reply

I found a blog from Daniel Beard on Unit Tests with Jenkins and iOS. It looks a lot more complex than your approach… Any remarks?

Many thanks

Reply

Thanks for the excellent tutorial. I also have problem with running the Unit Tests. Is there any intermediate step to take? Just adding the 'Tests' target build doesn't seem to be sufficient.

Reply

It's a great video. Thanks for sharing and please come up with installation procedure of Jenkins on MAC OS.

Reply

Awesome Tutorial. Probably the best tutorial available for Xcode CI using Jenkins and TestFlight. Tried and succeeded almost. However I get an upload error when uploading the ipa to testflight using the plugin.

Incorrect response code: 401
Invalid API token (did you get it from testflightapp site)

I configured the API token pair in the global settings and made sure both Team Token and API token were right. Any idea what is the issue,

Once again, thanks for the great tutorial

Reply

Great video Justin. Tks for sharing this 😉

Reply

Awesome video. Appreciate it. Keep the hard work up!

Reply

I followed your tutorial but still i can´t get the Jenkins to run the Test :/. At first it will run but the Test won´t execute, i have to change the option to "Test After Build" to "Yes" but with that a warning appears: " Skipping tests; the iPhoneSimulator platform does not currently support application-hosted tests (TEST_HOST set).", do you know how to fix it?. Regards.

Reply

Great tutorial!, I'll put it in practice right away.

Reply

good info, but if you cut out all the "uh" and "umms" the video would be 10 minutes shorter. I'm horrible at making tutorial videos so this is what I noticed.

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *