简体   繁体   English

CocoaPods不起作用

[英]CocoaPods doesn't work

I stalled the latest version of CocoaPod but it doesn't work. 我停止了最新版本的CocoaPod,但是它不起作用。 It shows the error message below. 它在下面显示错误消息。

I don't know what's wrong with it. 我不知道这是怎么回事。
I followed the tutorials and I thought the installation process should be simple and easy. 我按照教程学习,我认为安装过程应该很简单。
But it doesn't work for me. 但这对我不起作用。

Ld build/Debug-iphoneos/sdf.app/sdf normal armv7s
    cd /Users/compass/GoogleDrive/Projects/Story2Movie/Development/iOS/Story2Movie_0.1/test/sdf
    export IPHONEOS_DEPLOYMENT_TARGET=7.1
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/compass/GoogleDrive/Projects/Story2Movie/Development/iOS/Story2Movie_0.1/test/sdf/build/Debug-iphoneos -F/Users/compass/GoogleDrive/Projects/Story2Movie/Development/iOS/Story2Movie_0.1/test/sdf/build/Debug-iphoneos -filelist /Users/compass/GoogleDrive/Projects/Story2Movie/Development/iOS/Story2Movie_0.1/test/sdf/build/sdf.build/Debug-iphoneos/sdf.build/Objects-normal/armv7s/sdf.LinkFileList -dead_strip -ObjC -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.1 -framework CoreGraphics -framework UIKit -framework Foundation -lPods-sdf -Xlinker -dependency_info -Xlinker /Users/compass/GoogleDrive/Projects/Story2Movie/Development/iOS/Story2Movie_0.1/test/sdf/build/sdf.build/Debug-iphoneos/sdf.build/Objects-normal/armv7s/sdf_dependency_info.dat -o /Users/compass/GoogleDrive/Projects/Story2Movie/Development/iOS/Story2Movie_0.1/test/sdf/build/Debug-iphoneos/sdf.app/sdf

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

http://cocoapods.org just follow all these steps. http://cocoapods.org只需执行所有这些步骤。 It's much easier doing it like this. 这样做很容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM