简体   繁体   English

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

[英]Building example app fails in Appcelerator

I created a new project (Default Alloy Mobile App) and trying to run it in 9.3 iPhone 6 simulator when it fails. 我创建了一个新项目(Default Alloy Mobile App)并尝试在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)

And if I open the project in Xcode it says that /Users/me/Documents/Appcelerator_Studio_Workspace/Test/build/iphone/Classes/WatchSessionModule.h:10:9: 'WatchConnectivity/watchConnectivity.h' file not found 如果我在Xcode中打开项目,它会显示/Users/me/Documents/Appcelerator_Studio_Workspace/Test/build/iphone/Classes/WatchSessionModule.h:10:9: 'WatchConnectivity/watchConnectivity.h' file not found

I have the following installed 我安装了以下内容

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

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

watchConnectivity.h -> WatchConnectivity.h

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM