Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

72 lines (46 sloc) 2.86 kB

iOS SDK Overlay

Installation

  • Install Git
  • git clone git://github.com/jcayzac/ios-overlay.git

Building libraries

Example: building the Boost C++ Libraries.

  • Open a terminal
  • Run source/boost/build

If all goes fine, headers should be installed in /iOS_SDK_Overlay/overlay/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS?.?.sdk/usr.

Target SDK

By default, the toolchain targets the latest iOS SDK available on the host computer. You can target an older SDK, for instance iPhoneOS4.1, by issuing:

source/boost/build SDK=4.1

Using LLVM

To be documented

Using the overlay in an Xcode project

  • Add the following in your Header Search Paths setting: /iOS_SDK_Overlay/overlay/$(SDK_DIR)/usr/include
  • Add the following in your Library Search Paths setting: /iOS_SDK_Overlay/overlay/$(SDK_DIR)/usr/lib
  • Add any library you want to link against, by name, to the Other Linker Flags setting. For instance: -lminizip -lbz2 -lebml
  • Build, run, enjoy!

Updating the overlay

cd /iOS_SDK_Overlay
git pull
...see what changed and rebuild accordingly

License

Short version: it's BSD.

Long boring version:

Copyright 2010 Julien Cayzac. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.

THIS SOFTWARE IS PROVIDED BY JULIEN CAYZAC _AS IS_ AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JULIEN CAYZAC OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the
authors and should not be interpreted as representing official policies, either expressed
or implied, of Julien Cayzac.
Jump to Line
Something went wrong with that request. Please try again.