简体   繁体   English

iOS Facebook SDK在模拟器问题上与Unity链接

[英]iOS Facebook SDK Linking with Unity on Simulator Issue

Currently getting the following when trying to link for the simulator, works fine on hardware. 当前在尝试链接模拟器时得到以下信息,在硬件上工作正常。 Using the latest Facebook SDK. 使用最新的Facebook SDK。

Undefined symbols for architecture i386:
 "_UnityGetGLViewController", referenced from:
  _FBNativeAdClick in FBAudienceNetwork(FBNativeAdCBridge.o)
ld: symbol(s) not found for architecture i386

Anyone else have seen this? 其他人看到了吗?

FB_AD_SDK_VERSION @"3.21.1" FB_AD_SDK_VERSION @“ 3.21.1”

If your application using -all_load flag this happened. 如果您的应用程序使用-all_load标志,则会发生这种情况。

You can use -force_load instead. 您可以改用-force_load。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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