gpt4 book ai didi

ios - xCode:找不到库 - lPods-Bolts - 退出代码 1

转载 作者:可可西里 更新时间:2023-11-01 05:20:56 28 4
gpt4 key购买 nike

您好,我遇到了这个问题:

ld: library not found for -lPods-Bolts

clang: error: linker command failed with exit code 1 (use -v to see invocation)

但是,我从 Facebook 文档下载了 Bolt 包并将其放入我的支持文件中。此外,我正在使用 Cocoapods,所以我也使用 Cocoapods 下载了 Bolt。

Ld /Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Products/Debug-iphoneos\ /Jobazo.app/Jobazo normal arm64
cd /Users/mmk88/Desktop/Jobazo
export IPHONEOS_DEPLOYMENT_TARGET=8.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 arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk
-L/Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Products/Debug-iphoneos\
-F/Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Products/Debug-iphoneos\
-F/Users/mmk88/Desktop/Jobazo/Pods/Parse -F/Users/mmk88/Desktop/Jobazo/Pods/Parse-iOS -F/Users/mmk88/Desktop/Jobazo/Pods/ParseFacebookUtils -F/Users/mmk88/Documents/FacebookSDK -F/Users/mmk88/Desktop/Jobazo/Jobazo -filelist /Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Intermediates/Jobazo.build/Debug-iphoneos/Jobazo.build/Objects-normal/arm64/Jobazo.LinkFileList
-Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -ObjC -lPods-Bolts -lPods-Facebook-iOS-SDK -lPods-JSMessagesViewController -lPods-JSQSystemSoundPlayer -lPods-Parse -lPods-Parse-iOS -lPods-ParseFacebookUtils -lsqlite3 -lz -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework Foundation -framework MobileCoreServices -framework Parse -framework ParseFacebookUtils -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -weak_framework Accounts -weak_framework AdSupport
-weak_framework AudioToolbox -weak_framework CoreGraphics -weak_framework CoreLocation -weak_framework Foundation -weak_framework QuartzCore -weak_framework Security -weak_framework Social -weak_framework UIKit -fobjc-arc -fobjc-link-runtime
-miphoneos-version-min=8.1 -lPods-JSQMessagesViewController -framework AudioToolbox -framework QuartzCore -framework Bolts -lPods-Bolts
-lPods-Facebook-iOS-SDK -lPods-JSMessagesViewController -lPods-JSQSystemSoundPlayer -lPods-Parse-iOS -lPods-Parse -lPods-ParseFacebookUtils -lPods -Xlinker -dependency_info -Xlinker /Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Intermediates/Jobazo.build/Debug-iphoneos/Jobazo.build/Objects-normal/arm64/Jobazo_dependency_info.dat -o /Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Products/Debug-iphoneos\ /Jobazo.app/Jobazo

播客文件:

source 'https://github.com/CocoaPods/Specs.git'  

platform :ios, '6.0'

pod 'Parse-iOS'

pod 'ParseFacebookUtils'

pod 'JSMessagesViewController'

pod 'Bolts'

最佳答案

通常,当您的 pod 依赖项之一被意外添加到 Targets 设置的“Link Binary With Libraries”下的 Build Phases Pane 中时,有时会发生这种情况。

从构建阶段删除库“.a”文件应该可以解决问题。

关于ios - xCode:找不到库 - lPods-Bolts - 退出代码 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26794422/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com