Book Image

Xamarin 4.x Cross-Platform Application Development - Third Edition

By : Jonathan Peppers
Book Image

Xamarin 4.x Cross-Platform Application Development - Third Edition

By: Jonathan Peppers

Overview of this book

Xamarin is a leading cross-platform application development tool used by top companies such as Coca-Cola, Honeywell, and Alaska Airlines to build apps. Version 4 features significant updates to the platform including the release of Xamarin.Forms 2.0 and improvements have been made to the iOS and Android designers. Xamarin was acquired by Microsoft so it is now a part of the Visual Studio family. This book will show you how to build applications for iOS, Android, and Windows. You will be walked through the process of creating an application that comes complete with a back-end web service and native features such as GPS location, camera, push notifications, and other core features. Additionally, you’ll learn how to use external libraries with Xamarin and Xamarin.Forms to create user interfaces. This book also provides instructions for Visual Studio and Windows. This edition has been updated with new screenshots and detailed steps to provide you with a holistic overview of the new features in Xamarin 4.
Table of Contents (19 chapters)
Xamarin 4.x Cross-Platform Application Development - Third Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Enrolling in the iOS developer program


To deploy to an iOS device, Apple requires membership to its iOS Developer Program. Membership is $99 USD per year and gives you access to deploy 200 devices for development purposes. You also get access to test servers for implementing more advanced iOS features such as in-app purchases, push notifications, and iOS Game Center. Testing your Xamarin.iOS applications on a physical device is important, so I recommend that you get an account prior to starting iOS development. Performance is very different in a simulator running on your desktop versus a real mobile device. There are also a few Xamarin-specific optimizations that only occur when running on a real device. We'll fully cover the reasons for testing your apps on devices in later chapters.

Tip

Since iOS 9, Apple has created a way to sideload apps from iOS devices from any Apple ID. It is recommended only to be used for testing purposes on a few devices, and there is no way to test advanced features such as in-app purchases or push notifications. If you are just toying with iOS, however; it is a good way to get started without paying the $99 developer fee.

Signing up for the iOS developer program can be performed through the following steps:

  1. Go to https://developer.apple.com/programs/ios.

  2. Click on Enroll.

  3. Sign in with an existing iTunes account or create a new one. This can't be changed later, so choose the one that is appropriate for your company.

  4. Enroll either as an individual or a company. Both are priced at $99, but registering as a company will require paperwork to be faxed to Apple with the assistance of your company's accountant.

  5. Review the developer agreement.

  6. Fill out Apple's survey for developers.

  7. Purchase the $99 developer registration.

  8. Wait for a confirmation e-mail.

You should receive an e-mail that looks something like the following screenshot within two business days:

From here, you can continue setting up your account:

  1. Either click on Log in now from the e-mail you received or go to https://itunesconnect.apple.com.

  2. Log in with your iTunes account.

  3. Agree to any additional agreements that appear on the home page of your dashboard.

  4. From the iTunes Connect dashboard, go to Agreements, Tax, and Banking.

  5. In this section, you will see three columns, for Contact Info, Bank Info, and Tax Info.

  6. Fill out the appropriate information for your account in all of these sections. Assistance from an accountant will most likely be needed for a company account.

When all is said and done, your Agreements, Tax, and Banking section should look something like the following screenshot:

With your iOS developer account successfully registered, you will now be able to deploy to iOS devices and publish your apps to the Apple App Store.