liaojinxing / Voice2Note

Voice2Note iOS client source codes.
833 stars 302 forks source link

您好编译出现linker command failed with exit code 1 (use -v to see invocation) #3

Open yilongmd opened 7 years ago

yilongmd commented 7 years ago

Ld /Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Products/Debug-iphonesimulator/Voice2Note.app/Voice2Note normal i386 cd /Users/syl/Documents/Github/Voice2Note-master export IPHONEOS_DEPLOYMENT_TARGET=8.0 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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -L/Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Products/Debug-iphonesimulator -L/Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Products/Debug-iphonesimulator/Colours -L/Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Products/Debug-iphonesimulator/SVProgressHUD -L/Users/syl/Documents/Github/Voice2Note-master/Framework/Weixin -L/Users/syl/Documents/Github/Voice2Note-master/Voice2Note/Source/Library/Umeng -F/Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Products/Debug-iphonesimulator -F/Users/syl/Documents/Github/Voice2Note-master/Framework -filelist /Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Intermediates/Voice2Note.build/Debug-iphonesimulator/Voice2Note.build/Objects-normal/i386/Voice2Note.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -object_path_lto -Xlinker /Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Intermediates/Voice2Note.build/Debug-iphonesimulator/Voice2Note.build/Objects-normal/i386/Voice2Note_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lColours -lSVProgressHUD -framework QuartzCore -lz -framework VNNoteManager -framework AddressBook -framework AudioToolbox -framework SystemConfiguration -framework AVFoundation -lWeChatSDK -framework iflyMSC -framework CoreGraphics -framework UIKit -framework Foundation -lMobClickLibrary -lPods -lPods-Voice2Note -Xlinker -dependency_info -Xlinker /Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Intermediates/Voice2Note.build/Debug-iphonesimulator/Voice2Note.build/Objects-normal/i386/Voice2Note_dependency_info.dat -o /Users/syl/Library/Developer/Xcode/DerivedData/Voice2Note-clxhyoztqsdcfybynnfxoyeyyugn/Build/Products/Debug-iphonesimulator/Voice2Note.app/Voice2Note

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

gaoqiyang commented 7 years ago

删除工程中缺少的静态库还有相关文件就可以了 ,当然在buildPhases>Link Binary With Libraries中也要相应的删除。

QiMengVicky commented 5 years ago

同样问题 楼主解决了吗