在 Appcelerator 中构建示例应用程序失败

Building example app fails in Appcelerator

我创建了一个新项目(默认 Alloy 移动应用程序)并尝试在 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

我安装了以下

就我而言,这是因为我在区分大小写的分区中安装 MacOSX,所以要修复它只需修复大小写即可:

watchConnectivity.h -> WatchConnectivity.h