This is an old revision of the document!
Table of Contents
Compiling RTBareBones for iOS
Easy. Open Finder, navigate to the RTBareBones directory and double click RTBareBones.xcodeproj.
The project will open in Xcode. It should compile and run out of the box.
If you don't know anything about iOS yet, here is what you'll have to do:
- Get a Mac
- Download the latest Xcode (it's Apple's free IDE)
- Tweak Xcode to feel like MSVC and network share your project from your windows computer if need be (Hints here)
To test on a real device and actually publish in the AppStore:
- Join the iOS developer program for $99
- Setup security certificates and bunch of junk, there are tutorials out there on how to set it up, it's not that difficult these days
- Submit your app and wait like 10 days before it's rejected because you broke one of the many rules. I'm just saying they're picky, maybe that's a good thing.
Compiling RTSimpleApp
It's the same as above except you'll also need to build the media directory first, check the Building Resources section of the Windows setup for that.
Design notes
If you check the RTBareBones's source folder you may scratch your head. There is no iOS specific code at all, only App.cpp. Where is all this Objective-C glue code I thought iOS needed?!
It's shared between all apps in /shared/iOS/app. It's about six files. If I add a feature, all apps get the benefit. If for some reason you need more control of the Objective-C side, you could just copy them into your app level folder and use those customized versions instead.