Workaround for Unity5 iOS compile error with facebook-unity-sdk 6.2.1

后端 未结 2 1950
没有蜡笔的小新
没有蜡笔的小新 2021-01-07 02:15

i am getting these errors when i try to compile on iOS:

on ios: FBLinkShareParams *dialogParams = [[[FBLinkShareParams alloc] init] autorelease]; /Users/Daniel/Repos

相关标签:
2条回答
  • 2021-01-07 02:35

    Following user2018862's advice, this worked for me (setting the -fno-objc-arc flag for FbUnityInterface.mm), where FbUnityInterface.mm is found under the "Compiled Sources" section of the "Build Phases" pane.

    enter image description here

    0 讨论(0)
  • 2021-01-07 02:54

    Put -fno-objc-arc in the compile flags of the FbUnityInterface.mm , and it will work

    0 讨论(0)
提交回复
热议问题