无法构建使用可可豆荚的应用程序

时间:2014-06-21 23:37:59

标签: ios xcode cocoapods

我最近重新安装了我的Mac OS X Maverick发行版并设置了我的开发环境。我试图按照以下教程来了解有关可可豆荚的更多信息  我永远无法让构建成功运行。

本教程来自以下来源:http://www.raywenderlich.com/64546/introduction-to-cocoapods-2

要恢复,我已按照终端应用的后续步骤进行操作:

1- run:sudo gem update --system(OK)

2- run:sudo gem install cocoapods(OK)

3- run:pod setup(OK - 终端返回此"设置CocoaPods主仓库 安装完成(只读访问)")

应用程序路径上的

4-运行:pod init(创建Podfile)

5- run:打开-a Xcode Podfile(已修改的iOS版本确定并添加了pod' AFNetworking',' 2.2.1'在"目标' Showtracker' do)

6-运行:pod install(一切正常,工作区和所有文件都已正确创建)

之后我从finder打开了工作区文件,Xcode中的工作区与2个项目文件完全一致

当我尝试构建应用时,我的构建结果出现以下错误:

  

CompileC   /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o   AFNetworking / AFNetworking / AFHTTPRequestOperation.m正常i386   objective-c com.apple.compilers.llvm.clang.1_0.compiler       cd / Users / mtopp / Documents / Workspace / ShowTracker / Pods       export LANG = en_US.US-ASCII       export PATH =" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr / bin: / bin中:/ usr / sbin目录:/ sbin目录"       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang   -x objective-c -arch i386 -fmessage-length = 0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit = 0 -std = gnu99 -fmodules -fmodules-cache-path = / Users / mtopp /图书馆/开发商/ Xcode中/ DerivedData / ModuleCache   -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of -weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno -shadow -Wno-four-const-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno -selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementation -DDEBUG = 1 -DCOCOAPODS = 1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs /iPhoneSimulator7.1.sdk   -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version = 2 -fobjc-legacy-dispatch -mios-simulator-version-min = 7.0 -iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-generated-files.hmap -I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-own-target-headers.hmap   -I /用户/ mtopp /库/开发商/ Xcode中/ DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq /编译/中间体/ Pods.build /调试-iphonesimulator / Pods-ShowTracker-AFNetworking.build /豆荚-ShowTracker-AFNetworking-所有目标报头.hmap   -iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-project-headers.hmap -I /用户/ mtopp /库/开发商/ Xcode中/ DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq /编译/产品/调试-iphonesimulator /包括   -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / BuildHeaders -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / BuildHeaders / AFNetworking   -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / Headers -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / Headers / AFNetworking   -I /用户/ mtopp /库/开发商/ Xcode中/ DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq /编译/中间体/ Pods.build /调试-iphonesimulator / Pods-ShowTracker-AFNetworking.build / DerivedSources / I386   -I /用户/ mtopp /库/开发商/ Xcode中/ DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq /编译/中间体/ Pods.build /调试-iphonesimulator / Pods-ShowTracker-AFNetworking.build / DerivedSources   -F /用户/ mtopp /库/开发商/ Xcode中/ DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq /编译/产品/调试,iphonesimulator   -fobjc-arc -w -Xanalyzer -analyzer-disable-checker -include / Users / mtopp / Library / Developer / Xcode / DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq / Build / Intermediates / PrecompiledHeaders / Pods-ShowTracker-AFNetworking-prefix-aypnknzjycfqnmhhpckrwqzjddtp / Pods -ShowTracker-AFNetworking-prefix.pch -MMD -MT依赖关系-MF /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking。建立/对象 - 正常/ I386 / AFHTTPRequestOperation.d   --serialize-diagnostics /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation。直径   -c /Users/mtopp/Documents/Workspace/ShowTracker/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m   -o /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o

     

堆栈转储:   0.程序参数:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang   -cc1 -triple i386-apple-ios7.0.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name AFHTTPRequestOperation.m -mrelocation-model pic -pic-level 2 -mdisable -fp-elim -masm-verbose -target-cpu yonah -target-linker-version 236.3 -gdwarf-2 -coverage-file / Users / mtopp / Library / Developer / Xcode / DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq / Build / Intermediates / Pods .build /调试-iphonesimulator / Pods-ShowTracker-AFNetworking.build /对象 - 正常/ I386 / AFHTTPRequestOperation.o   -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1   -dependency-file /Users/mopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.d   -MT依赖项-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk   -iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-generated-files.hmap -iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-project-headers.hmap -include-pch /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxooawmixoxklvzq/Build/Intermediates/PrecompiledHeaders/Pods-ShowTracker-AFNetworking-prefix-aypnknzjycfqnmhhpckrwqzjddtp/Pods-ShowTracker-AFNetworking-prefix.pch.pch   -D DEBUG = 1 -D COCOAPODS = 1 -I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods -ShowTracker-AFNetworking-自己的目标,headers.hmap   -I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-all-target-headers .hmap   -I / Users / mtopp / Library / Developer / Xcode / DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq / Build / Products / Debug-iphonesimulator / include   -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / BuildHeaders -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / BuildHeaders / AFNetworking   -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / Headers -I / Users / mtopp / Documents / Workspace / ShowTracker / Pods / Headers / AFNetworking   -I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/DerivedSources/i386   -I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/DerivedSources   -F /用户/ mtopp /库/开发商/ Xcode中/ DerivedData / ShowTracker-eidspshbmfufcxeoawmixoxklvzq /编译/产品/调试,iphonesimulator   -O0 -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno -missing-braces -Wparentheses -Wswitch -Wunused-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 -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno -strict-selector-match -Wundeclared-selector -Wno-deprecated-implementation -Wototocol -Wdeprecated-declarations -Wno-sign-conversion -w -std = gnu99 -fdebug-compilation-dir / Users / mtopp / Documents / Workspace / ShowTracker / Pods -ferror-limit 19   -fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fmodules -fmodules-cache-path = / Users / mtopp / Library / Developer / Xcode / DerivedData / ModuleCache   -fobjc-runtime = ios-7.0.0 -fencode-extended-block-signature -fobjc-arc -fobjc-exceptions -fexceptions -fpascal-strings -fdiagnostics-show-option -fdiagnostics-show-note-include-stack -fasm -blocks -vectorize-slp -serialize-diagnostic-file /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects - 正常/ I386 / AFHTTPRequestOperation.dia   -o /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o   -x objective-c /Users/mtopp/Documents/Workspace/ShowTracker/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m

     
      文件末尾的
  1. 解析器
  2.   
  3. 代码生成
  4.   
  5. 运行通行证'功能通过管理器' on module' /Users/mtopp/Documents/Workspace/ShowTracker/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m'。
  6.   
  7. 运行通行证' X86 DAG-> DAG指令选择' on function' @" \ 01- [AFHTTPRequestOperation responseObject]"' clang:错误:无法   执行命令:分段错误:11 clang:错误:clang   frontend命令因信号失败(使用-v查看调用)Apple   LLVM版本5.1(clang-503.0.40)(基于LLVM 3.4svn)目标:   i386-apple-darwin13.0.0线程模型:posix clang:注意:诊断   消息:请提交错误报告   http://developer.apple.com/bugreporter/并包括崩溃   回溯,预处理源和关联的运行脚本。铛:   注意:诊断信息:   
  8.         

    请将以下文件附于BUG报告:预处理   源(s)和相关的运行脚本位于:clang:note:   诊断消息:   /var/folders/z3/wmz14g7527l40snggf1b5qb40000gn/T/AFHTTPRequestOperation-4de2a1.m   clang:注意:诊断消息:   /var/folders/z3/wmz14g7527l40snggf1b5qb40000gn/T/AFHTTPRequestOperation-4de2a1.sh   clang:注意:诊断信息:

         

    **************** 命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang   退出代码254失败

我无法找到解决方案,错误非常普遍,以至于我已经阅读了很多不同的问题。

我将非常感谢您提供的任何帮助或指导

0 个答案:

没有答案