Skip to content

iOS target setup guide

Kasoki edited this page Aug 12, 2012 · 1 revision

After installing XCode go to Preferences (⌘ + ,), select the tab "Downloads" and install the "Command Line Tools" and "iOS 5.0 Simulator". You'll need a Apple Developer account which you can register here for free.

The next thing you need to do is install "hxcpp" to your haxelib, which is pretty easy. Just open a terminal window and enter:

haxelib install hxcpp

Thats it now you should be able to compile iOS applications.

Problem with NME 3.4

If you're using NME 3.4 with OS X 10.8 there is a bug with a wrong "clang" path which you can fix with:

sudo ln -s /usr/bin/clang /Applications/Xcode.app/Contents/Developer/usr/bin/clang