Hundreds of Undefined Symbol errors when building for IOS on X-Code after installing Cocoapods

The game was building fine until I tried implementing Unity LevelPlay through IronSource. It asked me to install cocoapods but the IOS dependency resolver couldn’t do it because of permission issues so i installed it manually as another thread here instructed. Now when i build the game in unity it is fine but when i try to build it to my phone through x-code it shows many Undefined Symbol errors. Here are the errors i get:

Undefined symbols for architecture arm64:

“_$s10ObjectiveC15autoreleasepool8invokingxxyKXE_tKlF”, referenced from:

_$s8UnityAds15CryptoKitHasherC4hash4fromSS10Foundation3URLV_tKF in UnityAds(UnityAds-arm64-master.o)

_$s8UnityAds12SHA256HasherC4hash4fromSS10Foundation3URLV_tKF in UnityAds(UnityAds-arm64-master.o)

“_$s8Dispatch0A13WorkItemFlagsVMa”, referenced from:

_$s8UnityAds18RetriableOperationV7execute10completionyys6ResultOyxs5Error_pGc_tFyAIcfU_10Foundation3URLV_Tg5 in UnityAds(UnityAds-arm64-master.o)

_$sSay8Dispatch0A13WorkItemFlagsVGMa in UnityAds(UnityAds-arm64-master.o)

“_$s8Dispatch0A13WorkItemFlagsVMn”, referenced from:

_symbolic Say_____G 8Dispatch0A13WorkItemFlagsV in UnityAds(UnityAds-arm64-master.o)

“_$s8Dispatch0A13WorkItemFlagsVs10SetAlgebraAAMc”, referenced from:

_$s8UnityAds18RetriableOperationV7execute10completionyys6ResultOyxs5Error_pGc_tFyAIcfU_10Foundation3URLV_Tg5 in UnityAds(UnityAds-arm64-master.o)

“_$s8Dispatch0A3QoSV11unspecifiedACvgZ”, referenced from:

_$s8UnityAds15GenericMediatorCACyxGycfcAA0aB6ConfigV_Tg5 in UnityAds(UnityAds-arm64-master.o)

_$s8UnityAds18RetriableOperationV7execute10completionyys6ResultOyxs5Error_pGc_tFyAIcfU_10Foundation3URLV_Tg5 in UnityAds(UnityAds-arm64-master.o)

“_$s8Dispatch0A3QoSVMa”, referenced from:

etc.

Any solutions?

i have the same problem.

Did you solve the problem?