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

后端 未结 2 1963
没有蜡笔的小新
没有蜡笔的小新 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

提交回复
热议问题