jaffmd / 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

Closed GoogleCodeExporter closed 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

GoogleCodeExporter commented 9 years ago
I'm not sure why your checkout is lacking SBJSON to satisfy the dependency.

Still, it's archaic at this point to require SBJSON, so I've changed the 
generator project to require 10.7+ and removed the SBJSON references from the 
project file.

http://code.google.com/p/google-api-objectivec-client/source/detail?r=261

Original comment by grobb...@google.com on 22 Jan 2013 at 10:45