Skip to content

iOSOpenDev install solution

Misha Suen edited this page Aug 8, 2016 · 13 revisions

Thanks for @ashish1405 , he wrote a more readable install documents in :) https://gist.github.com/ashish1405/8744a1cf9d3d78af3a75559042f7eb54

Welcome to the iosOpenDevInstallTools wiki!

http://blog.csdn.net/u013583789/article/details/50396747 (Chinese Version)

English Version

I'll try to clearly show the solution of how to install iOSOpenDev on Mac OS X 11 and Xcode 7

Here is the complete solution

  1. You need to install MacPorts, Choose your OS X Version to Download, Wait for the install to finish

  2. Open terminal and input sudo port -v selfupdate to update macports

  3. Install DPKG, enter this in terminal sudo port -f install dpkg

  4. Install other tools

a. Open terminal

b. Install theos on /opt/theos, it's officially recommend location too. In terminal type export THEOS=/opt/theos

But when installing, don't execute official git statement. ** Don't USE THIS git: git clone git://github.com/DHowett/theos.git $THEOS **.

Alternatively, you can use svn, if you prefer: svn co http://svn.howett.net/svn/theos/trunk $THEOS.

But try this git clone -b stableversion https://github.com/haorenqq/theos/ $THEOS

It's a branch by "逍遥笛子" because the latest theos version do not support iosOpendev(losing file), so you need to use this theos for installation

c. Build ldid

  • Download git clone git://git.saurik.com/ldid.git
  • cd ldid
  • git submodule update --init
  • Before you compile ldid, there is some problem. Default ldid folder DO NOT include OpenSSL folder ,but make.sh file has "#include" statement so you need to download this file https://github.com/535064094/iosOpenDevInstallTools/archive/master.zip
  • unzip, copy folder named openssl and replace make.sh from this folder to ldid folder
  • make.sh file is specify a version of Xcode, so when you input "./make.sh" on the terminal ,it will report error. Solution is to open make.sh, find out below line
`sudo xcode-select --switch /Applications/Xcode5***.app`

and clear The number after the Xcode.app, just like this sudo xcode-select --switch /Applications/Xcode.app (change to your Xcode app name in Applications folder)

  • ./make.sh
  • cp -f ./out/ldid $THEOS/bin/ldid

d. open downloaded zip folder, and open Specifications folder, it has 8 files there has four files begin with name iPhoneOS , put those files to

/Applications/Xcode/Content/Developer/Platforms/IphoneOS.platform/Developer/Library/Xcode/Specifications (if folder is not there, just create a folder with that name)

and the other four files begin with name iPhone Simulator, put those files to /Applications/Xcode/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications (if there not have the folder,just create a folder) rename the files as below

iPhone Simulator PackageTypes.xcspec
iPhone Simulator PackageTypes.xcspec.iOSOpenDev
iPhone Simulator ProductTypes.xcspec
iPhone Simulator ProductTypes.xcspec.iOSOpenDev

after that,create a folder name usr ,and create a folder name bin in usr. Put the usr folder in /Applications/Xcode/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/

after you create,there should had path like this: /Applications/Xcode/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin

  1. After that, you can start to install iOSOpenDev.pkg good luck!

For other errors you can check this page: https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot

Clone this wiki locally