2

I'm trying to add AdColony mediation into AdMob. I follow the instructions from 'https://developers.google.com/admob/ios/mediation/adcolony'.

After pod 'GoogleMobileAdsMediationAdColony', I open Xcode to test my app and get a link error:

Undefine symbol: '_OBJC_CLASS_$_SKAdImpression'

as well as a warning:

Could not find or use auto-linked framework 'AVFAudio'

I googled but got nothing.

Any suggestion? Thanks in advance.

3
  • Hi there, were you able to resolve the issue? I have the same one.. May 11, 2021 at 8:24
  • hi @NebihBaşaran! Not yet.
    – michaelma
    May 11, 2021 at 13:31
  • 1
    updating xCode version to 12.5 resolved the issue for me. May 12, 2021 at 8:29

2 Answers 2

3

SKAdImpression looks like a class that is new to iOS 14.5 so you likely need Xcode 12.5+ to contain that class definition.

I was running into the same Undefined symbol: 'OBJC_CLASS$_SKAdImpression' error under Xcode 12.4, but upgrading to 12.5 fixed for me.

1
  • Although I could not find the download link for xcode 12.5 yet, I believe this is the answer, thank you! @mackelrow
    – michaelma
    May 12, 2021 at 0:25
3

Version 4.6.1 of the iOS AdColony SDK requires Xcode 12.5.

From the changelog:

4.6.1 (2021/04/21)

  • SKAdNetwork view-through attribution support
  • Build requires Xcode 12.5

This does mean that if you go back to 4.6.0 you should not need Xcode 12.5. You can do this by selecting a specific version of the 'GoogleMobileAdsMediationAdColony' pod:

pod 'GoogleMobileAdsMediationAdColony', '4.6.0.0'

You can see in the podspec here that this version uses version 4.6.0 of the AdColony SDK.

Obviously this is not a long-term solution, but as Xcode 12.5 requires Big Sur it allows a little more time before having to run an major OS update all your dev machines.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.