Recent Changes - Search:

edit SideBar

WikimediaIOSApp

Notes about building the Wikimedia IOS App

Problems

clang: error: no such file or directory: '/Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageCompat.m'


Build target SDWebImage of project Pods with configuration Debug

CompileC /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageCompat.o /Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageCompat.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/cxh/src/wikipedia-ios/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/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/cxh/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/cxh/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Xclang -fmodule-implementation-of -Xclang SDWebImage -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -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-implementations -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-generated-files.hmap -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-own-target-headers.hmap -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-all-non-framework-target-headers.hmap -ivfsoverlay /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/all-product-headers.yaml -iquote /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-project-headers.hmap -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Products/Debug-iphonesimulator/include -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Private -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Private/SDWebImage -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Public -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Public/HockeySDK -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/DerivedSources/x86_64 -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/DerivedSources -F/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Products/Debug-iphonesimulator -DOS_OBJECT_USE_OBJC=0 -w -Xanalyzer -analyzer-disable-all-checks -include /Users/cxh/src/wikipedia-ios/Pods/Target\ Support\ Files/SDWebImage/SDWebImage-prefix.pch -MMD -MT dependencies -MF /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageCompat.d --serialize-diagnostics /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageCompat.dia -c /Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageCompat.m -o /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageCompat.o

clang: error: no such file or directory: '/Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageCompat.m'
clang: error: no input files

CompileC /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageDecoder.o /Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageDecoder.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/cxh/src/wikipedia-ios/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/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/cxh/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/cxh/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Xclang -fmodule-implementation-of -Xclang SDWebImage -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -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-implementations -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-generated-files.hmap -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-own-target-headers.hmap -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-all-non-framework-target-headers.hmap -ivfsoverlay /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/all-product-headers.yaml -iquote /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/SDWebImage-project-headers.hmap -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Products/Debug-iphonesimulator/include -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Private -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Private/SDWebImage -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Public -I/Users/cxh/src/wikipedia-ios/Pods/Headers/Public/HockeySDK -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/DerivedSources/x86_64 -I/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/DerivedSources -F/Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Products/Debug-iphonesimulator -DOS_OBJECT_USE_OBJC=0 -w -Xanalyzer -analyzer-disable-all-checks -include /Users/cxh/src/wikipedia-ios/Pods/Target\ Support\ Files/SDWebImage/SDWebImage-prefix.pch -MMD -MT dependencies -MF /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageDecoder.d --serialize-diagnostics /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageDecoder.dia -c /Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageDecoder.m -o /Users/cxh/Library/Developer/Xcode/DerivedData/Wikipedia-ffnuuhjbgrnsuccirnwabxzyhtmr/Build/Intermediates/Pods.build/Debug-iphonesimulator/SDWebImage.build/Objects-normal/x86_64/SDWebImageDecoder.o

clang: error: no such file or directory: '/Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageDecoder.m'
clang: error: no input files
 

vendor/SDWebImage/ exists, but is empty.

Solution:

rm -rf vendors/SDWebImage
git clone https://github.com/rs/SDWebImage.git

/Users/cxh/src/wikipedia-ios/vendor/SDWebImage/SDWebImage/SDWebImageDecoder.m

Type 'SDWebImageOptions' has no member 'ReportCancellationAsError'

/Users/cxh/src/wikipedia-ios/Wikipedia/Images/SDWebImageManager+PromiseKit.swift:48:69: Type 'SDWebImageOptions' has no member 'ReportCancellationAsError'

Solution: I probably had the wrong version of SDWebImage checked out. Running make prebuild fixed this.

Edit - History - Print - Recent Changes - Search
Page last modified on October 18, 2015, at 03:10 PM