在 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
我安装了以下
- Xcode 7.3.1(内部版本 7D1014)
- 命令行工具 7.3.1.0.1.1461711523
- Ti SDK 5.2.2.GA
- APPC Studio 4.5
- APPC 客户端 5.2.2
- APPC ti -v 5.0.6
- Node.js 版本 4.4.4
就我而言,这是因为我在区分大小写的分区中安装 MacOSX,所以要修复它只需修复大小写即可:
watchConnectivity.h -> WatchConnectivity.h
我创建了一个新项目(默认 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
我安装了以下
- Xcode 7.3.1(内部版本 7D1014)
- 命令行工具 7.3.1.0.1.1461711523
- Ti SDK 5.2.2.GA
- APPC Studio 4.5
- APPC 客户端 5.2.2
- APPC ti -v 5.0.6
- Node.js 版本 4.4.4
就我而言,这是因为我在区分大小写的分区中安装 MacOSX,所以要修复它只需修复大小写即可:
watchConnectivity.h -> WatchConnectivity.h