iOS build error: Undefined symbols for architecture armv7:

Hi there,
so I’m trying to build the unity project to iOS, which worked perfectly fine, until recently. When i generate a xCode project and try to build it I get the error shown below. First of all, I researched a lot and found many answers. None of them solved my problem. Many have the same error:

Undefined symbols for architecture armv7:

But most of the time with a completely different stack trace, and with mine, it seems like it is caused by unitys monetization packages (I think it’s the only dependency I added since the last build). But for Android it works just fine, so I think the problem really lies in xCode and some errors with its project.

Thanks for any help in advance. I’m struggling with this since 3 days already, so every comment, which brings just a little light in this dark corner is appreciated.


Undefined symbols for architecture armv7:
      "_UnityMonetizationGetPlacementContentType", referenced from:
          _Platform_UnityMonetizationGetPlacementContentType_mC261261CF585DD5FFF976F70E6014FDC9D7BF7DA in Bulk_UnityEngine.Monetization.iOS_0.o
          _Platform_GetPlacementContentTypeForPlacementContentPtr_m513B021CCFB5D6D2E5E3209A00089404B1C06D01 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _Platform_UnityMonetizationGetPlacementContentType_mC261261CF585DD5FFF976F70E6014FDC9D7BF7DA)
      "_UnityMonetizationPlacementContentShowAd", referenced from:
          _IosShowAdOperations_UnityMonetizationPlacementContentShowAd_mD2052BC4EDD3891D8800CB81855F8E9A8CAE1568 in Bulk_UnityEngine.Monetization.iOS_0.o
          _IosShowAdOperations_Show_m0E29BFABC67F867BA6141DC2D04985EA71EFA8D6 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _IosShowAdOperations_UnityMonetizationPlacementContentShowAd_mD2052BC4EDD3891D8800CB81855F8E9A8CAE1568)
      "_UnityMonetizationGetPromoAdMetadata", referenced from:
          _IosPromoAdOperations_GetMetadataForObjCObject_m554A0F6E1341AA57646036BA9AC2DFDA6B90C5E0 in Bulk_UnityEngine.Monetization.iOS_0.o
          _IosPromoAdOperations_UnityMonetizationGetPromoAdMetadata_m37A904B8EE2431C4CB7A5ED2783EC5C6A026B7A9 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _IosPromoAdOperations_UnityMonetizationGetPromoAdMetadata_m37A904B8EE2431C4CB7A5ED2783EC5C6A026B7A9)
      "_UnityMonetizationPlacementContentReleaseReference", referenced from:
          _IosPlacementContentOperations_UnityMonetizationPlacementContentReleaseReference_mB1E1D330B00D1BC788E604979036329722BCF6CC in Bulk_UnityEngine.Monetization.iOS_0.o
          _IosPlacementContentOperations_Finalize_mC4F99867A4F95473FBF55D9763379F3835991A4B in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _IosPlacementContentOperations_UnityMonetizationPlacementContentReleaseReference_mB1E1D330B00D1BC788E604979036329722BCF6CC)
      "_InitializeUANAEngineWrapper", referenced from:
          _IosAnalytics_InitializeUANAEngineWrapper_m109685DB4A08612651DBD20F5F14733AAA1E37B9 in Bulk_UnityEngine.Monetization.iOS_0.o
          _IosAnalytics_Initialize_m14C890675A5546A86C1259699FE1D6FCCB4D510A in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _IosAnalytics_InitializeUANAEngineWrapper_m109685DB4A08612651DBD20F5F14733AAA1E37B9)
      "_UANAEngineDelegateSetTriggerAddExtras", referenced from:
          _IosAnalytics_UANAEngineDelegateSetTriggerAddExtras_m055F0EF8C655A72553BA99276F3F68AD18F8F656 in Bulk_UnityEngine.Monetization.iOS_0.o
          _IosAnalytics_Initialize_m14C890675A5546A86C1259699FE1D6FCCB4D510A in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _IosAnalytics_UANAEngineDelegateSetTriggerAddExtras_m055F0EF8C655A72553BA99276F3F68AD18F8F656)
      "_UnityAdsSetGetVersionCallback", referenced from:
          _PurchasingPlatform_Initialize_m1ABF86CE32CA506D128D0B79EE19BA28DD9F5E32 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsSetGetVersionCallback_m50347A67FFF309F8943E9DD782626365ACF42CDB in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _PurchasingPlatform_UnityAdsSetGetVersionCallback_m50347A67FFF309F8943E9DD782626365ACF42CDB)
      "_UnityAdsGetPlacementState", referenced from:
          _Platform_UnityAdsGetPlacementState_m231B29A00D2781CC58C0BF453E2C77B9802845B0 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_GetPlacementState_mCF470CA46EFB73952F735B805CF95962A8270537 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsGetPlacementState_m231B29A00D2781CC58C0BF453E2C77B9802845B0)
      "_UnityMonetizationInitialize", referenced from:
          _Platform_UnityMonetizationInitialize_m37AAE6F08358F8861D4D946F48EAB9F7266B8092 in Bulk_UnityEngine.Monetization.iOS_0.o
          _Platform_Initialize_mC764216FB444015C691D7D7B4FF32471AAA85EE9 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _Platform_UnityMonetizationInitialize_m37AAE6F08358F8861D4D946F48EAB9F7266B8092)
      "_UnityAdsIsSupported", referenced from:
          _Platform_UnityAdsIsSupported_m384662659D23B05577D5EB67FB7134EE27489674 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_get_isSupported_mB0DBA3D3DDEFC3E382485922C45C20AB3E57C616 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsIsSupported_m384662659D23B05577D5EB67FB7134EE27489674)
      "_UnityMonetizationGetPlacementContentExtras", referenced from:
          _Platform_UnityMonetizationGetPlacementContentExtras_m652DC94A0C9F0A5603127DDFB9286BBB35E4CBA4 in Bulk_UnityEngine.Monetization.iOS_0.o
          _Platform_GetPlacementContentExtras_m149EFEAE69316FEF2F9A8FA0FF6AD93F4BCCA639 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _Platform_UnityMonetizationGetPlacementContentExtras_m652DC94A0C9F0A5603127DDFB9286BBB35E4CBA4)
      "_UnityAdsIsReady", referenced from:
          _Platform_UnityAdsIsReady_m792FE123BDD533B708024AC3A613AD8B1D766073 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_IsReady_mBAEED518AD68B42648E1BC2EBD54972FA61E3F81 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsIsReady_m792FE123BDD533B708024AC3A613AD8B1D766073)
      "_UnityAdsSetDebugMode", referenced from:
          _Platform_UnityAdsSetDebugMode_m9ED9E1EBE2A5F1630622B5D97C75802358BE88D3 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_set_debugMode_m7588F19CC7D898D67CB30F833FB40CFC8D1EA700 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsSetDebugMode_m9ED9E1EBE2A5F1630622B5D97C75802358BE88D3)
      "_UnityMonetizationIsReady", referenced from:
          _Platform_UnityMonetizationIsReady_mDCF89664CB3FBE0F230FC3562F2D31EBD29B3EF9 in Bulk_UnityEngine.Monetization.iOS_0.o
          _Platform_IsReady_m861C84860AA367FD1E12D9D7C09E9610F2D25E43 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _Platform_UnityMonetizationIsReady_mDCF89664CB3FBE0F230FC3562F2D31EBD29B3EF9)
      "_UnityAdsSetBannerLoadCallback", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityAdsSetBannerLoadCallback_m823CE8178F2DB5B00B43D18FB4A3D190128593A8 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityAdsSetBannerLoadCallback_m823CE8178F2DB5B00B43D18FB4A3D190128593A8)
      "_UnityAdsGetDebugMode", referenced from:
          _Platform_UnityAdsGetDebugMode_m9A51C6B9A1C401A5F55B3200B37999373DA4428F in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_get_debugMode_m81EF505C3E0A5C5C811FF34DD9761407D4134955 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsGetDebugMode_m9A51C6B9A1C401A5F55B3200B37999373DA4428F)
      "_UnityAdsPurchasingDispatchReturnEvent", referenced from:
          _PurchasingPlatform_UnityAdsDidInitiatePurchasingCommand_m2942E1A3DD5B0E9DAA75697D51A53AEA85406D19 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsPurchasingGetProductCatalog_m8055E3DE5AEE9567B52D86CFAF829221EF1F3D4B in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsPurchasingGetPurchasingVersion_mAEB71ABA21A04F14171BDC316E5C522C8F9457A2 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsPurchasingInitialize_mB0349209D44E02E40C1426B8A48D57704ED29F0B in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsPurchasingDispatchReturnEvent_m1F33BFC609980A6F7423877D3A537D85DE923A95 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_SendPurchasingEvent_mDCC5D67A276555D98EF386099D8B31925626A992 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _PurchasingPlatform_UnityAdsPurchasingDispatchReturnEvent_m1F33BFC609980A6F7423877D3A537D85DE923A95)
      "_UnityAdsSetBannerClickCallback", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityAdsSetBannerClickCallback_mDAFD6710017DD1884CE569CE93547DB9B2836427 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityAdsSetBannerClickCallback_mDAFD6710017DD1884CE569CE93547DB9B2836427)
      "_UnityAdsGetVersion", referenced from:
          _Platform_UnityAdsGetVersion_mC7C14931102313925F9BC1F85B82B867BF518389 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_get_version_m6F8B4767FDF472E1C1189AB480A07C66B1F5E136 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_UnityAdsGetVersion_m70266F54B3AFC7419AA666D772686A1F18656450 in Bulk_UnityEngine.Monetization.iOS_0.o
          _Platform_get_version_mD5BF8383B24C930E4AE48C8A5CAB8906A773FC28 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _Platform_UnityAdsGetVersion_mC7C14931102313925F9BC1F85B82B867BF518389, _Platform_UnityAdsGetVersion_m70266F54B3AFC7419AA666D772686A1F18656450 )
      "_UnityAdsInitialize", referenced from:
          _Platform_UnityAdsInitialize_mEF59315751727D6A587DF6EC794D156BA7BA229D in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_Initialize_mBBC3CC94AD61DC5EB2BE4023F0412EDB37947847 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsInitialize_mEF59315751727D6A587DF6EC794D156BA7BA229D)
      "_UnityAdsSetDidStartCallback", referenced from:
          _Platform__ctor_m77A25FFF507D48A76EF7D78CDD27242ADC5A8F61 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_UnityAdsSetDidStartCallback_m9C05F13764663061BC6943FBA81BA38E0E04357C in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsSetDidStartCallback_m9C05F13764663061BC6943FBA81BA38E0E04357C)
      "_UnityAdsSetReadyCallback", referenced from:
          _Platform__ctor_m77A25FFF507D48A76EF7D78CDD27242ADC5A8F61 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_UnityAdsSetReadyCallback_mA006826A43EA2AC819C072EEB67D0168E36E0149 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsSetReadyCallback_mA006826A43EA2AC819C072EEB67D0168E36E0149)
      "_UnityMonetizationSetMonetizationCallbacks", referenced from:
          _PlatformCallbacksWrapper_UnityMonetizationSetMonetizationCallbacks_m1F6254929ED81743FBCAAE49A15A356AF620D017 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _PlatformCallbacksWrapper_UnityMonetizationSetMonetizationCallbacks_m1F6254929ED81743FBCAAE49A15A356AF620D017)
      "_UnityAdsSetBannerHideCallback", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityAdsSetBannerHideCallback_m4F02C11A1765498B3AE3F909FEBA1524060A1BA0 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityAdsSetBannerHideCallback_m4F02C11A1765498B3AE3F909FEBA1524060A1BA0)
      "_UnityAdsSetDidInitiatePurchasingCommandCallback", referenced from:
          _PurchasingPlatform_Initialize_m1ABF86CE32CA506D128D0B79EE19BA28DD9F5E32 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsSetDidInitiatePurchasingCommandCallback_mAB760594177C56AE71429F343623BDA31E088088 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _PurchasingPlatform_UnityAdsSetDidInitiatePurchasingCommandCallback_mAB760594177C56AE71429F343623BDA31E088088)
      "_UnityAdsSetDidErrorCallback", referenced from:
          _Platform__ctor_m77A25FFF507D48A76EF7D78CDD27242ADC5A8F61 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_UnityAdsSetDidErrorCallback_mB9BF3FDA14D51FCB71734B2B3FA9F3BA873C7375 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsSetDidErrorCallback_mB9BF3FDA14D51FCB71734B2B3FA9F3BA873C7375)
      "_UnityAdsSetGetProductCatalogCallback", referenced from:
          _PurchasingPlatform_Initialize_m1ABF86CE32CA506D128D0B79EE19BA28DD9F5E32 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsSetGetProductCatalogCallback_mB8828B63482620643BF4C54798CFA7F615B6FA30 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _PurchasingPlatform_UnityAdsSetGetProductCatalogCallback_mB8828B63482620643BF4C54798CFA7F615B6FA30)
      "_UnityAdsSetBannerErrorCallback", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityAdsSetBannerErrorCallback_m4BF5173DC2722715964810C4C120CE8C0E77A669 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityAdsSetBannerErrorCallback_m4BF5173DC2722715964810C4C120CE8C0E77A669)
      "_UnityAdsSetDidFinishCallback", referenced from:
          _Platform__ctor_m77A25FFF507D48A76EF7D78CDD27242ADC5A8F61 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_UnityAdsSetDidFinishCallback_m4EC1D74F8B444D1C07AB275EEAADD8EC0D284C1F in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsSetDidFinishCallback_m4EC1D74F8B444D1C07AB275EEAADD8EC0D284C1F)
      "_UnityAdsSetBannerUnloadCallback", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityAdsSetBannerUnloadCallback_m3AA454A62802483C3E5E196713F4BE1453E3591D in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityAdsSetBannerUnloadCallback_m3AA454A62802483C3E5E196713F4BE1453E3591D)
      "_UnityAdsSetMetaData", referenced from:
          _Platform_UnityAdsSetMetaData_mC1907A93BD56F59BE7B6A098354FCB15042DB576 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_UnityAdsSetMetaData_m8DF89F0DF2508B1755913B6FED29EBBEB9FF7282 in Bulk_UnityEngine.Monetization.iOS_0.o
         (maybe you meant: _Platform_UnityAdsSetMetaData_m8DF89F0DF2508B1755913B6FED29EBBEB9FF7282, _Platform_UnityAdsSetMetaData_mC1907A93BD56F59BE7B6A098354FCB15042DB576 )
      "_UnityAdsShow", referenced from:
          _Platform_UnityAdsShow_m60634177538371A3640E1650CB7E48B3C68BE2DD in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Platform_Show_m9D0E6D949B331DAC86ED9BDBE67EEDC723F10D1E in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Platform_UnityAdsShow_m60634177538371A3640E1650CB7E48B3C68BE2DD)
      "_UnityAdsSetInitializePurchasingCallback", referenced from:
          _PurchasingPlatform_Initialize_m1ABF86CE32CA506D128D0B79EE19BA28DD9F5E32 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _PurchasingPlatform_UnityAdsSetInitializePurchasingCallback_mFA955591CFAE2035413835CE752633EE3ED92E29 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _PurchasingPlatform_UnityAdsSetInitializePurchasingCallback_mFA955591CFAE2035413835CE752633EE3ED92E29)
      "_UnityAdsSetBannerShowCallback", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityAdsSetBannerShowCallback_m5E2D6D795AF5383214AAC0D533A2CD5629838B2B in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityAdsSetBannerShowCallback_m5E2D6D795AF5383214AAC0D533A2CD5629838B2B)
      "_UnityBannerInitialize", referenced from:
          _Banner__ctor_mC4E106A43451D7758D2BDF56D984DCE31A26BD98 in Bulk_UnityEngine.Advertisements.iOS_0.o
          _Banner_UnityBannerInitialize_mC36DE480B7088DB68E30DBA4E49A74ADE4100D45 in Bulk_UnityEngine.Advertisements.iOS_0.o
         (maybe you meant: _Banner_UnityBannerInitialize_mC36DE480B7088DB68E30DBA4E49A74ADE4100D45)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

excuse me, i have the same error how did you do to solve it?