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

你好:我下载了cocoapods,但是打开workspace发现报错 #7

Open
Hi-World opened this issue Dec 1, 2015 · 3 comments
Open

Comments

@Hi-World
Copy link

Hi-World commented Dec 1, 2015

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

@liguang
Copy link

liguang commented Jan 18, 2016

相同的问题

@ChenYilong
Copy link

请在 build setting 的other linker 上添加 $(inherited)

如何还不行请删除 主目录下的 .lock 文件,和 pods 文件夹,重新执行如下代码

# 禁止升级CocoaPods的spec仓库,否则会卡在 Analyzing dependencies ,非常慢
# 如果提示找不到库,则可去掉 —no-repo-update
pod update —verbose —no-repo-update

@MrWenBo
Copy link

MrWenBo commented Aug 8, 2016

Ld /Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Products/Debug-iphonesimulator/TestPost.app/TestPost normal x86_64
cd /Users/zuoan/Documents/Xcode/TestPost
export IPHONEOS_DEPLOYMENT_TARGET=9.1
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.1.sdk -L/Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Products/Debug-iphonesimulator -L/Users/zuoan/Documents/Xcode/TestPost/Pods/AVOSCloud -L/Users/zuoan/Documents/Xcode/TestPost/Pods/AVOSCloudCrashReporting -L/Users/zuoan/Documents/Xcode/TestPost/Pods/AVOSCloudIM -L/AVOSCloud -F/Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Products/Debug-iphonesimulator -filelist /Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Intermediates/TestPost.build/Debug-iphonesimulator/TestPost.build/Objects-normal/x86_64/TestPost.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.1 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lAVOSCloud -lAVOSCloudCrashReporting -lAVOSCloudIM -lc++ -licucore -lsqlite3 -lz -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreTelephony -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Intermediates/TestPost.build/Debug-iphonesimulator/TestPost.build/Objects-normal/x86_64/TestPost.swiftmodule -lPods-TestPost -Xlinker -dependency_info -Xlinker /Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Intermediates/TestPost.build/Debug-iphonesimulator/TestPost.build/Objects-normal/x86_64/TestPost_dependency_info.dat -o /Users/zuoan/Library/Developer/Xcode/DerivedData/TestPost-flqzuxyqzqklbkahbbmbldxgiazu/Build/Products/Debug-iphonesimulator/TestPost.app/TestPost

ld: warning: directory not found for option '-L/AVOSCloud'
ld: library not found for -lPods-TestPost
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

4 participants