2

Xcode を使用してコードを整理し、コンパイル時にエラーを表示しないようにする方法はありますか? 代わりに、エラー メッセージと出力がターミナルに表示されるようにします。私は大学生で、C でプログラミングする方法を学んでいます。Xcode にあるようなユーザー フレンドリーな方法ではなく、エラー メッセージがターミナルに表示されることを本当に望んでいます。 .

4

1 に答える 1

2

本当に不可解な形式でエラーを表示したい場合 (笑...なぜそれが必要なのですか?)、ログナビゲーター ( + 7、または「ナビゲーター」-「表示」を選択すると、Xcode からアクセスできます。 Xcode の [表示] メニューから [ログ ナビゲータ] を選択):

不可解なエラー

不便なログ結果が本当に必要な場合は、Xcode で簡単に取得できます。


コマンド ライン ツールをインストールして (Xcode の [設定] - [ダウンロード] - [コンポーネント] に移動し、コマンド ライン ツールを選択)、コマンド ラインからビルドすることもできます。たとえば、コマンド ラインから Xcode プロジェクトをビルドするには、次のようにします。

Rob-MacBook-Air: テスト ryyan$ xcodebuild ビルド テスト
=== ビルド ネイティブ ターゲット プロジェクトのテスト デフォルト構成でのテスト (リリース) ===
依存関係を確認する

CpResource /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/ResourceRules.plist build/Release-iphoneos/Test.app/ResourceRules.plist
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr /bin/strip -resolve-src-symlinks /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/ResourceRules.plist /Users/rryan/Dropbox/Private/Personal /Xcode/Test/build/Release-iphoneos/Test.app

ProcessInfoPlistFile build/Release-iphoneos/Test.app/Info.plist テスト/Test-Info.plist
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    builtin-infoPlistUtility Test/Test-Info.plist -genpkginfo /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/Test.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -resourcerulesfile /Users /rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/Test.app/ResourceRules.plist -o /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/Test .app/Info.plist

ProcessPCH /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch.pth Test/Test-Prefix.pch 通常の armv7 Objective-C com.apple .compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-C-header -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno -missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno -strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7 -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 --serialize-diagnostics /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch.dia -c /Users/rryan/Dropbox/Private /Personal/Xcode/Test/Test/Test-Prefix.pch -o /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch.pth -MMD -MT 依存関係 -MF /var/folders/45 /c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch.d

ProcessPCH /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-aisxswopiekfbndqblnpblxzgtrl/Test-Prefix.pch.pth Test/Test-Prefix.pch 通常の armv7s Objective-C com.apple .compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-C-header -arch armv7s -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno -missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno -strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7s -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 --serialize-diagnostics /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-aisxswopiekfbndqblnpblxzgtrl/Test-Prefix.pch.dia -c /Users/rryan/Dropbox/Private /Personal/Xcode/Test/Test/Test-Prefix.pch -o /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-aisxswopiekfbndqblnpblxzgtrl/Test-Prefix.pch.pth -MMD -MT 依存関係 -MF /var/folders/45 /c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-aisxswopiekfbndqblnpblxzgtrl/Test-Prefix.pch.d

CompileC build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7s/AppDelegate.o Test/AppDelegate.m 通常の armv7s Objective-C com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-c -arch armv7s -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal -strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing -braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno -four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict -selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7s -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 -インクルード /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-aisxswopiekfbndqblnpblxzgtrl/Test-Prefix.pch -MMD -MT 依存関係 -MF /Users/rryan/Dropbox/Private /Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7s/AppDelegate.d --serialize-diagnostics /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7s /AppDelegate.dia -c /Users/rryan/Dropbox/Private/Personal/Xcode/Test/Test/AppDelegate.m -o /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release -iphoneos/Test.build/Objects-normal/armv7s/AppDelegate.o

CompileC build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7s/main.o Test/main.m 通常の armv7s Objective-C com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-c -arch armv7s -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal -strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing -braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno -four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict -selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7s -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 -インクルード /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-aisxswopiekfbndqblnpblxzgtrl/Test-Prefix.pch -MMD -MT 依存関係 -MF /Users/rryan/Dropbox/Private /Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7s/main.d --serialize-diagnostics /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7s /main.dia -c /Users/rryan/Dropbox/Private/Personal/Xcode/Test/Test/main.m -o /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release -iphoneos/Test.build/Objects-normal/armv7s/main.o

CompileC build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/main.o Test/main.m 通常の armv7 Objective-C com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-c -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal -strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing -braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno -four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict -selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7 -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 -インクルード /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch -MMD -MT 依存関係 -MF /Users/rryan/Dropbox/Private /Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7 /main.dia -c /Users/rryan/Dropbox/Private/Personal/Xcode/Test/Test/main.m -o /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release -iphoneos/Test.build/Objects-normal/armv7/main.o

CompileC build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/AppDelegate.o Test/AppDelegate.m 通常の armv7 Objective-C com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-c -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal -strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing -braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno -four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict -selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7 -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 -インクルード /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch -MMD -MT 依存関係 -MF /Users/rryan/Dropbox/Private /Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/AppDelegate.d --serialize-diagnostics /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7 /AppDelegate.dia -c /Users/rryan/Dropbox/Private/Personal/Xcode/Test/Test/AppDelegate.m -o /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release -iphoneos/Test.build/Objects-normal/armv7/AppDelegate.o

CompileC build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/ViewController.o Test/ViewController.m 通常の armv7 目的-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/rryan/Dropbox/プライベート/個人/Xcode/テスト
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x Objective-c -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal -strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing -braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno -four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict -selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min= 6.1 -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-generated-files.hmap -I/Users/rryan/Dropbox/Private/ Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Test-own-target-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test. build/Release-iphoneos/Test.build/Test-all-target-headers.hmap -iquote /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/ Test-project-headers.hmap -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/ツールチェーン/XcodeDefault.xctoolchain/usr/include -I/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources/armv7 -I/Users/rryan/ Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/DerivedSources -F/Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Release-iphoneos -DNS_BLOCK_ASSERTIONS= 1 -インクルード /var/folders/45/c8s3_0sj11d0vcr6pvg2l01c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Test-Prefix-crjhyljfihiegncnnhikkpkeezqz/Test-Prefix.pch -MMD -MT 依存関係 -MF /Users/rryan/Dropbox/Private /Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/ViewController.d --serialize-diagnostics /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7 /ViewController.dia -c /Users/rryan/Dropbox/Private/Personal/Xcode/Test/Test/ViewController.m -o /Users/rryan/Dropbox/Private/Personal/Xcode/Test/build/Test.build/Release -iphoneos/Test.build/Objects-normal/armv7/ViewController.o
/Users/rryan/Dropbox/Private/Personal/Xcode/Test/Test/ViewController.m:21:5: エラー: 宣言されていない識別子 'i' の使用
    i = 4;
    ^
1 エラーが発生しました。


** ビルドに失敗しました **


次のビルド コマンドが失敗しました:
    CompileC build/Test.build/Release-iphoneos/Test.build/Objects-normal/armv7/ViewController.o Test/ViewController.m 通常の armv7 目的-c com.apple.compilers.llvm.clang.1_0.compiler
(1回失敗)

=== ビルド ネイティブ ターゲット プロジェクトのテスト デフォルト構成でのテスト (リリース) ===
依存関係を確認する
サポートされていないビルド アクション 'Test'


** ビルドに失敗しました **


次のビルド コマンドが失敗しました:
    依存関係を確認する
(1回失敗)

または、単一の .c ファイルだけをコンパイルする場合:

Robert-Ryans-iMac: テスト ryyan$ clang test.c
test.c:5:10: 警告: 終端文字「"」がありません [-Winvalid-pp-token]
  printf("こんにちは、世界);
         ^
test.c:5:10: エラー: 予期される式
1 つの警告と 1 つのエラーが生成されました。
于 2013-08-11T14:45:58.607 に答える