xcode - Three20 v1.1和Xcode 4

标签 xcode three20 xcode4 ipa

有没有一种简单的方法可以使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/

相关文章:

iphone - 核心数据崩溃 - 设备上罕见的错误

objective-c - three20 TTNavigator 演示代码触发编译器警告

iphone - 截断 TTStyledTextLabel 中的文本

XCode 3 到 XCode 4 快照迁移

objective-c - 指定要获取哪个对象的 super

iOS 10 保存到相机胶卷错误/崩溃

ios - 一个View作为所有ViewController中的Status View

xcode - 在 Xcode 中编译 i386 与 x86_64 之间的差异?

objective-c - XCode 4 if (self = [super init]) 问题

xcode4 - 如何重置 Xcode 4 键盘快捷键?