Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Developing Enterprise iOS Applications
Preface
Who This Book Is For
How This Book Is Organized
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
1. Enterprise iOS Applications
Apple Developers—An Army of One
Build Automation Is a Bit of a Challenge
Objective-C Doesn’t Play Well with Others
Code Coverage Is for Weenies
iTunes Connect Is a Great Way to Keep Your Legal Staff Employed
You Can Have Any Style of Distribution, as Long as it’s iTunes
The Road Is Long and Winding
A Few Caveats
2. Concurrent Development with iOS
A Little Ditty ‘bout Tom and Diane
More Merge Mayhem
Workspaces and Static Libraries
Make Sure All Dependent Projects Do Their Own Unit Testing
You Need to Plan Out Common Resource Issues
You Can Still End Up Stepping on Each Other’s Feet
Let’s Be Careful Out There
3. Automating iOS Builds
Introducing Hudson
Breaking the News to Your IT Department
Provisioning Your Build Machine
Installing Hudson
Creating the Build Job
The Main Configuration Screen
Discard old builds
This build is parameterized
Disable build
Execute concurrent builds
Advanced options
Source Code Management with Hudson
Trying Your First Build
Creating an Ant Build File
Testing xcodebuild
Integrating xcodebuild into an Ant Script
Calling the Ant Script from Hudson
Getting Fancy with Hudson
Running a Nightly Build
Include the Build Number Directly into the Application Version
Parameterize the Build Script
4. Integrating iOS Applications into Enterprise Services
The Rules of the Road
Rule 1: Insist on Contract-Driven Development
Rule 2: Be Neither Chunky Nor Chatty
First Things First: Getting a Connection
Using NSURLConnection—The BuggyWhip News Network
Something a Little More Practical—Parsing XML Response
Generating XML for Submission to Services
Once More, with JSON
SOAP on a Rope
A Final Caution
5. Testing Enterprise iOS Applications
Unit Testing iOS Applications
Setting Up an OCUnit Target
Generating Code Coverage Metrics
Generating Code Complexity Metrics
Creating UI Tests (The Old and Painful Way)
UI Testing Using OCUnit
6. Enterprises and the iTunes App Store
Things to Start Worrying About Immediately
Legal Considerations
Marketing Considerations
Production Considerations
Bonus Considerations
Things to Worry About a Month Before Launch
Get a Binary into Review
Double-Check App Store Readiness
Have a Chat With Your Support Group About Bug Reports
Things to Worry About Two Weeks Before Launch
Upload the Final Version to iTunes Connect
Things to Worry About One Week Before Launch
When to Pull the Trigger
Things to Worry About on Launch Day
Things to Worry About in the Month After Launch
7. Distributing Enterprise iOS Applications
Testing Applications with Ad Hoc Profiles
A Better Mousetrap for Ad Hoc Infrastructure
Advanced Testflight-Fu
Enterprise Distribution
A Gotcha With Enterprise-Based Development
The Long Haul
8. Long Term Maintenance of iOS Enterprise Applications
Option 1: The Perpetually Compatible Application
(Non-)Option 2: The Perpetually Compatible Server
Option 3: App Store Version Roulette
Option 4: Exotic Distribution Methods
Option 5: The Swiss Army App
Welcome to the Club, We Have Jackets
About the Author
← Prev
Back
Next →
← Prev
Back
Next →