Various Notes From Making iOS Work on Moai 1.x
- It looks like you still include the xib files for iOS even though they are no longer necessary? Should be deleted I think.
- I think the current package script is too complex w/ the mt-defaults and overrides and all that. I’d suggest just shipping a simple script that copies files from one place into the proper folder then let users modify it as they see fit. That’s certainly what we’ve done and it’s simpler to have a script that just does what you want directly.
- I like that you ship default icons on iOS. However, you should also ship default launcher images for iPhone and iPad (including retina, landscape, etc).
- You should probably remove arm6 as a target on iOS. It’s way ancient and not even Apple supports those devices anymore. Makes for faster compiles and easier other stuff.
- All of the projects default to the old debugger, they should be updated to LLVM.
- The base SDK and target SDKs are pretty old/out of date. On a similar note, I prefer to specify exact SDKs rather than “latest X” as it makes the behavior more explicit, especially for the target SDK.
- You have comments about ENABLE_TAPJOY (for example in moaiext-iphone.h) but I think the actual defines are all DISABLE_TAPJOY.
- There are a number of legit warnings that show up when compiling from iOS. All should be fixed and several will probably cause submission fails due to calling deprecated APIs, esp in StoreKit. Also, iOS Analyze mode shows a number of minor code defects that should be fixed up. I’ll probably start to hit these soon if you guys aren’t able to.
- Suggest making the embedded versions 0.0 rather than 1.0 since everyone is starting w/ pre-release code. At least I assume so.
Various Notes From Making iOS Work on Moai 1.x