2016-07-04 4 views
1

Я продолжаю получать следующую ошибку, даже следуя инструкциям на веб-сайте couchbase и пробовать несколько разных изменений.Ошибка Xcode Linked Framework?

Ld /Users/mpschmidt/Library/Developer/Xcode/DerivedData/Resources- 
gawdqzaqxvjlymbelkixzqnweita/Build/Products/Debug- 
iphonesimulator/Resources.app/Resources normal x86_64 
cd /Users/mpschmidt/Documents/Code/Resources 
export IPHONEOS_DEPLOYMENT_TARGET=9.3 
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/ 
iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents 
/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ 
usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms 
/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/mpschmidt/Library 
/Developer/Xcode/DerivedData/Resources-gawdqzaqxvjlymbelkixzqnweita/Build/Products 
/Debug-iphonesimulator -F/Users/mpschmidt/Library/Developer/Xcode/DerivedData/ 
Resources-gawdqzaqxvjlymbelkixzqnweita/Build/Products/Debug-iphonesimulator -  
F/Users/mpschmidt/Documents/Code/Resources -filelist /Users/mpschmidt/Library/Developer 
/Xcode/DerivedData/ 
Resources-gawdqzaqxvjlymbelkixzqnweita/Build/Intermediates/Resources.build/ 
Debug-iphonesimulator/Resources.build/Objects-normal/x86_64/Resources.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.3 
-Xlinker -no_deduplicate -Xlinker -objc_abi_version 
-Xlinker 2 -ObjC -L/Applications/Xcode.app/Contents/Developer/Toolchains/ 
XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/mpschmidt/Library/Developer/Xcode/DerivedData/Resources-gawdqzaqxvjlymbelkixzqnweita/Build/Intermediates/Resources.build/Debug-iphonesimulator/Resources.build/Objects-normal/x86_64/Resources.swiftmodule -framework CouchbaseLiteListener -framework CouchbaseLite -lz -lsqlite3 -framework SystemConfiguration -framework Security -framework CFNetwork 
-Xlinker -dependency_info -Xlinker /Users/mpschmidt/Library/Developer/Xcode/DerivedData/ 
Resources-gawdqzaqxvjlymbelkixzqnweita/Build/Intermediates/Resources.build/ 
Debug-iphonesimulator/Resources.build/Objects-normal/x86_64/Resources_dependency_info.dat -o /Users/mpschmidt/Library/Developer/Xcode/DerivedData/ 
Resources-gawdqzaqxvjlymbelkixzqnweita/Build/Products/Debug-iphonesimulator/ 
Resources.app/Resources 

ld: framework not found CouchbaseLite 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Какая ошибка? Я загрузил фреймворки и выполнил все инструкции на http://developer.couchbase.com/documentation/mobile/current/develop/training/build-first-ios-app/create-new-project/index.html. Кстати, я пытаюсь использовать его быстро, и у меня есть инструкции о том, как это сделать, но я не уверен, что это имеет значение в этой ситуации.

ответ

1

Он пытается связать CouchbaseLite как динамическую структуру (-framework CouchbaseLite), но на самом деле она статична.

Я предполагаю, что вы случайно загрузили версию Mac (которая представляет собой динамическую структуру), а не версию iOS.