14 iOS security and building your app with Xcode

 

This chapter covers:

  • How to use app IDs, certificates, registered devices, to create provisioning profiles for apps
  • Using Xcode to build and archive NativeScript apps

In the last chapter, you learned how to get your app ready for the App Store by using the NativeScript framework and CLI. Because support for configuring an app’s icons, launch screens, and support for multi-device screen orientation is built into NativeScript, you don’t need to use the native iOS tools (like Xcode) to get your app ready. Even though we didn’t need to use Xcode to get your app ready, we believe it’s important to learn the fundamentals of iOS app security and Xcode.   

Admittedly, a lot of tutorials online are focused on app security with Xcode, but none of them were made for the beginning iOS app developer who is focused on building apps with NativeScript. Until now, you’ve learned the NativeScript way of doing things, but getting your app into the App Store requires some knowledge and background in Apple’s way of doing things.

14.1   Building your app

14.1.1   Exploring iOS app security

14.1.2   Managing your app with Xcode

14.1.3   Building your app

14.1.4   Creating an app archive

14.2   Summary

14.3   Exercises

14.4   Solutions