This is basically what I’ve been doing, but I’d like to add a step between 2 and 3.
The problem is, Xcode doesn’t quite agree with OpenFL’s template about a few minor details, such as the order of certain lines. If you follow the steps as stated above, the tool will highlight a bunch of irrelevant changes, and you’ll have to work out which ones apply to your use case.
I’m pretty sure that step 2 alone is not enough: Xcode doesn’t save its changes immediately; it waits until you make a change. Therefore:
- Generate your project. (“
lime test ios
”) - Open in Xcode.
2.5) Make any change (besides the one you’re interested in). - Make a copy of the project file.
- Make the change you’re interested in.
- Run a tool to find the difference. (FileMerge works well for this. To find it, view the package contents of
Xcode.app
, and search for “FileMerge.app
.”)