Undefined symbols for architecture arm64 when build Xcode 13.2.1

I can not resolve when build Unity IOS in Xcode 13.2.1 with following details: Undefined symbols for architecture arm64:

  "_share_init", referenced from:

      _ShareManager_share_init_mF5CA286C542839E5E29203AFE3B1EE93BBE97237 in Assembly-CSharp13.o

      _ShareManager_Start_m647DBF200476A6B8B113A2F0FE367232E4253777 in Assembly-CSharp13.o

     (maybe you meant: _ReversePInvokeWrapper_platformWrap_share_init_m2932BC24F024A606A82A6DC2773E3AAEBDE0DCA4, _platformWrap_share_init_m2932BC24F024A606A82A6DC2773E3AAEBDE0DCA4_RuntimeMethod_var , _platform_common_share_init_m0D4BE0255508B89814C14D0120C2324EE23550DE , _platform_share_init_m1DC874D2391936A9B57EE761A001B9376FA31E0D , _ShareManager_share_init_mF5CA286C542839E5E29203AFE3B1EE93BBE97237 , _platform_commonWrap_share_init_mDE6F15170E340F1C49166F8DD1B91DFA14F494EA_RuntimeMethod_var , _ReversePInvokeWrapper_platform_commonWrap_share_init_mDE6F15170E340F1C49166F8DD1B91DFA14F494EA , _platform_commonWrap_share_init_mDE6F15170E340F1C49166F8DD1B91DFA14F494EA , _platformWrap_share_init_m2932BC24F024A606A82A6DC2773E3AAEBDE0DCA4 )

  "_mSetMinTimeBetweenSessions", referenced from:

      _AppsFlyer_mSetMinTimeBetweenSessions_m45EEF2D94211029DF81C1D1D14D57B83CA60C5F7 in Assembly-CSharp.o

      _AppsFlyer_setMinTimeBetweenSessions_mA4AC89E44E0B64925D33CF563E278843646FC6DF in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mSetMinTimeBetweenSessions_m45EEF2D94211029DF81C1D1D14D57B83CA60C5F7)

  "_mTrackCrossPromoteImpression", referenced from:

      _AppsFlyer_mTrackCrossPromoteImpression_m1B29F62C51E5595614AFAABA4A2F0CC863853030 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mTrackCrossPromoteImpression_m1B29F62C51E5595614AFAABA4A2F0CC863853030)

  "_mHandleOpenUrl", referenced from:

      _AppsFlyer_mHandleOpenUrl_mE3349685230AFFA3E9B69E342EAA1D9D7B268B54 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mHandleOpenUrl_mE3349685230AFFA3E9B69E342EAA1D9D7B268B54)

  "_mIsStopTracking", referenced from:

      _AppsFlyer_mIsStopTracking_m333D85F5852AED46F40292D062807A686B2C2446 in Assembly-CSharp.o

      _AppsFlyer_stopTracking_m195D2EFC1FD5D588158DA859790BF46E0940C7CB in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mIsStopTracking_m333D85F5852AED46F40292D062807A686B2C2446)

  "_ShareByIos", referenced from:

      _ShareManager_ShareByIos_m81BD986A1421420E307C3601615299762556414B in Assembly-CSharp13.o

     (maybe you meant: _ShareManager_ShareByIos_m81BD986A1421420E307C3601615299762556414B)

  "_mRegisterUninstall", referenced from:

      _AppsFlyer_mRegisterUninstall_m8030FA76689BB74634FBB25E8A3EBE43E1F012A9 in Assembly-CSharp.o

      _AppsFlyer_registerUninstall_m0CB1BEB905E84BDBACF35A0F7F9735B5546B0105 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mRegisterUninstall_m8030FA76689BB74634FBB25E8A3EBE43E1F012A9)

  "_mHandlePushNotification", referenced from:

      _AppsFlyer_mHandlePushNotification_m8E9AF2488654CB530380EEEB2E6F6BF8EBCA0D92 in Assembly-CSharp.o

      _AppsFlyer_handlePushNotification_mED89605DE75D9F844FC716249FE1D0439ADEAF76 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mHandlePushNotification_m8E9AF2488654CB530380EEEB2E6F6BF8EBCA0D92)

  "_mSetShouldCollectDeviceName", referenced from:

      _AppsFlyer_mSetShouldCollectDeviceName_mB6371EC508F2B99CCAED32F6A48FAD9078B47FEA in Assembly-CSharp.o

      _AppsFlyer_setShouldCollectDeviceName_mD1E265AA78214E85A80DF5984E1BE554E17F1B94 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mSetShouldCollectDeviceName_mB6371EC508F2B99CCAED32F6A48FAD9078B47FEA)

  "_mSetCurrencyCode", referenced from:

      _AppsFlyer_mSetCurrencyCode_mB0E81847B016B1DCC25FC175FD666AEC17C5C763 in Assembly-CSharp.o

      _AppsFlyer_setCurrencyCode_m7A88D43BB44675A18BDC46704CD48215814A30C8 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mSetCurrencyCode_mB0E81847B016B1DCC25FC175FD666AEC17C5C763)

  "_mGetConversionData", referenced from:

      _AppsFlyer_mGetConversionData_m1CA76D04E5D4B40F16FF938C12DF7C5A17B4CC0C in Assembly-CSharp.o

      _AppsFlyer_getConversionData_m88659F6E7EA80CD518A452F36EA4BE08A5C34A62 in Assembly-CSharp.o

     (maybe you meant: _AppsFlyer_mGetConversionData_m1CA76D04E5D4B40F16FF938C12DF7C5A17B4CC0C) ...

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Do you have any suggestion? Thanks!

you need an assembly library compiled for arm64. or build your app for intel only.

Undefined symbols for architecture arm64 when build Xcode 13.2.1
 
 
Q