Three20Core compile question 编译错误

Question:

Three20Core/private/TTExtensionInfoPrivate.h file not found

解决办法就是删除错误的地方,删除private/  变成Three20Core/TTExtensionInfoPrivate.h 实际测试了很多机子,有的机子不行,有的机子有可以。xcode 5 删除private/后编译成功

I am updating an application (not developed by me) that uses three20. I was successful in getting it to build and run on Xcode 4.3.1 which is great :o) I am now concerned about memory leaks (no arc in the app yet) and want to run the app through the profiler. When I try to do this (Product –> Profile) I get Three20 build errors again. Specifically “Three20Core/private/TTExtensionInfoPrivate.h”file not found and a Shell Script Invocation Error in the three20/src/scripts/Protect.command: line 31 line 31 in the Protect.command was added in to get the app built and running on this version of Xcode – it reads: cd ${PREFIX}${PUBLIC_HEADERS_FOLDER_PATH}

Answer:

Fixed the problem above – the TTExtensionInfoPrivate.h file was in the Three20Core directory and there was no private subdirectory. Removed “private/” from the two #import Three20Core/private/TTExtensionInfoPrivate.h commands (these were in TTExtensionInfo.m and TTExtensionLoader.m) and was able to build and run my app through the profiler.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值