Swift:找不到-lPods的库,链接器命令失败,退出代码为1(Xcode 7.2)

时间:2016-02-19 12:37:11

标签: ios xcode swift

我正在尝试为零售店做一个应用程序,我正在使用Xcode 6.3,因为我试图迁移到Xcode 7.2的库问题,当我尝试升级并运行我的应用程序时,我收到以下错误。

以下是错误

Ld /Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Products/Debug-iphonesimulator/Enrico.app/Enrico normal x86_64
    cd /Users/jg/Documents/Workspace/Enrico
    export IPHONEOS_DEPLOYMENT_TARGET=8.3
    export PATH="/Applications/Xcode 7.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 7.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode\ 7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode\ 7.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -L/Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Products/Debug-iphonesimulator -F/Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Products/Debug-iphonesimulator -filelist /Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Intermediates/Enrico.build/Debug-iphonesimulator/Enrico.build/Objects-normal/x86_64/Enrico.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.3 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode\ 7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Intermediates/Enrico.build/Debug-iphonesimulator/Enrico.build/Objects-normal/x86_64/Enrico.swiftmodule -lPods -Xlinker -dependency_info -Xlinker /Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Intermediates/Enrico.build/Debug-iphonesimulator/Enrico.build/Objects-normal/x86_64/Enrico_dependency_info.dat -o /Users/jg/Library/Developer/Xcode/DerivedData/Enrico-ecxoqwtsnrjpynfphdobukwkpjdi/Build/Products/Debug-iphonesimulator/Enrico.app/Enrico

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

我已检查过其他"找不到-lPods"在StackOverflow上,但我找不到解决方案。请帮我找到解决方案。

提前致谢

0 个答案:

没有答案