Cocoaheads Montréal: Xcode Bots

Cocoaheads Montréal: Xcode Bots

Talking about Xcode bots (and writing a book about it)

B4f9306896b6eaa56a9a6b9048285f53?s=128

Romain Pouclet

November 11, 2014
Tweet

Transcript

  1. Xcode Bots Cocoaheads Montréal 11/2014

  2. Who ? • Romain Pouclet • @palleas • iOS developer

    at TechSolCom / R3D • Wrote a book
  3. I wrote a book • Pro Continuous Integration for iOS

    • 230 pages • Anybody wants one ?
  4. Continuous integration (CI) is the practice, in software engineering, of

    doing a bunch of stuff... — Wikipedia (kinda)
  5. Existing solutions • Jenkins !!! • Bamboo """ • Travis-CI

    & Ci ###
  6. Jenkins & TechSolCom • OpenSource ❤️ • Nice bash script

    • Homemade distribution store
  7. Bamboo & TechSolCom • ! • Complicated to use •

    Terrible support for Xcode projects • Unstable network = unstable instalation
  8. Travis & TechSolCom (Nope)

  9. Continuous integration is hard (and boring)

  10. Continuous integration is hard (and boring) Entering Apple (a few

    years later)
  11. Writing a book talking about Bots? • Working with Apress

    is great • Initially a small chapter about a promising solution • A bag of hurt at the time • Had to rewrite / update a few chapters after WWDC
  12. Getting started with Bots • Standalone Application • 20$ •

    Some cool features (App Store caching...) • Super easy to install ! • Super hard to remove "
  13. Repository Management • Manage access to remote repositories • Host

    your project on your OSX Server (This can be done via Xcode)
  14. User Management

  15. XCode service

  16. Setting up a bot • Build app • Static Analysis

    • Automated Tests / Performance analysis • Archiving
  17. Static Analysis

  18. Static Analysis from command line (For comparison purposes)

  19. Unit Testing

  20. Archiving

  21. Web interface

  22. Demo (Maybe.)

  23. 1 branch = 1 bot (Basically)

  24. 1 branch = 1 bot 1. Create a branch 2.

    Create a bot 3. Work on the feature 4. Merge branch 5. Delete bot 6. Repeat
  25. Conclusion • Apple is finally entering the game • OSX

    Server is super easy to install / use • Still a lot of room for improvements • Bots are cheap, use them
  26. Thank you! Questions?