gpt4 book ai didi

ios - ld : symbol(s) not found for architecture x86_64 with Facebook and Parse

转载 作者:行者123 更新时间:2023-11-28 21:38:00 25 4
gpt4 key购买 nike

我在尝试构建项目时不断遇到这些错误:

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
objc-class-ref in MESignInViewController.o
objc-class-ref in MEFacebookLoginManager.o
"_OBJC_CLASS_$_FBSDKAppEvents", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FBSDKGraphRequest", referenced from:
objc-class-ref in MEFacebookLoginManager.o
"_OBJC_CLASS_$_FBSDKLoginButton", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
objc-class-ref in MEFacebookLoginManager.o
"_OBJC_CLASS_$_PFAnalytics", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_Parse", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我已经通过 cocoapods 安装了 Facebook 和 Parse SDK,这是我的 Podfile 的样子:

target 'Ment' do
pod 'Parse'
pod 'ParseFacebookUtilsV4'
end

target 'MentTests' do

end

不知道哪里出了问题,这真的很烦我

最佳答案

如果您使用 Facebook 登录,我敢肯定您还必须添加 Facebook Pod。

# facebook
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'

和可选的

pod 'FBSDKShareKit'

为了让一切顺利进行,请确保您已遵循 instructions parse have for integrating with facebook .

关于ios - ld : symbol(s) not found for architecture x86_64 with Facebook and Parse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33192646/

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