On Wednesday, 10 December 2014 22:02:13 UTC+5:30, Jens Alfke wrote:
>
> The clue must be in the warnings saying "Ignoring file _____" — if it's 
> skipping the CBL libraries that definitely explains the later link errors.
>
> Unfortunately the screenshot cuts off the messages. It's much better to 
> paste errors as text than images. Go to the log/report navigator, select 
> the build, and copy the errors from there.
>
> —Jens
>

Here are the complete error logs from Xcode


Build target BudgetApp


Ld /Users/mac/Library/Developer/Xcode/DerivedData/BudgetApp-
elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/ArchiveIntermediates/
BudgetApp/IntermediateBuildFilesPath/BudgetApp.build/Release-iphoneos/
BudgetApp.build/Objects-normal/arm64/BudgetApp normal arm64
    cd /Users/mac/Desktop/BudgetApp/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH=
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 -arch arm64 -isysroot /Applications/Xcode.app/
Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.
1.sdk -L/Users/mac/Library/Developer/Xcode/DerivedData/BudgetApp-
elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/ArchiveIntermediates/
BudgetApp/BuildProductsPath/Release-iphoneos -L/Users/mac/Desktop/BudgetApp/
platforms/ios/BudgetApp/Plugins/com.couchbase.lite.phonegap -F/Users/mac/
Library/Developer/Xcode/DerivedData/BudgetApp-elzdmxbcbgxqlhfquihazirquizr/
Build/Intermediates/ArchiveIntermediates/BudgetApp/BuildProductsPath/Release
-iphoneos -filelist /Users/mac/Library/Developer/Xcode/DerivedData/BudgetApp
-elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/ArchiveIntermediates/
BudgetApp/IntermediateBuildFilesPath/BudgetApp.build/Release-iphoneos/
BudgetApp.build/Objects-normal/arm64/BudgetApp.LinkFileList -dead_strip 
-weak_framework 
CoreFoundation -weak_framework UIKit -weak_framework AVFoundation 
-weak_framework 
CoreMedia -weak-lSystem -force_load /Users/mac/Library/Developer/Xcode/
DerivedData/BudgetApp-elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/
ArchiveIntermediates/BudgetApp/BuildProductsPath/Release-iphoneos/libCordova
.a -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework 
AssetsLibrary /Users/mac/Library/Developer/Xcode/DerivedData/BudgetApp-
elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/ArchiveIntermediates/
BudgetApp/BuildProductsPath/Release-iphoneos/libCordova.a -framework 
CoreGraphics -framework MobileCoreServices -lCBLJSViewCompiler /Users/mac/
Desktop/BudgetApp/platforms/ios/BudgetApp/Plugins/com.couchbase.lite.
phonegap/CouchbaseLite.a /Users/mac/Desktop/BudgetApp/platforms/ios/
BudgetApp/Plugins/com.couchbase.lite.phonegap/CouchbaseLiteListener.a /Users
/mac/Desktop/BudgetApp/platforms/ios/BudgetApp/Plugins/com.couchbase.lite.
phonegap/JavaScriptCore.a -lsqlite3 -lstdc++ -licucore -lz -framework 
Security -framework CFNetwork -framework SystemConfiguration -Xlinker 
-dependency_info 
-Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/BudgetApp-
elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/ArchiveIntermediates/
BudgetApp/IntermediateBuildFilesPath/BudgetApp.build/Release-iphoneos/
BudgetApp.build/Objects-normal/arm64/BudgetApp_dependency_info.dat -o /Users
/mac/Library/Developer/Xcode/DerivedData/BudgetApp-
elzdmxbcbgxqlhfquihazirquizr/Build/Intermediates/ArchiveIntermediates/
BudgetApp/IntermediateBuildFilesPath/BudgetApp.build/Release-iphoneos/
BudgetApp.build/Objects-normal/arm64/BudgetApp


ld: warning: ignoring file /Users/mac/Desktop/BudgetApp/platforms/ios/
BudgetApp/Plugins/com.couchbase.lite.phonegap/libCBLJSViewCompiler.a, 
missing required architecture arm64 in file /Users/mac/Desktop/BudgetApp/
platforms/ios/BudgetApp/Plugins/com.couchbase.lite.phonegap/
libCBLJSViewCompiler.a (3 slices)
ld: warning: ignoring file /Users/mac/Desktop/BudgetApp/platforms/ios/
BudgetApp/Plugins/com.couchbase.lite.phonegap/CouchbaseLite.a, missing 
required architecture arm64 in file /Users/mac/Desktop/BudgetApp/platforms/
ios/BudgetApp/Plugins/com.couchbase.lite.phonegap/CouchbaseLite.a (3 slices)
ld: warning: ignoring file /Users/mac/Desktop/BudgetApp/platforms/ios/
BudgetApp/Plugins/com.couchbase.lite.phonegap/CouchbaseLiteListener.a, 
missing required architecture arm64 in file /Users/mac/Desktop/BudgetApp/
platforms/ios/BudgetApp/Plugins/com.couchbase.lite.phonegap/
CouchbaseLiteListener.a (3 slices)
ld: warning: ignoring file /Users/mac/Desktop/BudgetApp/platforms/ios/
BudgetApp/Plugins/com.couchbase.lite.phonegap/JavaScriptCore.a, missing 
required architecture arm64 in file /Users/mac/Desktop/BudgetApp/platforms/
ios/BudgetApp/Plugins/com.couchbase.lite.phonegap/JavaScriptCore.a (3 slices
)
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_CBLManager", referenced from:
      objc-class-ref in CBLite.o
  "_CBLRegisterJSViewCompiler", referenced from:
      -[CBLite launchCouchbaseLite] in CBLite.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)


Also i initially thought this to be some error from my side so what i did 
was that i created a simple blank cordova app and added cblite 1.0.3 
phonegap plugin to it along with ios platform and then tried to archive it 
from xcode. Still it fails with above errors.
 

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/e83eed85-9f08-4fb1-b705-9befe0bf5069%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to