简体   繁体   English

Facebook unity3d SDK 6.0在iOS模拟器中不起作用

[英]Facebook unity3d sdk 6.0 does not work in ios simulator

Facebook requires us to submit the app as a simulator build for them to review. Facebook要求我们将应用程序作为模拟器版本提交,以供他们查看。

I did that, but when I run it in simulator, I get the exception: 我做到了,但是当我在模拟器中运行它时,出现了异常:

Symbol file /Users/AMI/Library/Application Support/iPhone Simulator/7.1/Applications/D2633BCE-B3F0-4B4B-910B-34E3F2FFF403/Testing.app/Data/Managed/System.dll.mdb doesn't match image /Users/TESTER/Library/Application Support/iPhone Simulator/7.1/Applications/D2633BCE-B3F0-4B4B-910B-34E3F2FFF403/Testing.app/Data/Managed/System.dll
EntryPointNotFoundException: iosInit

  at (wrapper managed-to-native) Facebook.IOSFacebook:iosInit (string,bool,bool,bool,bool,string)

  at Facebook.IOSFacebook.Init (Facebook.InitDelegate onInitComplete, System.String appId, Boolean cookie, Boolean logging, Boolean status, Boolean xfbml, System.String channelUrl, System.String authResponse, Boolean frictionlessRequests, Facebook.HideUnityDelegate hideUnityDelegate) [0x00000] in <filename unknown>:0

  at FB.OnDllLoaded () [0x00000] in <filename unknown>:0
  at FB+CompiledFacebookLoader.Start () [0x00000] in <filename unknown>:0

What could be causing this? 是什么原因造成的? If I cannot get this to work, I will not be able to submit the app to be approved by Facebook which means we can not make our app work with Facebook. 如果我无法使它正常工作,那么我将无法提交要由Facebook批准的应用程序,这意味着我们无法使我们的应用程序与Facebook一起使用。

Thanks. 谢谢。

Found the reason, another plugin have the post build step which modify the same file as facebook does. 找到原因后,另一个插件执行了post build步骤,该步骤修改了与facebook相同的文件。 Disable that and there is no more issue. 禁用它,没有其他问题了。

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

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