From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p5DIM392029302 for ; Mon, 13 Jun 2011 20:22:03 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ago4ALdU9k2uedqy/2dsb2JhbABShBiTco8byDSCOYNrBIcNjnaLLg X-IronPort-AV: E=Sophos;i="4.65,359,1304287200"; d="scan'208";a="96678690" Received: from b2.da.79ae.static.theplanet.com (HELO pse.psellos.com) ([174.121.218.178]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Jun 2011 20:21:57 +0200 Received: from [192.168.0.74] (71-35-103-21.tukw.qwest.net [71.35.103.21]) (authenticated bits=0) by pse.psellos.com (8.13.8/8.13.8) with ESMTP id p5DILMHX029709 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 13 Jun 2011 13:21:54 -0500 Content-Transfer-Encoding: 7bit From: Jeffrey Scofield Content-Type: text/plain; charset=us-ascii Message-Id: Date: Mon, 13 Jun 2011 11:21:22 -0700 Cc: Jeffrey Scofield To: caml-list@inria.fr Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Validation-by: jeffsco@psellos.com Subject: [Caml-list] OCaml on iPhone/iPad Simulator I've been working for a while with OCaml on iOS devices (iPhone and iPad). Just recently I've also gotten OCaml working on the iOS Simulator. This is an easy way to try out OCaml on iOS, as you just need Apple's free (or inexpensive) development tools, Xcode. You don't need a device, or to register as an iOS developer. I've put sources and binaries for everything on our website. For those interested, here are some links: [How to make OCaml 3.12.0 generate code for iOS Simulator][1] [Amusing sample app named Gamut that runs in the Simulator][2] [General page of OCaml-on-iOS resources][3] [1]: http://psellos.com/ocaml/compile-to-iossim.html [2]: http://psellos.com/ocaml/example-app-gamut.html [3]: http://psellos.com/ocaml/index.html Compiling and running under the iOS Simulator works with all recent Xcode versions (3 and 4). However, you currently need to use Xcode 3 to build a 32-bit OCaml compiler (Mantis bug # 5268). OCaml on iPhone is working in production (we sell an iPhone app). I'm finding that the iOS Simulator is a pretty nice development environment. For most things it's a lot quicker than testing on an actual device. I'd be happy to hear from anybody interested in OCaml on iOS. Jeffrey Scofield jeffsco@psellos.com Seattle