mraty / spritekit-ropes

Demo of iOS 7 SpriteKit and simple rope physics.
MIT License
68 stars 10 forks source link

Build Failure in xcode 6.1 to iOS 8.1 #1

Open pieje opened 9 years ago

pieje commented 9 years ago

Compile failed because of misspelling in project description of Rope as Robe. When I tried to changed that I get an LLVM error:

Check dependencies

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'RopesTests/RopesTests-Info.plist'.

ProcessPCH /Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/PrecompiledHeaders/Robes-Prefix-hibipapimxcvngalsxfockodnghe/Robes-Prefix.pch.pch Robes/Robes-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pieter.tierens/Downloads/spritekit-ropes-master
    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-header -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -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 -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.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/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/Ropes.build/Debug-iphonesimulator/RopesTests.build/RopesTests-generated-files.hmap -I/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/Ropes.build/Debug-iphonesimulator/RopesTests.build/RopesTests-own-target-headers.hmap -I/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/Ropes.build/Debug-iphonesimulator/RopesTests.build/RopesTests-all-target-headers.hmap -iquote /Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/Ropes.build/Debug-iphonesimulator/RopesTests.build/RopesTests-project-headers.hmap -I/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/Ropes.build/Debug-iphonesimulator/RopesTests.build/DerivedSources/x86_64 -I/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/Ropes.build/Debug-iphonesimulator/RopesTests.build/DerivedSources -F/Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -MD -MT dependencies -MF /Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/PrecompiledHeaders/Robes-Prefix-hibipapimxcvngalsxfockodnghe/Robes-Prefix.pch.d -c /Users/pieter.tierens/Downloads/spritekit-ropes-master/Robes/Robes-Prefix.pch -o /Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/PrecompiledHeaders/Robes-Prefix-hibipapimxcvngalsxfockodnghe/Robes-Prefix.pch.pch --serialize-diagnostics /Users/pieter.tierens/Library/Developer/Xcode/DerivedData/Ropes-ckvqvtetutremfhfueuaphmaeams/Build/Intermediates/PrecompiledHeaders/Robes-Prefix-hibipapimxcvngalsxfockodnghe/Robes-Prefix.pch.dia

clang: error: no such file or directory: '/Users/pieter.tierens/Downloads/spritekit-ropes-master/Robes/Robes-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
SolsmaHawk commented 9 years ago

I did a project search for “Robes” and ended up replacing “Robes” with “Ropes” in Build Settings/Bundle Loader + Build Settings/Prefix Header and then finally, correctly spelled robes in the Build Settings/info.plist File and now the project correctly builds.

SolsmaHawk commented 9 years ago

I've created a fork and submitted a pull request, for now, this should build correctly: https://github.com/SolsmaHawk/spritekit-ropes

mraty commented 9 years ago

Thank you. Just accepted the pull request.