miaomi / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

Building ServiceGenerator fails after r248 (no such file or directory .../JSON/SBJSON.m) #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout the library with a version > r248
2. Open ServiceGenerator.xcodeproj
3. Build ServiceGenerator

What is the expected output? What do you see instead?

A clean build is expected. Instead, we get a compile error:

CompileC 
/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkv
jdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerato
r.build/Objects-normal/x86_64/SBJSON.o ../../JSON/SBJSON.m normal x86_64 
objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/myuser/src/google-api-objectivec-client-read-only/Source/Tools/ServiceGenerator
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Werror -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wsign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -fvisibility=hidden -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -iquote /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-generated-files.hmap -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-own-target-headers.hmap -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-all-target-headers.hmap -iquote /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-project-headers.hmap -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/DerivedSources/x86_64 -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/DerivedSources -F/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Products/Debug -Wformat -Wall -MMD -MT dependencies -MF /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/Objects-normal/x86_64/SBJSON.d --serialize-diagnostics /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/Objects-normal/x86_64/SBJSON.dia -c /Users/myuser/src/google-api-objectivec-client-read-only/Source/Tools/ServiceGenerator/../../JSON/SBJSON.m -o /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/Objects-normal/x86_64/SBJSON.o

clang: error: no such file or directory: 
'/Users/myuser/src/google-api-objectivec-client-read-only/Source/Tools/ServiceGe
nerator/../../JSON/SBJSON.m'
clang: error: no input files
Command 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u
sr/bin/clang failed with exit code 1

Please provide any additional information below.

Build is clean using r248.

Original issue reported on code.google.com by danielho...@google.com on 22 Jan 2013 at 10:31