couchgap
couchgap copied to clipboard
does not build with a Phone1.2.0 + Couchbase 2.0.0 beta brunch
Here is console messages.
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Aug 8 20:32:45 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin".Attaching to process 49188. 2011-11-17 11:44:11.098 couchgap[49188:13403] *** Assertion failure in -[CouchbaseMobile init], /Users/dave/r/iOS-Couchbase/CouchbaseMobile/Framework/Classes/CouchbaseMobile.m:105 2011-11-17 11:44:11.102 couchgap[49188:13403] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't find CouchbaseResources bundle in app's Resources directory' *** First throw call stack: (0x2403052 0x2594d0a 0x23aba78 0x13672db 0x2e2ba 0x29f5 0x6939d6 0x6948a6 0x6a3743 0x6a41f8 0x697aa9 0x29defa9 0x23d71c5 0x233c022 0x233a90a 0x2339db4 0x2339ccb 0x6942a7 0x695a9b 0x28ef 0x2865 0x1) terminate called throwing an exceptionsharedlibrary apply-load-rules all warning: Could not find object file "/Users/dave/Library/Developer/Xcode/DerivedData/Couchbase-fxxvlesvsubcdkgxmreyjvhsoydg/Build/Intermediates/Couchbase.build/Debug-iphonesimulator/Couchbase.build/Objects-normal/i386/CouchbaseMobile.o" - no debug information available for "/Users/dave/r/iOS-Couchbase/CouchbaseMobile/Framework/Classes/CouchbaseMobile.m".
warning: Could not find object file "/Users/dave/Library/Developer/Xcode/DerivedData/Couchbase-fxxvlesvsubcdkgxmreyjvhsoydg/Build/Intermediates/Couchbase.build/Debug-iphonesimulator/Couchbase.build/Objects-normal/i386/Couchbase_vers.o" - no debug information available for "/Users/dave/Library/Developer/Xcode/DerivedData/Couchbase-fxxvlesvsubcdkgxmreyjvhsoydg/Build/Intermediates/Couchbase.build/Debug-iphonesimulator/Couchbase.build/DerivedSources/Couchbase_vers.c".
Current language: auto; currently objective-c kill error while killing target (killing anyway): warning: error on line 2184 of "/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-inferior.c" in function "void macosx_kill_inferior_safe()": (os/kern) failure (0x5x) quit Program ended with exit code: 0
3 break points with main.m
1st file://localhost/Users/user/src/couchgap/couchgap/main.m: error: Semantic Issue: 'NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
file://localhost/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h: notice: Semantic Issue: Declaration has been explicitly marked unavailable here
2nd file://localhost/Users/user/src/couchgap/couchgap/main.m: error: Semantic Issue: 'NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
file://localhost/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: notice: Semantic Issue: Declaration has been explicitly marked unavailable here
3rd file://localhost/Users/user/src/couchgap/couchgap/main.m: error: Automatic Reference Counting Issue: ARC forbids explicit message send of 'release'
Thanks this looks like it has some files carried over from my local build, or you're missing the resources.
- does it build successfully when you clean first?
- can you post the build log somewhere for me to look at? I'm mainly interested in the last few entries with the rsync script
NB currently there is an open issue with how erlang starts up when its been embedded in PhoneGap; this will also cause you to drop into GDB even if the build is successful.
warning: error on line 2184 of "/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-inferior.c" in function "void macosx_kill_inferior_safe()": (os/kern) failure (0x5x) quit Program ended with exit code: 0