Undefined symbols for architecture x86_64:
"_NSFileProtectionCompleteUnlessOpen", referenced from:
-[CBL_BlobStoreWriter initWithStore:] in CouchbaseLite(CBL_BlobStore.o)
"_NSFileProtectionKey", referenced from:
-[CBL_BlobStoreWriter initWithStore:] in CouchbaseLite(CBL_BlobStore.o)
"_OBJC_CLASS_$_UIApplication", referenced from:
objc-class-ref in CouchbaseLite(CBL_Replicator+Backgrounding.o)
"_OBJC_CLASS_$_UITableViewCell", referenced from:
objc-class-ref in CouchbaseLite(CBLUITableSource.o)
"_UIApplicationDidEnterBackgroundNotification", referenced from:
-[CBLDatabase initWithPath:name:manager:readOnly:] in CouchbaseLite(CBLDatabase.o)
-[CBL_Replicator(Backgrounding) setupBackgrounding] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
-[CBL_Replicator(Backgrounding) endBackgrounding] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
"_UIApplicationWillEnterForegroundNotification", referenced from:
-[CBL_Replicator(Backgrounding) setupBackgrounding] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
-[CBL_Replicator(Backgrounding) endBackgrounding] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
"_UIApplicationWillTerminateNotification", referenced from:
-[CBLDatabase initWithPath:name:manager:readOnly:] in CouchbaseLite(CBLDatabase.o)
"_UIBackgroundTaskInvalid", referenced from:
-[CBL_Replicator(Backgrounding) setupBackgrounding] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
-[CBL_Replicator(Backgrounding) endBGTask] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
-[CBL_Replicator(Backgrounding) okToEndBackgrounding] in CouchbaseLite(CBL_Replicator+Backgrounding.o)
___50-[CBL_Replicator(Backgrounding) appBackgrounding:]_block_invoke in CouchbaseLite(CBL_Replicator+Backgrounding.o)
___50-[CBL_Replicator(Backgrounding) appForegrounding:]_block_invoke in CouchbaseLite(CBL_Replicator+Backgrounding.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
For the life of me I cannot get the 64 bit version of the 3.1 beta to compile with xcode 5.1. I keep getting this lovely error:
Okay, I cloned the source code like you said and changed my target to CBL Mac. When I run products > archive I get this window:
CouchbaseLite.framework it contains." I don't get how to find the archive, there's only one line shown named CBL Mac. Also Do I need to click Validate or Distribute and if so what then?dyld: Library not loaded: @rpath/CouchbaseLite.framework/Versions/A/CouchbaseLite
Referenced from: /Users/nate/Library/Developer/Xcode/DerivedData/CBL-bdkrdsgxtmsootdrnldzujvvfgvy/Build/Products/Debug/CBL.app/Contents/MacOS/CBL
Reason: image not found
I'm lost as to what to do from here. The docs say "Then use the Organizer window's Archives tab to find the archive and theCouchbaseLite.framework it contains." I don't get how to find the archive, there's only one line shown named CBL Mac.dyld: Library not loaded: @rpath/CouchbaseLite.framework/Versions/A/CouchbaseLite
Referenced from: /Users/nate/Library/Developer/Xcode/DerivedData/CBL-bdkrdsgxtmsootdrnldzujvvfgvy/Build/Products/Debug/CBL.app/Contents/MacOS/CBL
Reason: image not found
Like it's missing some kind of library or something. Inside the Couchbase.framework folder (the one from the archive) I noticed everything is a symlink, is that correct?
Ya, that's the folder I drug into my project, then when I run it I get the error:
@loader_path/../Frameworks".