NIFCLOUD-mbaas / UserCommunity

ニフクラ mobile backend ユーザーコミュニティ
https://mbaas.nifcloud.com/
81 stars 18 forks source link

xcodeでの実機ビルドができません #1355

Open 1018take opened 1 year ago

1018take commented 1 year ago

unityにncmb sdkを導入してios用にビルドし、xcodeで実機テストを行おうとすると以下の二つのエラーが出ました。

Undefined symbol : il2cpp_codegen_get_virtual_call_method_pointer(MethodInfo const) Undefined symbol : il2cpp_codegen_get_generic_virtual_method_internal(MethodInfo const, MethodInfo const, VirtualInvokeDate)

ncmbを抜くと実機テストは成功しました。バージョンはunity Editorが2021(LTS)、ncmbは4.6.1、admobは7.4.0です。ちなみにunity Editor2022ではunitysendremotenotificationに関してNSDictionaryとNSErrorの2つのエラーメッセージが出ました。原因わかる方いたら教えていただきたいです。

goofmint commented 1 year ago

そのエラーメッセージだけでは分からないですが、AdmobとNCMBでの競合はよく起きます。こちら参考になるでしょうか?

https://blog.mbaas.nifcloud.com/entry/2020/06/04/115426