http://blog.csdn.net/u013583789/article/details/50396747 (Chinese 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
-
You need to install MacPorts, Choose your OS X Version to Download, Wait for the install to finish
-
Open terminal and input
sudo port -v selfupdate
to update macports -
Install DPKG, enter this in terminal
sudo port -f install dpkg
-
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
- 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
Hi. I cannot build a tweak. please help me? thanks
here log: