简体   繁体   中英

CocoaPods doesn't work

I stalled the latest version of CocoaPod but it doesn't work. 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. It's much easier doing it like this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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