尝试在iOS设备上运行时,Xcode会出错

时间:2013-07-27 19:39:34

标签: xcode compiler-errors clang

我从https://github.com/coolstar/RecordMyScreen下载了一个xcode项目用于免费屏幕录像机,以便能够在我的ipod touch 4上进行屏幕录制。我有一个苹果开发帐户,并创建并成功运行我之前创建的应用程序我的设备。我不断得到的错误是:

  

CompileC /Users/tristanrussell2000/Library/Developer/Xcode/DerivedData/RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec/Build/Intermediates/RecordMyScreen.build/Debug-iphoneos/RecordMyScreen.build/Objects-normal/armv7/IASKSettingsReader.o InAppSettingsKit / InAppSettingsKit / Models / IASKSettingsReader.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler       cd / Users / tristanrussell2000 / Desktop / RecordMyScreen-master       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:/仓:/ usr / sbin目录:/ sbin目录"       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective -c -arch armv7 -fmessage-length = 0 -std = gnu99 -Wno-trigraphs -fpascal-strings -O0 -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 -Wno-empty-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-implementation -DDEBUG = 1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -mi phoneos-version-min = 5.0 -iquote /Users/tristanrussell2000/Library/Developer/Xcode/DerivedData/RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec/Build/Intermediates/RecordMyScreen.build/Debug-iphoneos/RecordMyScreen.build/RecordMyScreen-generated-files.hmap - I / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Intermediates / RecordMyScreen.build / Debug-iphoneos / RecordMyScreen.build / RecordMyScreen-own-target-headers.hmap -I / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Intermediates / RecordMyScreen.build / Debug-iphoneos / RecordMyScreen.build / RecordMyScreen-all-target-headers.hmap -iquote / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Intermediates / RecordMyScreen.build / Debug-iphoneos / RecordMyScreen.build / RecordMyScreen-project-headers.hmap -I / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMySc reen-cbqfifjhppabcodiaakmucvxfkec / Build / Products / Debug-iphoneos / include -IRecordMyScreen / headers -IRecordMyScreen / headers / CoreSurface -IRecordMyScreen / headers / IOKit -IRecordMyScreen / headers / IOSurface -ISAVideoRangeSlider -I / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Intermediates / RecordMyScreen.build / Debug-iphoneos / RecordMyScreen.build / DerivedSources / armv7 -I / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Intermediates / RecordMyScreen。 build / Debug-iphoneos / RecordMyScreen.build / DerivedSources -F / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Products / Debug-iphoneos -F / Applications / Xcode.app / Contents / Developer /平台/ iPhoneOS.platform / Developer / SDKs / iPhoneOS6.1.sdk / System / Library / PrivateFrameworks -F / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS6。 1.sdk / System / Library / PrivateFrameworks -include /Users/tristanrussell2000/Library/Developer/Xcode/DerivedData/RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec/Build/Intermediates/PrecompiledHeaders/RecordMyScreen-Prefix-gvjgoyylnuezqsdwnywpdvsfrepq/RecordMyScreen-Prefix.pch -MMD -MT dependencies -MF /Users/tristanrussell2000/Library/Developer/Xcode/DerivedData/RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec/Build/Intermediates/RecordMyScreen.build/Debug-iphoneos/RecordMyScreen.build/Objects-normal/armv7/IASKSettingsReader.d --serialize-diagnostics /用户/ tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfkec / Build / Intermediates / RecordMyScreen.build / Debug-iphoneos / RecordMyScreen.build / Objects-normal / armv7 / IASKSettingsReader.dia -c / Users / tristanrussell2000 / Desktop / RecordMyScreen-master / InAppSettingsKit / InAppSettingsKit / Models / IASKSettingsReader.m -o / Users / tristanrussell2000 / Library / Developer / Xcode / DerivedData / RecordMyScreen-cbqfifjhppabcodiaakmucvxfke C /生成/中间体/ RecordMyScreen.build /调试-的iPhoneOS / RecordMyScreen.build /对象 - 正常/ ARMv7的/ IASKSettingsReader.o   clang:错误:没有这样的文件或目录:' /Users/tristanrussell2000/Desktop/RecordMyScreen-master/InAppSettingsKit/InAppSettingsKit/Models/IASKSettingsReader.m'   clang:错误:没有输入文件   命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang失败,退出代码为1

请记住,我没有创建此应用,也没有编写任何代码或进行任何更改。我正在运行最新版本的XCode 4.6.3,我的iPod正在运行iOS 6.1.3,项目中的版本设置为。

知道为什么会发生这种情况以及如何解决这个问题?感谢。

1 个答案:

答案 0 :(得分:1)

该存储库有一个InAppSettingsKit的子模块。

您是否克隆了此存储库,如果是这样,您还需要获取子模块:从存储库的顶级发出这些命令:

git submodule init
git submodule update

如果您直接下载,则需要手动获取InAppSettingsKit文件并将其添加到文件夹中。