1

我正在使用 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)

请为此错误提出解决方案。长期以来一直在发生。

谢谢, 安基特

4

1 回答 1

0

我有同样的问题。我通过将方案配置添加到 xcodebuild 命令来解决它。请参考下面的示例代码。

xcodebuild -scheme "QuickView" -project "$PATH_PROJECT" -configuration Release 

谢谢

Chamath Jeevan 技术主管 Gmail:chamathjeevan@gmail.com Skype:chamathjeevan Linkin:http ://lk.linkedin.com/in/chamathjeevan 手机:+94 777 998 445

于 2015-02-24T06:31:31.313 回答