gpt4 book ai didi

ios - prime31 的 iOS 社交网络

转载 作者:可可西里 更新时间:2023-11-01 06:08:55 25 4
gpt4 key购买 nike

最近买了一个社交网络(prime 31)当试图绑定(bind)到 facebook ios 时出现错误(编译 Xcode 时):

Undefined symbols for architecture armv7:
"_twitterShowOauthLoginDialog", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterPostStatusUpdateWithImage", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterLogout", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterIsLoggedIn", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterInit", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookShowDialog", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookSetSessionLoginBehavior", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterShowTweetComposer", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookShowFacebookComposer", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookReauthorizeWithPublishPermissions", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookGetFacebookAccessToken", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_sharingShareItems", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookInit", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookReauthorizeWithReadPermissions", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookLogout", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookRenewCredentialsForAllFacebookAccounts", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookLoginWithRequestedPermissions", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterIsTweetSheetSupported", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookGetSessionPermissions", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookIsLoggedIn", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookShowFacebookShareDialog", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookLoginUsingDeprecatedAuthorizationFlowWithRequestedPermissions", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterPerformRequest", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookGraphRequest", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterLoggedInUsername", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookGetAppLaunchUrl", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_facebookCanUserUseFacebookComposer", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_twitterCanUserTweet", referenced from: RegisterMonoModules() in RegisterMonoModules.o "__facebookEnableFrictionlessRequests", referenced from: RegisterMonoModules() in RegisterMonoModules.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

谁遇到过这个问题?帮助!

最佳答案

嵌入 prime31(或任何库)后出现的 undefined symbol 错误通常意味着整个构建中缺少一个或多个依赖库。由于这发生在 iOS 编译时(而不是 Unity/.NET 编译时——这甚至会阻止您构建 Xcode 项目),这将它缩小到 Unity 生成的 Xcode 项目目录中缺少的东西。

现在,有时在 Unity 中,只需进行新的构建并替换旧的构建目录,一切就会恢复正常。不过,您可能已经尝试过了,所以如果这不起作用,手动解决问题仍然很容易。

这通常可以通过执行以下操作来解决:

1) 打开上一个Unity生成的Xcode工程

2) 导航回 Unity IDE。在“Editor”目录下右击需要的prime31插件目录,选择“Show in Finder”

3) 将任何库 (.a) 或 header (.h) 文件拖到 Xcode 项目中。在“构建阶段”中,确保所需的库链接到二进制文件。

4) 构建并运行

希望对您有所帮助。如果您需要任何说明,请告诉我。

关于ios - prime31 的 iOS 社交网络,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21166618/

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