Book Image

iOS 10 Programming for Beginners

By : Craig Clayton
Book Image

iOS 10 Programming for Beginners

By: Craig Clayton

Overview of this book

You want to build iOS applications for iPhone and iPad—but where do you start? Forget sifting through tutorials and blog posts, this is a direct route into iOS development, taking you through the basics and showing you how to put the principles into practice. With every update, iOS has become more and more developer-friendly, so take advantage of it and begin building applications that might just take the App Store by storm! Whether you’re an experienced programmer or a complete novice, this book guides you through every facet of iOS development. From Xcode and Swift—the building blocks of modern Apple development—and Playgrounds for beginners, one of the most popular features of the iOS development experience, you’ll quickly gain a solid foundation to begin venturing deeper into your development journey. For the experienced programmer, jump right in and learn the latest iOS 10 features. You’ll also learn the core elements of iOS design, from tables to tab bars, as well as more advanced topics such as gestures and animations that can give your app the edge. Find out how to manage databases, as well as integrating standard elements such as photos, GPS into your app. With further guidance on beta testing with TestFlight, you’ll quickly learn everything you need to get your project on the App Store!
Table of Contents (26 chapters)
iOS 10 Programming for Beginners
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Free Chapter
1
Getting Familiar with Xcode
Index

Creating an archive build


When you submit your app to the App Store, you need to create an archive. This archive will also be used for internal and external testing, which we will address shortly. When your archive is complete, you will upload this to the App Store. Let's create an archive now:

  1. Open Xcode and select the project and enter the following information:

    • Under Identity: update the Version and Build numbers to 1.1 and 2, respectively

    • Under Signing: ensure Automatically manage signing is checked

    • Under Signing: select Team

      Tip

      For minor builds, you want to increment your version number by .1 and your Build number by 1. In some instances, developers use 3 digits (for example, 1.1.2). This is all based on your business and how you want to handle version numbers. If you are performing a major update, then you typically increment your version number by 1.

  2. Select Generic iOS Device as the build destination:

  3. Update your Info.plist by adding ITSAppUsesNonExemptEncryption, making its type Boolean...