Skip to content

Navigation Menu

Sign up
Joshua Granick edited this page Jan 1, 2014 · 2 revisions

You may use the "ios" target when using "lime" commands:

lime test ios

If you would prefer to target the iOS simulator rather than a device, add the "-simulator" flag:

lime test ios -simulator

When you use "test", the Lime tools will use ios-deploy to attempt to install on a connected iOS device or ios-sim to install to the iOS simulator. Neither is perfect, Apple prefers not to officially support any tools in order to deploy to their platform from the command-line. These tools (especially ios-deploy) use private unpublished Apple APIs to try to accomplish what Xcode does under the hood.

Unlike other platform targets, the Lime tools generate an Xcode project, which is much more difficult to maintain, but is essential to use xcode-build and other tools. If you use "lime update ios", the tools will generate this template, then open the project in Xcode, so you can manually build or adjust settings. However, similar to other platforms, the Lime tools are designed primarily to target iOS without manually pushing buttons. "lime build" will use xcode-build instead, and "lime run" or "lime test" (which combine the former commands) will attempt to sign and install the application automatically.

If you experience issues deploying titles, please help support the ios-deploy and ios-sim projects, or see if the upstream versions have received any relevant fixes we could use. Please understand that the issue here is Apple, and the limits they place on their tools.

Lime targets iOS 5 and greater. It supports armv6 and armv7 builds (in addition to x86 for simulator builds) but practically speaking only armv7 is used/required due to the minimum OS requirement.

Most of Lime is written in C++, but the iOS target has a unique Objective-C stage to handle the windowing and some platform features. The iOS target supports OpenGL ES 2.0, OpenGL ES 1.1 and software rendering, but OpenGL ES 2.0 is used by default.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /