我正在使用Xcode 4.5并使用终端命令行“xcodebuild”来构建我的应用程序。但是我收到了以下错误:
The following build commands failed:
CompileC "build/Sample_google.build/Release-iphoneos/Tech Time.build/Objects-normal/armv7/AppDelegate.o" Sample_google/Classes/AppDelegate.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC "build/Sample_google.build/Release-iphoneos/Tech Time.build/Objects-normal/armv7/MainViewController.o" Sample_google/Classes/MainViewController.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC "build/Sample_google.build/Release-iphoneos/Tech Time.build/Objects-normal/armv7/ChildBrowserCommand.o" Sample_google/Plugins/ChildBrowserCommand.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC "build/Sample_google.build/Release-iphoneos/Tech Time.build/Objects-normal/armv7s/MainViewController.o" Sample_google/Classes/MainViewController.m normal armv7s objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC "build/Sample_google.build/Release-iphoneos/Tech Time.build/Objects-normal/armv7s/AppDelegate.o" Sample_google/Classes/AppDelegate.m normal armv7s objective-c com.apple.compilers.llvm.clang.1_0.compiler
(5 failures)
请为此错误提供解决方案。它发生了很长时间。
谢谢, ANKIT
答案 0 :(得分:0)
我遇到了同样的问题。我通过将方案配置添加到xcodebuild命令来解决它。请参阅下面的示例代码。
xcodebuild -scheme "QuickView" -project "$PATH_PROJECT" -configuration Release
谢谢
Chamath Jeevan 技术主管 Gmail:chamathjeevan@gmail.com Skype:chamathjeevan 林肯:http://lk.linkedin.com/in/chamathjeevan 手机:+94 777 998 445