iOS 10 SDK Development: Creating iPhone and iPad Apps with Swift by Chris Adamson & Janie Clayton

iOS 10 SDK Development: Creating iPhone and iPad Apps with Swift by Chris Adamson & Janie Clayton

Author:Chris Adamson & Janie Clayton [Adamson, Chris]
Language: eng
Format: azw3, epub
Tags: Pragmatic Bookshelf
Publisher: Pragmatic Bookshelf
Published: 2017-03-24T04:00:00+00:00


Preparing a Developer Account

Apple doesn’t let just anyone run anything on a device. Prior to Xcode 7 and iOS 9, putting our own code on an iOS device required being a member of the developer program. That’s a bridge we’ll cross much later (in Chapter 12, ​Publishing and Maintaining the App​), but in the meantime, it’s now possible to get our app running on our device with just a little fuss.

To put an app on a device, Apple wants to know who we are and what we’re doing. That’s always been the case; what’s different in the last few years is that they’ll let pretty much anyone do it, not just paid-up members. Either way, the first step is to sign into Xcode. Open Xcode’s preferences (⌘,) and select the Accounts tab. Click the + to add an Apple ID, and sign in with your credentials (the same ones used for the Mac App Store to download Xcode in the first place).

Just signing in isn’t enough. Select the project in the Project Navigator, select the PragmaticPodcasts target, and click the target’s General tab. There, you’ll see a warning that there are “No code signing identities found.” Code signing is the process of using cryptographic techniques to provably verify that a known developer is the one installing the app to the device, and therefore the operation can be allowed. Fortunately, we don’t have to do the underlying math; there’s a handy Fix Issue button. Go ahead and click it.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.