有没有一种简单的方法可以使Three20 v1.1在xCode 4下工作?
我遵循了http://three20.info/article/2011-03-10-Xcode4-Support上的步骤,但这似乎是针对大师的。我使用v1.1的方式与使用TTLauncher的方式相同。
该项目可以正常构建,并且可以在iPhone上完美运行。
但是,当我要创建文件(用于IPA分发)时,会收到18个错误和8个警告。
第一个是:
../scripts/Protect.command: line 23: cd: /Users/XXX/Library/Developer/Xcode/DerivedData/iDoms-cmyivarwxpbvqdfnyclqdrikrtmw/ArchiveIntermediates/iDoms/BuildProductsPath/Release-iphoneos/../three20/Three20UICommon: No such file or directory
大多数其他文件在“例如”上没有“此类文件或目录”:
#import "Three20Core/TTGlobalCoreLocale.h
“或“未声明(功能的首次使用)”(来自“我认为没有此类文件或目录问题”)。
在“标题搜索路径”中,我有:
$(BUILT_PRODUCTS_DIR)/../three20
$(BUILT_PRODUCTS_DIR)/../../three20
../../three20/Build/Products/three20
/usr/include/libxml2
任何帮助将不胜感激!
最佳答案
您应该 checkout this StackOverflow question。
我在下面转载了可接受的答案:
So it looks like the easiest way to get old Xcode 3.2 projects to work with Xcode 4 is to do the following:
Go into Xcode 4's preferences (Cmd+,). Select the "Locations" tab. Where it says "Build Locations", select the drop down and pick "Place build products in locations specified by targets" I'll write up a three20.info article going into more details about this.
关于xcode - Three20 v1.1和Xcode 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5326206/