• Want to create iPhone apps but no Mac?

Now you can.

Use your favourite IDE to code in Objective-C, C++, C or ARM assembly, like in XCode. ARC and blocks are supported.

You produce real apps, like with XCode (they are not "web apps"), deployable on any iPhone, iPod or iPad (jailbroken or not).

+ Sign and deploy your apps using your iOS Developer Program ID, like with Xcode.
+ Professionals: integrate this compiler, linker, code signer and binary tools easily in your production toolchain!
+ Professionals: get the toolchain source code and stay up to date by signing up for SVN access (contact me).
+ Remote debug console: error messages now display live on your PC.
+ Compile your iPhone apps directly inside Visual Studio (Visual C++ Express is also supported).
+ Generate automatically .deb packages (Cydia) and .ipa (iTunes). Sync with iTunes.
+ Includes 20 examples, among which a well-known 3D game with OpenGL rendering, spatialized audio, 3D models, accelerometer-based movement and fully commented source code.

NEW: build your Unity project for iOS on Windows in 1 click!

Download a free evaluation version:

Evaluation version for Windows
all versions (XP, 7, 8)

Evaluation version for FreeBSD and Linux
Linux or FreeBSD
x86 or x86_64 only

The free version enables you to test the software. Apps created with this version
can only be run once. Code signature is only possible with the full version.          
How to get the full version ?

  • Captures d'écran
Build your Unity projects!
Keychain management tool
Project creation wizard
A successful build in Visual Studio
Your first app!
The unavoidable OpenGL cube
System preferences (Windows sharing)
Installed samples
A well-known 3D video game!

  • Technical details

The build environnement comprises:

+ a native assembly/C/C++/Objective-C iOS cross-compiler (clang/llvm version 3.4) targeting armv7 and armv7s. Apple A7 (iPhone 5S) is supported in 32-bit mode.
+ an iOS linker (Apple ld64 version 136) that can create Mach-O executables for iOS and OS X
+ the XCode binary development tools for iOS and OS X (Apple cctools version 845)
+ an improved code signature tool
+ an interactive debugger for iOS (Apple's branch of GDB version 1822)
+ a Visual Studio project creation wizard and Makefile creator
+ a certificate and private key management tool for code signing
+ a Unity project builder
+ a remote debug console
+ an automatic .plist file converter
+ a PNG file normalizer

As well as 20 examples, including source code and Makefile, compilable out of the box.

  • Get the full version

In order to download the software, a fixed contribution of €30 (ar. $40 USD) is requested. You will receive an e-mail containing the download link immediately after.

If you have no PayPal account, just click on the Continue link at the bottom left of the PayPal page, above the bank card logos.

If you have no credit card, you may do a bank transfer. Send me an e-mail and I will give you my bank information code. As soon as I receive your contribution I will send you the software.

If you don't receive the download link by e-mail, please click here to get a direct link.

If there was the slightest problem just e-mail me and provide your name, and the date of your contribution. I will help you solve it right away.

Pierre-Marie Baty

  • Free updates

If you already have a full version and a newer one is available, you are entitled for a free update. Please enter the email address you gave to PayPal below, choose your version, and click the Update button.

NOTE: to prevent abuses, you are entitled to one update per month using this form. If you require an exception, please contact me directly by e-mail.

If there was the slightest problem just e-mail me and provide your name, and the date of your contribution. I will help you solve it right away.

  • Freely available parts

The following samples provided with this build environment are available for free (all of them include fully commented source code & Makefile):

Some of these were taken from the Internet (Jonathan Zdziarski, Erica Sadun and Maher Ali) and adapted for our environment.

All these examples now come with a Visual Studio project file (*.vcproj).

Click here to display the list of code samples

AdobeNativeExtensionDemo - Shows how to create a native Adobe AIR extension that enables the user to interact with the device's audio volume.
AVMeter - A nice MP3 player with a vu-meter. Shows how to retrieve noise analysis informations from an AVAudioPlayer object and display them in a custom UIView control.
CamTest - This sample shows how to acquire, process and display a video stream from the device's cameras, using the AVFoundation framework.
ConsoleHello - A simple Hello World in console mode.
CoverFlow - A scrollable music album cover flow control example. Subclassed from UIScrollView, these effects use the CoreAnimation framework.
DatePicker - Displays a date picker control where a date can be selected between two limits and shows how to retrieve its content.
FlipDemo - A sample that allows to flip the pages of a book, showing how to switch from one view to another in an application. Uses the CoreAnimation framework.
HelloWorld - The most basic iPhone application there is. Displays "Hello iPhone world!" in a UIKit window.
GLCube - A simple 3D cube that you can rotate with your fingers. Demonstrates the use of the OpenGL/ES framework and the touch screen capabilities.
GPSSample - Displays your location data on screen. Demonstrates the use of the CoreLocation framework and the GPS system.
MobileSubstrateDemo - A SpringBoard code injection example. Hooks into SpringBoard to display an alert box when an app is launched.
MoviePlayer - This sample plays in streaming a video from the Apple website. Shows how to implement a basic multimedia player.
NavBarDemo - A simple text area with a nav bar on top of it. Shows how to implement a navigation bar in an iOS app.
PhoneGapDemo - Shows how to create a HTML/CSS/JavaScript app using the Apache Cordova technology (also known as PhoneGap).
PreferenceLoaderDemo - A system-wide Preferences bundle. Demonstrates how to create a system-wide Preferences bundle that can be integrated in the system's Settings app.
RotationDemo - Displays a phrase on screen that changes when the device is tilted on its side. Demonstrates the support for device orientation detection in a iOS app.
SBSettingsToggle - A simple toggle switch for SBSettings. Demonstrates how to build a SBSettings toggle library in C.
StaticLibraryDemo - Shows how to create a reusable static library with some functions in C and others in Objective-C.
TableDemo - Displays all files in the default app folder in an editable table view with sections, similar to the contacts list. Shows how to implement an UITableView control.
WifiScanner - Almost a full-featured app, this example demonstrates how to call functions from an external dynamic library, how to navigate through a UINavigationController's different views, how to present data in tables in different view styles, and how to use a gesture recognizer to make a UILabel clickable and make Safari open a specific URL.

The following tools provided with this build environment are also available for free:

iOS PNG normalizer - A convenient drag-n-drop tool to convert Apple's non-standard PNG images back to standard, PC-readable images.

  • Change Log

Click to expand:

iOS Build Environment 2.13 - 2014-09-28

- iOS8 support.
- Upgraded clang/LLVM compiler to version 3.5.0, cctools binary utilities to version 855 and ld64 editor to version 236.3.
- Increased linker stack size to 8Mb to enable linking large projects.
- A default code signing profile can now be specified in the Keychain tool.
- Added an automatic deployment tool for Unity projects.
- Added a sample project using Cordova (PhoneGap).
- Various corrections.

iOS Build Environment 2.12 - 2014-02-18

- Fixed a bug that invalidated .deb packages creation for Unity projects.
- Updated the RotationDemo sample project for iOS6+.
- Updated the Wolf3D sample project for iOS5+.

iOS Build Environment 2.11 - 2014-02-11

- Fixed a crash bug in the project creation wizard when multiple architectures are selected.
- Updated the MobileSubstrate sample for iOS 7.

iOS Build Environment 2.10 - 2014-02-03

- Upgraded the cctools binary utilities to version 845.
- Upgraded the clang compiler to version 3.4.
- Deprecated armv6 and iOS < 5 support to prepare the transition towards arm64.
- Added a Unity project builder tool.
- The build system now creates universal binaries (fat mach-o) containing several architectures.
- Separated the generic Makefile templates in bits.
- Removed automatic capitalization of first character in project names.
- Added a button to export a signing identity to a Mac in the Keychain tool.
- Added arm64 support in the lipo and ldid tools (64-bit code signature is now possible).
- The code signer now also supports universal binaries.

iOS Build Environment 2.9 - 2013-11-30

- Fixed a bug in the project creation wizard concerning embedded provisioning profiles (reported by A. Seger).
- Disambiguated the instructions concerning the export of .p12 files from a Mac's Keychain.

iOS Build Environment 2.8 - 2013-11-13

- Dramatic improvement of the linker's speed and prevention of a buffer overflow (patch by Gerhard Seiler @ Sproing GmbH).
- Automatic insertion of the CFBundleSupportedPlatforms key in the apps' Info.plist.
- Rewritten the Makefile used for building ANEs to better handle third-party libraries (suggestion by Alex Winx).

iOS Build Environment 2.7 - 2013-10-01

- All the APIs of the IOS 7 SDK are supported.
- Digital identities and code signature are supported (jailbreaking no longer required).
- Added a keychain management tool.
- Upgraded compiler and use of the latest available Apple sources (clang-3.3, ld64-136, cctools-839).
- Important simplification of the Makefiles.
- Compatibility with non-standard shells such as Cygwin.
- No longer depends on iTunes to handle binary .plist files.
- Linux and FreeBSD versions of the toolchain are provided.

iOS Build Environment 2.6 - 2013-05-09

- Added a sample that shows how to build an Adobe Native Extension for Adobe AIR.
- Fixed a bug in strip, where the input file could not overwrite itself when no output file was specified.
- Fixed a bug in makedeb, where some long pathnames would be stored incorrectly in the tar structure.

iOS Build Environment 2.5 - 2013-02-10

- Support for all the APIs of the iOS 6.1 SDK.
- Added a console program sample.
- Added the crt_externs.h missing header (forgotten by Apple in the 6.1 SDK).

iOS Build Environment 2.4 - 2013-01-18

- Fixed a bug where the resources copy in the final IPA would fail on Windows XP.
- Removed the PList editor which was causing false positives by some antiviruses (AVG).
- All PList files (binary or XML) now open in Visual Studio and are automatically converted to binary in the final IPA.
- Added the AppSync packages to the installer.
- Added the possibility to deploy AppSync and the GNU debugger directly from the www.pmbaty.com/cydia source in Cydia.
- Fixed a bug in the demo version.

iOS Build Environment 2.3 - 2012-12-12

- IMPORTANT: Fixed a bug in ld64 responsible for the "ld: file too small for inferred architecture" error.
- Added instructions on how to link a dynamic library or a third-party framework to an iOS project.

iOS Build Environment 2.2 - 2012-12-09

- The installer uses now the Nullsoft Scriptable Install System (NSIS).
- This new installer handles the problem of corrupted or broken downloads.
- This new installer facilitates uninstalling the environment using the Windows control panel.

iOS Build Environment 2.1 - 2012-11-10

- Support for all the APIs of the iOS 6 SDK.
- Makes use of the latest available Apple sources (ld64-134.9, cctools-836).
- Added the GNU debugger, a debugging tutorial and the according Makefile rules for symbol generation.
- Added armv7s architecture support (Apple A6, iPhone 5/iPad mini).
- Rewrote and improved the code signature manipulation tool.

iOS Build Environment 2.0 - 2012-09-21

- Got rid of the Cygwin compatibility layer.
- Makes use of the latest available Apple sources (ld64-127.2, cctools-809).
- Toolchain is now 100% Win32 and 100% relocatable.
- Fixed a bug in the ar static library archiver.
- Support for the armv7 and armv7f architectures (Apple A5, iPhone 4S/New iPad).
- Memory management by automatic reference counting (ARC) is supported.
- Added the CamTest example.
- Private version for Sproing GmbH and Vicarious Visions Inc.

iOS Build Environment 1.11 - 2012-06-01

- Better Visual Studio integration for projects created with the Creation Wizard.
- Fixed a Makefile bug that could prevent the creation of .deb files with Visual Studio 2010.
- Refactored the SambaSettings and smbtoggle examples into PreferenceLoaderDemo and SBSettingsToggle, with package generation rules.
- Added the WifiScanner example to demonstrate external dylib loading and UIViewController navigation.
- Support for all the APIs of the 5.1.1 SDK.

iOS Build Environment 1.10 - 2012-03-14

- Updated the iOS Project Creation Wizard.
- Automatic generation of the _CodeSignature directory, mandatory in case of deployment in a non-jailbreaked environment.
- Correction of the instruction set type in use by the assembler (previously armv4t, now armv6 by default).
- Removed the possibility to choose the armv7 instruction set, not supported by the current linker (but will be in a later version).
- Correction of the SRC rule in the default Makefile.
- The SpringBoard icons are automatically refreshed when deploying an app as a .deb file using iFile.
- Added a SpringBoard code injection example via MobileSubstrate.

iOS Build Environment 1.9 - 2012-01-17

- Updated the iOS Project Creation Wizard.
- Added a graphical remote debugging console applet.
- Newly created projects now support the streaming of error messages to a remote console on the PC.
- Newly created projects now support the redirection of error messages to a log file.
- Added 9 more examples.

iOS Build Environment 1.8 - 2011-11-25

- iOS 5 full support (compatible with the frameworks from the 5.0.1 SDK).
- New compiler (clang/llvm), much faster in replacement of GCC.
- Support for the lightweight threads (blocks) Objective-C syntax.
- Compiler errors are better indicated (a mark is displayed below the first incriminated character).
- Better integration with the IDE (a click on a compiler error line takes you directly to the source code).
- Added the possibility to target a minimal supported iOS version for each project.
- Added the possibility to specify the processor instruction set to use (ARMv6 or ARMv7).
- Rearrangement of the build environment directory layout.

iOS Build Environment 1.7 - 2011-08-25

- Added the C++ headers in the Makefiles by default (they had to be explicitly included beforehand).

iOS Build Environment 1.6 - 2011-08-19

- Added a drop-list to the Project Creation Wizard to explicitly enable iPad support in newly created apps.
- Fixed an ACL permissions problem that could cause the generation of invalid IPAs on some computers.

iOS Build Environment 1.5 - 2011-05-22

- Automatic creation of .deb packages (Cydia) from compiled projects.
- Added the /s command-line flag to the PNG normalizer (idea: Per Andersson).
- Extension of the default Makefile rules in the project creation wizard.

iOS Build Environment 1.4 - 2011-05-16

- Automatic creation of IPA packages (app bundles) from compiled projects.
- Modified the build script to support project directory relocation (idea: Jonathan Garrett).
- Corrected a typographic bug in the project creation wizard.
- Installing your apps can now be done directly within iTunes.

iOS Build Environment 1.3 - 2011-05-10

- Added support for Visual Studio 2008, 2010 and Visual C++ Express as IDE.
- Basic Objective-C syntax colouring in Visual Studio (settable option).
- Added an iOS project creation wizard that creates Visual C++ (.vcproj) projects.
- Added a script that enables ARM compilation directly in Visual Studio.

iOS Build Environment 1.2 - 2011-01-06

- Complete refactoring of the headers tree (implying a substantial save in megabytes).
- Added back missing headers in some frameworks.
- Stripped the multi-architecture code from "fat" Mach-O binaries so as to keep only the ARM code.
- Created universal Makefiles.
- Added a PNG image normalizer to convert the Apple PNG files into standard images readable on a PC.
- Added a rotating OpenGL cube as a sample project.
- Added an elaborate 3D game (Wolfenstein 3D) as a sample project.

iOS Build Environment 1.1 - 2010-11-21

- Changed the default install path to avoid write permission problems in Program Files.
- Added the Preferences framework for the creation of applications that integrate themselves into iOS Settings.
- Replaced iCopyBot's PList editor with a non commercial version.
- Added basic and useful practical advices in the compiler prompt window.
- Initial release.

iOS Build Environment 1.0 - 2010-11-15

- Unpublished initial version (private use).

  • Frequently asked questions

Click to expand:

Which versions of Windows are supported? 32 or 64 bits? What about Visual Studio?

The iOS Build Environment works on all versions of Windows from NT 5.1 which means Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, Windows Server 2012 and Windows 8, undistinctively 32 or 64 bits. All the Visual Studio versions from version 2008 are supported, which means Visual Studio 2008, Visual Studio 2010 and Visual Studio 2012, including Visual C++ Express which is free.

Does this mean I can use Visual Basic ? (most FAQ of all)

No. One can use a Microsoft language, such as Visual Basic, only when Visual Studio is used with the Microsoft build tools. Here, we use Visual Studio with a Windows port of Apple's build tools ; in this configuration, it becames obvious that only the languages that Apple supports may be used. This does not include Visual Basic.

How do I transfer my app to my iPhone/iPod/iPad?

If you signed your app with a digital signing identity and included a provisioning profile in it, then your device doesn't need to be jailbroken. Simply double-click on the .ipa file, then sync with iTunes. Your app icon appears.

For non-signed and/or non-standard apps, your device needs to be jailbroken. You may then install your app with iTunes, with Cydia, or manually over SSH. Please refer to the "Read me first" file for more detailed instructions.

Is there an iPhone simulator for testing my apps?

Unfortunately, creating a third-party iOS emulator is forbidden by Apple Inc. But testing may be done on the iPhone itself.

How do I debug my apps?

You can run your app inside a debugger on the device itself by installing gdb, the GNU Debugger (the package is provided, as well as a quick handling tutorial). You can also use all the standard C/C++ file I/O to log your program's activity to a file wherever you want. If you are making a console program, you may use the NSLog() macros that are supported by the iOS SDK. Personally, I do my debug in-situ using logging macros, and I use gdb for the bugs that the first method fails to put into evidence.

Why would I jailbreak my iPhone/iPod/iPad, and how to do that?

If you wish to develop non-standard apps, or use the debugger directly on your device, you will need to jailbreak it, which means to lift certain restrictions imposed by Apple Inc. on their consumer devices, which are incompatible with development and advanced use of their devices. To do that, visit http://jailbreak-me.info and follow the instructions. This process is 100% legal, reversible, and for its greatmost part automated. No particular technical skills are required.

How to submit my app to the Cydia Store?

To send your app to Cydia, it only depends on which source (repository) you want to host it.
  · For the Modmyi repository, it's here: http://modmyi.com/devportal (the process is automated)
  · For the BigBoss repository, it's here: http://thebigboss.org/hosting-repository/submit-your-app
  · For the other repositories, please refer to their owner's website.

How to submit my app to Apple's official App Store?

Your app's submission must imperatively be done using the Application Loader tool on Mac. Meanwhile, all the process of developing and testing your app may take place within Windows, especially if it's the work environment with which you're the most familiar (tip: one can note that OS X works well enough in a virtual machine to use Application Loader this way).

Can I get the source code of this product?

This product falls under the larger work class of products according to the Apple Public Source License. The original Apple code can be downloaded here. Yet, all the parts of this larger work that are not covered by the Apple license, such as the compatibility layer which I developed to enable the original Apple code to work on non-Apple platforms, as well as the code signing tool, are not open source.

Some companies have subscribed for a read-only access to my SVN. If you are interested in such a subscription, please contact me.

On one of the screenshots, you appear to have Windows sharing on your iPhone!?

Indeed. This is the first iOS application I developed. It enables me to have my iPhone permanently in Windows' Network Neighbourhood, so that I can transfer files easily. I can then use it as a storage server, and I have access to the complete filesystem. This app is available now on Cydia under the name PC Networking :)

Doesn't this product infringe Apple's licenses?
How did you get the idea to create this package?

Before, when a programmer wanted to create apps for his iPhone, iPod or iPad, he was also required to buy a $1500 worth Mac. This was even more aberrant since all programmers obviously already have a computer. Being not disposed myself to buy that an expensive and redundant hardware in order to do exactly the same thing that I was doing everyday on my Windows computer (I am an independent programmer), I ported to Windows all the necessary Apple tools to build your iOS apps, creating the missing parts myself, such as the Darwin compatibility layer and the code signing tool.

Who are you?

I am an independent IT professionnal and an experienced programmer. If you think your company could hire me, feel free to make an offer. Here is my resume.

Can I sponsor your work, and hurry the development of a particular feature?

Of course! Some companies already used this means so that I could provide them quickly with some features they were interested in. Among those:
+ mobileFX (http://www.mobilefx.com) - Marketing software
+ Sproing Interactive Media (http://www.sproing.at) - One Jump Ahead!
+ Experitest (http://www.experitest.com) - Test automation tool
If you wish to sponsor this project, get in touch with me so we can discuss the terms.

  • Sponsors

This project already benefited from the following sponsors:

MobileFX - Marketing Software mobileFX
Their upcoming MobileFX Studio 7 IDE will use iOS Build Environment!
Sproing - One Jump Ahead! Sproing GmbH
Specialized in the creation of gaming and multimedia content
"Austria's leading game development studio!"
Experitest - Test automation tool Experitest Ltd
Test automation tools for mobile platforms
"Test automation tool for iOS, Android, Blackberry and WindowsPhone"

  • Testimonials

"This is such a great tool, and I can't wait to recommend it to my students." -- Christopher S.

"I've just tested my project with the new framework folders, everything went well and the compilation ended successfully which enabled me to try my audio player project in real conditions."

"Thanks for these additions which give alot more possibilities to your potential users. The idea of a universal makefile is awesome, it removes the need to add the frameworks one after the other."

"Your build environment turns out to be really interesting. Kudos!" -- Louis A.

"Installed and working perfectly on my iphone 4. I feel the weekend's gonna be productive ;-)" -- Fred D.

"Things worked great from vs2010. Thanks for this project - I'm very happy being able to tinker on windows laptop." -- Jonathan G.

"Thank you Pierre for your great work. As first example i compiled GLCube and tested it with execution privilege on iOS 5, ran perfectly. Really great job." -- Nima P.

If you intend to write a review about this software, please tell me about it, so that I can add the link and your website logo here.

My lady is a reflexologist. Click here to visit her website!