【问题标题】:Building example app fails in Appcelerator在 Appcelerator 中构建示例应用程序失败
【发布时间】:2016-05-24 22:48:08
【问题描述】:

我创建了一个新项目(默认合金移动应用程序)并尝试在失败时在 9.3 iPhone 6 模拟器中运行它。

[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :   CompileC build/Intermediates/fdsafda.build/Debug-iphonesimulator/Test.build/Objects-normal/i386/WatchSessionModule.o Classes/WatchSessionModule.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] :  (1 failure)

如果我在 Xcode 中打开项目,它会显示 /Users/me/Documents/Appcelerator_Studio_Workspace/Test/build/iphone/Classes/WatchSessionModule.h:10:9: 'WatchConnectivity/watchConnectivity.h' file not found

我已经安装了以下

  • Xcode 7.3.1(内部版本 7D1014)
  • 命令行工具 7.3.1.0.1.1461711523
  • Ti SDK 5.2.2.GA
  • APPC Studio 4.5
  • APPC cli 5.2.2
  • APPC ti -v 5.0.6
  • Node.js 版本 4.4.4

【问题讨论】:

  • 您能否尝试重新安装 Titanium SDK (appc ti sdk install 5.2.2.GA --force) 并清理您的项目 (appc ti clean) 并重试?

标签: ios appcelerator appcelerator-titanium


【解决方案1】:

在我的情况下,这是因为我在区分大小写的分区中安装 MacOSX,所以要修复它只需修复大小写:

watchConnectivity.h -> WatchConnectivity.h

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-05
    • 1970-01-01
    • 2020-09-14
    • 1970-01-01
    • 2017-08-29
    • 2017-04-26
    相关资源
    最近更新 更多