Developing for iOS
Apple does not allow iOS code to be compiled on something that is not an Apple computer. There are also cloud options like MacinCloud and MacStadium, but we won’t go into those options in this book.
This means we must own a Mac (to use the simulator) or have an Apple Developer license (to use hot restart).
To enable our iOS device to work, we need to set it in Developer Mode:
- Open up your iPhone’s Settings app.
- Scroll down a bit and find Privacy & Security, then tap on it.
- Look for something called Developer Mode. If you can’t find it, you might need to connect your phone to Xcode. It differs between versions of the operating system, but ask Google or Bing for help. There are many resources to be found on how to solve it with your versions.
- There should be a toggle switch; flip it to enable Developer Mode.
- Your iOS device might give you a heads-up about this potentially making your device a bit...