我尝试编译项目时遇到问题。以下是错误消息。请帮我解决这个问题。
Ld /Users/dmitriy/Library/Developer/Xcode/DerivedData/SureFireMessenger-hhpmyrmmtyjmjvajfqgednatyetg/Build/Products/Debug-iphonesimulator/SureFireMessenger.app/SureFireMessenger normal x86_64 cd" / Users / dmitriy / Documents / Developments / Fire Messenger / platforms / ios" export IPHONEOS_DEPLOYMENT_TARGET = 7.1 export PATH =" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8。 1.sdk -L / Users / dmitriy / Library / Developer / Xcode / DerivedData / SureFireMessenger -hhpmyrmmtyjmjvajfqgednatyetg / Build / Products / Debug-iphonesimulator -F / Users / dmitriy / Library / Developer / Xcode / DerivedData / SureFireMessenger -hhpmyrmmtyjmjvajfqgednatyetg / Build / Products / Debug-iphonesimulator -filelist /Users/dmitriy/Library/Developer/Xcode/DerivedData/SureFireMessenger-hhpmyrmmtyjmjvajfqgednatyetg/Build/Intermediates/SureFireMessenger.build/Debug-iphonesimulator/SureFireMessenger.build/Objects-normal/x86_64/SureFireMessenger.LinkFileList - Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load / Users / dmitriy / Library / Developer / Xcode / DerivedData / SureFireMessenger-hh pmyrmmtyjmjvajfqgednatyetg / Build / Products / Debug-iphonesimulator / libCordova.a -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min = 7.1 -framework AssetsLibrary -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -weak_framework SystemConfiguration -weak_framework的ImageIO -weak_framework AudioToolbox -weak_framework通讯录-weak_framework AddressBookUI -Xlinker -dependency_info -Xlinker /Users/dmitriy/Library/Developer/Xcode/DerivedData/SureFireMessenger-hhpmyrmmtyjmjvajfqgednatyetg/Build/Intermediates/SureFireMessenger.build/Debug-iphonesimulator /SureFireMessenger.build/Objects-normal/x86_64/SureFireMessenger_dependency_info.dat -o /Users/dmitriy/Library/Developer/Xcode/DerivedData/SureFireMessenger-hhpmyrmmtyjmjvajfqgednatyetg/Build/Products/Debug-iphonesimulator/SureFireMessenger.app/SureFireMessenger
ld:找不到文件:/Users/dmitriy/Library/Developer/Xcode/DerivedData/SureFireMessenger-hhpmyrmmtyjmjvajfqgednatyetg/Build/Products/Debug-iphonesimulator/libCordova.a clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
答案 0 :(得分:1)
它看起来像“libCordova.a”文件,缺少静态库文件。
你确定你正确连接了一切吗?