Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yilongmd opened this issue Oct 10, 2016 · 2 comments

Comments

@yilongmd
Copy link

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
Copy link

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

@QiMengVicky
Copy link

同样问题 楼主解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants