Book Image

Xcode 6 Essentials

By : Jayant Varma
Book Image

Xcode 6 Essentials

By: Jayant Varma

Overview of this book

<p>Apple made their iOS devices easy to use and now they have extended that to their development tools such as Xcode. In Xcode, you can create native applications in the easiest way. Apple's new Xcode technology is making the development curve smoother with its easy-to-develop features and enhancements.</p> <p>Xcode can now write code with the performance-upgraded, brand new, innovative language called Swift, so you no longer need to rely on third-party frameworks to create applications.</p> <p>The book gives you a tour of the new features of Xcode 6. It introduces some important aspects such as the Swift language and its Playgrounds with visual live coding, creating interfaces, storyboards, controllers, frameworks, and live previews. Diving more into the subject, this books shows you how to debug your code, and how to build and test the application on a device or the simulator.</p>
Table of Contents (15 chapters)

Setting project-wide properties


The project settings page allows you to quickly configure the settings for the project—things such as the iOS deployment target. The settings we looked at earlier were specific for each target. This setting allows you to specify the minimum iOS version installed on the device for the application to run. Please note that the minimum requirement to run a Swift application is iOS 7.1; thus, if your application is written with or has a Swift component, setting a value lower than 7.1 will not work and the application will crash on launch.

This also allows you to specify the build type, debug, or release.

Code signing

After you have finished testing and trying out the various settings, you need to build a binary that you can upload to the App Store. This is where a lot of new newcomers to Xcode get stuck. The general expectation is to receive a binary file that can be uploaded to the App Store. The earlier workflow in Xcode was exactly that simple. Start the build...