iOSOpenDev 环境

我的开发环境是maxox10.9 ,装有xcode5和xcode4.6.3。

iOSOpenDev这个环境,基于Xcode创建模板和编译打包。

----------------------------------------------------------------------------------------------------------------------------------------

参考:http://iosopendev.com/download/ 和 https://github.com/kokoabim/iOSOpenDev/wiki/_pages 

我下载安装了iOSOpenDev-1.6-2.pkg。

我一次安装成功,有些人安装会出些错,这里给些常见错误解决:https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot

----------------------------------------------------------------------------------------------------------------------------------------

打开xcode4.6.3,我用Logos tweak工程模板创建一个工程,clean 一下后,执行product-》Bulid for-》profiling,发现clean和profuling都报:

target specifies product type ‘com.apple.product-type.library.dynamic’, but there’s no such product type for the ‘iphoneos’ platform

可能我现在是默认的xcode5,果然用xcode5跑是没有这个错了。

我想用xcode4.6 ,所有打开终端,

执行 xcode-select -p    输出:

/Applications/Xcode.app/Contents/Developer

的确是指向xcode5,所以接着我要指向xcode4.6,执行: 

sudo xcode-select --switch /Applications/Xcode4.6.3.app/Contents/Developer

然后再重装iOSOpenDev就解决我这边的动态库问题了。

 

----------------------------------------------------------------------------------------------------------------------------------------

现在跑2个xcode都报错:Preparing to run Xcode Build Phase for Logos Processor...

Failed to locate Logos Processor. Is Theos installed? If not, see http://iphonedevwiki.net/index.php/Theos/Getting_Started.

Command /bin/sh failed with exit code 1

这个解决简单http://iphonedevwiki.net/index.php/Theos/Getting_Started 到这个网址按步骤安装Theos就好了。

 --------------------------------------------------------------------------------------------------------------------------------------

再次profiling报错:

#error iOSOpenDev post-project creation from template requirements (remove these lines after completed) -- \

Link to libsubstrate.dylib: \

(1) go to TARGETS > Build Phases > Link Binary With Libraries and add /opt/iOSOpenDev/lib/libsubstrate.dylib \

(2) remove these lines from *.xm files (not *.mm files as they're automatically generated from *.xm files)

 这个错误是正常的,按他的操作完成后删除这段文字。

--------------------------------------------------------------------------------------------------------------------------------------

继续profiling工程,继续报错:

Command /bin/sh failed with exit code 1 这个意思是没有成功在设备上运行,这个可以不用管,实际上系统已经帮你把deb包生成好了。 在你的工程目录的Packages下有一个deb包,用itools把deb放在设备的/private/var/root/Media/Cydia/AutoInstall目录下,重启手机之后就安装的。

 

 

 

 

 

你可能感兴趣的:(open)