Titanium:升级到3.5.0.GA后的构建错误(架构x86_64的未定义符号)

时间:2015-01-16 00:01:22

标签: ios 64-bit titanium-mobile x86-64 titanium-alloy

为了满足应用的Apple 64-bit requirements,我只是将应用更新为Titanium SDK 3.5.0.GA.该应用程序以前在3.4.1.GA上运行,并且做得很好。

现在,一旦我为IOS编译,我就得到了这个错误堆栈:

[TRACE] Undefined symbols for architecture x86_64:
[TRACE]   "_TiDebuggerStart", referenced from:
[TRACE]       -[TiApp boot] in TiApp.o
[TRACE]   "_TiDebuggerStop", referenced from:
[TRACE]       -[TiApp dealloc] in TiApp.o
[TRACE]   "_TiProfilerStart", referenced from:
[TRACE]       -[TiApp boot] in TiApp.o
[TRACE]   "_TiDebuggerLogMessage", referenced from:
[TRACE]       _TiLogMessage in TiBase.o
[TRACE]       -[APIModule logMessage:severity:] in APIModule.o
[TRACE]   "_TiDebuggerEndScript", referenced from:
[TRACE]       -[KrollBridge evalFileOnThread:context:] in KrollBridge.o
[TRACE]       -[KrollBridge require:path:] in KrollBridge.o
[TRACE]   "_TiDebuggerCreate", referenced from:
[TRACE]       -[KrollContext main] in KrollContext.o
[TRACE]   "_TiProfilerEnable", referenced from:
[TRACE]       -[KrollContext main] in KrollContext.o
[TRACE]   "_TiDebuggerDestroy", referenced from:
[TRACE]       -[KrollContext stop] in KrollContext.o
[TRACE]   "_TiDebuggerBeginScript", referenced from:
[TRACE]       -[KrollBridge evalFileOnThread:context:] in KrollBridge.o
[TRACE]       -[KrollBridge require:path:] in KrollBridge.o
[TRACE] ld: symbol(s) not found for architecture x86_64
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR]         Ld build/QuickIcons.build/Debug-iphonesimulator/MyAPP-universal.build/Objects-normal/i386/MyAPP normal i386
[ERROR]         Ld build/QuickIcons.build/Debug-iphonesimulator/MyAPP-universal.build/Objects-normal/x86_64/MyAPP normal x86_64
[ERROR] (2 failures)

Android的所有功能仍然可以正常使用。

我红了可能是由于模块,我只使用Ti.FacebookTi.Cloud

由于

1 个答案:

答案 0 :(得分:0)

在您的应用程序中使用的模块是什么? Facebook在这里 - > http://gitt.io/search?q=%20architectures%3Ax86_64;

Ti.Cloud显然仍未得到支持;也可能有一些东西要修改你的代码:)

最佳, 阿尔贝托