没有合适的资源?快使用搜索试试~ 我知道了~
Pro IOS Continuous Integration
4星 · 超过85%的资源 需积分: 9 38 下载量 90 浏览量
2014-09-04
16:03:45
上传
评论
收藏 8.25MB PDF 举报
温馨提示
试读
214页
Pro IOS Continuous Integration ios持续整合专业版
资源推荐
资源详情
资源评论
COMPANION eBOOK
Shelve in
Macintosh/Programming
User level:
Intermediate–Advanced
www.apress.com
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
P
ro iOS Continuous Integration teaches you how to utilize the strengths of
continuous integration in your everyday work. CI is more popular now than
ever as iOS developers realize how time-consuming building and deploying an
application for testing purposes and quality assurance can be. This book shows
you how to make your developing life easier, with real-world applications and
examples.
With this book, you’ll:
•
Learn what continuous integration and continuous delivery really are and
how they can be used in your iOS projects
•
Learn how to release an iOS application outside the App Store using Xcode
•
Understand how to leverage the power of the command line to build your
projects and run your tests
•
Use Jenkins and Bamboo to architect automatic builds and automate the
whole build process
•
Learn how to use Xcode server and bots
•
What quality assurance tools can be used to measure the quality of your
code, and how to send builds to your beta tester
Author Romain Pouclet provides hands-on, practical experience in iOS continuous
integration. Using this book, you will see that it’s not actually that hard to set up a
fully-featured continuous integration platform, whether you are an independent iOS
developer or a member of a team in a big company.
Pro
iOS Continuous
Integration
Romain Pouclet
Implement continuous integration and delivery in your iOS projects
Companion
eBook
Available
Pouclet
Pro
iOS Continuous Integration
SOURCE CODE ONLINE
RELATED TITLES
Implement continuous integration and delivery in your iOS projects
9781484 201251
55999
ISBN 978-1-4842-0125-1
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
v
Contents at a Glance
About the Author ���������������������������������������������������������������������������������������������������������������xiii
About the Technical Reviewers ������������������������������������������������������������������������������������������ xv
Acknowledgments ������������������������������������������������������������������������������������������������������������ xvii
Introduction ����������������������������������������������������������������������������������������������������������������������� xix
Chapter 1: Introduction to Continuous Integration ■ ������������������������������������������������������������1
Chapter 2: Continuous integration features in iOS and Xcode ■ �������������������������������������������5
Chapter 3: Using Xcode to Release an Application Outside the App Store ■ ����������������������29
Chapter 4: Invoking the Power of the Command Line ■ �����������������������������������������������������41
Chapter 5: Automatic Builds with Jenkins ■ ����������������������������������������������������������������������67
Chapter 6: Automated builds with Bamboo ■ ���������������������������������������������������������������������93
Chapter 7: Over-The-Air distribution ■ �����������������������������������������������������������������������������117
Chapter 8: Day-to-day use of Xcode bots ■ ����������������������������������������������������������������������141
Chapter 9: Adding Unit testing to the mix ■ ���������������������������������������������������������������������161
Chapter 10: Quality assurance ■ ��������������������������������������������������������������������������������������183
Index ���������������������������������������������������������������������������������������������������������������������������������197
xix
Introduction
There are as many definitions of Continuous integration as there is programming language out there,
probably more. All of these opinionated definitions have been discussed all over the Internet: what it
is, how it can help, which tools to use… Only a few of them are complete, exhaustive guides about
where to start and where to go, let alone in the iOS ecosystem. In all fairness, the iOS platform is still
relatively new.
Because you have to learn how to walk before you can run, this book will give you a tour of the iOS
ecosystem from a developer point of view. If you’re interested in reading this book, you probably
already have spent a few hours in front of Xcode, but do you know that it will make your life a lot
easier with automated testing and versioning? Did you know that you could easily use multiple
versions of Xcode? Even more importantly, do you know how it works under the hood? That’s the
kind of thing this book will teach you.
Continuous integration is a matter of deciding of the best workflow and choosing the right tools.
We didn’t want to sound as if you should take our opinion as a work of gospel, so we chose to give you
all the knowledge you need before covering two different continuous integration platforms, Jenkins
and Bamboo. We’ll show you how to get started as quickly as possible and how to take a sample
application, build it, test it, and finally release it to your testers. Once we’ll have covered how these
third party tools, we’ll cover the OS X Server and the Xcode, which are official tools provided by
Apple. Far from being perfect, they provide enough neat advantages to give all those non-official
alternatives a scare.
For all those solutions, we’ll show you how to integrate tools to run your automated tests and
analyze your code, making sure you’re spending all this time to automate the workflow of an
application that is well coded and works has expected.
In the end, it will be up to you to decide which tool suits you and your company best.
1
Chapter 1
Introduction to Continuous
Integration
In the world of software engineering, the more time that passes the bigger your software usually
becomes. It may be because your application is a huge, full-featured tool that does a lot of things or
it may be simply because your code has become more and more complex. At this point, you have to
start making decisions and choosing the tools you will use and the principles you will follow to make
your life easier. The sole purpose of continuous integration is exactly that - making your life easier.
You may be reading this book because you’re an independent software engineer or leading a team
of iOS developers. We will help you find the tools you need and teach you how to make them fit in
your day-to-day workflow.
What is Continuous Integration?
Continuous integration is a software engineering principle with a very self-explanatory name. During
the life cycle of a project, you will be continuously integrating small pieces of software into your
project. Then, as the project grows, you’ll need to make sure these pieces actually fit the way they
are supposed to. It may sound like a very metaphoric way of saying you will merge branches using
your favorite version control system, but that’s actually what happens - no matter which tool you will
be using or how often you will be integrating code.
The principle of continuous integration is never far from the concept of “automated testing” and
“Software Quality Assurance” (SQA). Indeed, integrating pieces of software is one thing, but making
sure they fit - meaning they don’t break your software, respect your coding conventions, or hurt the
final product in any way - is a whole other thing.
剩余213页未读,继续阅读
资源评论
- VISUALR2015-12-23apress的书都值得一看
dream917
- 粉丝: 6
- 资源: 28
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功