You can also distribute your game as a native iOS app. Impact comes
with an Xcode project that you can use to compile a native iOS game.
Everything you need to run the project is located in Impact’s source in
iOSImpact.zip. There is also a PDF with
additional instructions. We’ll take a quick look at how to copy over your
game into the Xcode project and get it to compile.
In order to get this to work, you will need to register as a developer on Apple’s site, which costs $100 annually. Once you are registered, you will need the latest version of Xcode. (In this book I am using Version 4.2.1 and OS X 10.7 (Lion).) You can use an older version of Xcode and OS X, but it is usually best to compile with the latest version of Xcode. It’s also important to note that this is still an experimental feature, and at any point, Apple could start denying games created like this.
iOSImpact.zip file and
launch Xcode. Once you are in Xcode, click on Open Other... at the bottom
of the welcome launcher.
Figure 8-8. Select Open Other from Xcode’s welcome screen launcher.
Simply navigate to where you unzipped your iOSImpact project and open it up. You should see a screen similar to Figure 8-9.
Figure 8-9. Our iOSImpact project in Xcode.
While I am not going to be able to cover ...