Xcode gives error when trying to run on iOS device
我从https://github.com/coolstar/record my screen下载了一个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:/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-implementations -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 -miphoneos-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/RecordMyScreen-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/Platforms/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 /Users/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-cbqfifjhppabcodiaakmucvxfkec/Build/Intermediates/RecordMyScreen.build/Debug-iphoneos/RecordMyScreen.build/Objects-normal/armv7/IASKSettingsReader.o
clang: error: no such file or directory: '/Users/tristanrussell2000/Desktop/RecordMyScreen-master/InAppSettingsKit/InAppSettingsKit/Models/IASKSettingsReader.m'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
请记住,我没有创建此应用程序,也没有编写任何代码或进行任何更改。我运行的是最新版本的xcode 4.6.3,而我的iPod运行的是iOS 6.1.3,项目中的版本设置为该版本。
你知道为什么会发生这种事吗?我怎么解决?谢谢。
该存储库有一个子模块,用于InAppSettingsKit。
是否克隆了此存储库,如果需要,还需要获取子模块:从存储库的顶层发出以下命令:
1 2 | git submodule init git submodule update |
如果直接下载,则需要手动获取inappsettingskit文件并将其添加到文件夹中。