OCamlXSim Released for Lion
I’ve just released version 2.0.4 of OCamlXSim, an OCaml cross compiler for building apps that run in the iOS Simulator. It works with OS X 10.7 (Lion) and with the latest release of Xcode (4.3.2).
I tested the new OCamlXSim with all my iOS example apps, and also with the real-world iOS apps that we sell. You can download the compiler as a binary package named ocaml-3.12.1+xsim4. You can also build OCamlXSim from sources using the patches and instructions on the Compile OCaml for iOS Simulator page.
The biggest difficulty in building OCamlXSim under Lion is that it needs to be a cross compiler; I described this in an earlier blog post iOS Simulator Vs. OS X. A smaller difficulty is that the previous (unsupported) method for running iOS Simulator apps from the command line no longer works well. It’s still possible to do this by a slightly more elaborate method—I’ll make a blog post about it in a day or two.
Now that OCamlXSim is working with Lion, I’ll begin to work on the example apps. As I create new versions of our tools and example apps for Lion, the older versions will remain available in the OCaml Programming Archives.
Please leave any questions or comments below, or send them to me at jeffsco@psellos.com. I’m especially interested to hear about any bugs in OCamlXSim (so I can fix them).
Posted by: Jeffrey