最近看到一些项目 是在越狱环境下开发的 而且很使用 比如说隐藏桌面图标 还有黑名单等等这些功能。于是想看下如何开发越狱软件。
在知道IOSOpenDev这个软件的时候 安装失败 我估计 每个安装这个软件的第一次肯定不会安装成功的。
如果失败了 COMMON+L 就会看到日志,显示全部日志 就会出现失败的LOG
具体的看他们官网GitHub的说明 连接如下
https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot
Problem: Installer fails with:
Resolution:
1. Press ⌘L to view log
2. Select Show All Errors Logs
3. Scroll to the bottom of log to see why the installer failed.
4. Do something about it.
Problem: Installer fails with:
installd: ./postinstall: Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
Resolution:
1. In Terminal, run: system_profiler SPDeveloperToolsDataType
2. From the output, use the Location value and in Terminal, run: sudo xcode-select -switch (the-location-outputted)
3. Re-run the iOSOpenDev Installer.
Problem: Installer fails with the following in the log:
installd: ./postinstall: You have not agreed to the Xcode license agreements, please run xcodebuild standalone from within a Terminal window to review and agree to the Xcode license agreements.
Resolution:
1. Download https://github.com/downloads/kokoabim/iOSOpenDev/xcode-license.tar.gz and extract xcode-license
out of it.
2. Open Terminal, go to the directory where the file was extracted to and run: ./xcode-license
Problem: Installer fails with the following in the log:
installd: ./postinstall: Unable to locate dpkg-deb. Make sure it is installed and in the PATH. If it is not installed then use MacPorts to install it by typing `sudo port -f install dpkg` in Terminal. If MacPorts is not installed, download it from http://www.macports.org/ and install it and install dpkg. Then re-run the iOSOpenDev Installer.
Resolution: Install dpkg (follow dpkg wiki article)
1. View installer log as described above.
2. Select all the text in the log and copy it.
3. Email copied text to [email protected].
Problem: Build fails in Xcode with the following in the build message:
Building package /Users/chucknorris/Foo/Packages/Foo_1.0_iphoneos-arm.deb...
/opt/iOSOpenDev/bin/iosod: line 644: 37836 Trace/BPT trap: 5 "$dpkgdebPath" -b "$packageDir" "$packageFileName" >&/dev/null
Failed.
Command /bin/sh failed with exit code 133
Resolution: Use MacPort’s dpkg not Fink’s.
但是按照他们的方法 无法解决问题 需要同时设置上面两个条件 记得 千万要用root权限 不然是安装不上的
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
然后./xcode-license 这个也需要root权限执行 切记
时间匆忙 就先写到这吧。
http://blog.csdn.net/jimmy54/article/details/7453298
环境需要: Mac OS X 10.6 || 10.7 XCode 4.x
一直非常想开发越狱程序.一直是无从下手,直到最近发现了Theos,实在是太好用了.刚教程写了一半,准备发我第一篇文章,结果出了个更好用的东西—iOSOpenDev. iOSOpenDev是一个XCode插件.本来如果开发越狱程序,很多东西都是手动的,像写Makefile文件,也没有IDE,还要自己找编辑器.但是现在这些都被iOSOpenDev解决了!iOSOpenDev可以在XCode里写越狱的程序,整体和写正常的App差不多.还能自动传送到设备里调试.大大降低了越狱程序的开发. 安装:
然后就可以打开Xcode,新建一个工程切换到iOSOenDev.就可以新建你想要的越狱程序了!
为了方便的调试,还要在工程里设置一些参数.这里介绍下这些参数的意义.首先打开程序设置TARGETS里的工程
iOSOpenDev默认安装在/opt/iOSOpenDev里,在里面可以找到undocument api的头文件.
编译的时候不能像正常的App点Run,点击Product->Build For->Build For Profiling.配置好上面的设备IP,程序会自动安装到设备里.
接下来就开始写个越狱程序试试吧!