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目录下,重启手机之后就安装的。

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值