UnityAdmobSDK6.0에서 xcode 빌드할 때 ""_GADURequestInterstitial", referenced from: _Externs_GADURequestInterstitial_m7354DBBE6F0E4C60EFEE0EC733AAEC22D91E2B0C in GoogleMobileAds.
환경
사건
Unity2019 2.12f1 + Unity Admob SDK 6.0에서 iOS 빌드 한 앱이
아래
"_GADURequestInterstitial", referenced from:
라는 에러로 xcode상에서 빌드할 수 없게 되었다.Undefined symbols for architecture armv7:
"_GADURequestInterstitial", referenced from:
_Externs_GADURequestInterstitial_m7354DBBE6F0E4C60EFEE0EC733AAEC22D91E2B0C in GoogleMobileAds.iOS.o
(maybe you meant: _Externs_GADURequestInterstitial_m7354DBBE6F0E4C60EFEE0EC733AAEC22D91E2B0C)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
htps : //로 ゔぇぉ p. 는 bぉ. jp / entry / d도 b-6-0-0-er r
htps : // 기주 b. 코 m / 오 g g a ds / 오 g g a ds
상기 사이트님을 참고로,
Xcode에서
Classes/Native/GoogleMobileAds.iOS.cpp
GoogleMobileAds.iOS.cpp
reinterpret_cast<PInvokeFunc>(GADURequestInterstitial)(___interstitial0, ___request1);
상기 부분을 코멘트 아웃하면 무사 빌드가 통과했습니다. .
조금 역기적인 느낌이 듭니다만, 일단 제가 만지고 있는 앱에서는, iPhone 실기로 admob 광고 문제 없게 움직이고 있었습니다.
Reference
이 문제에 관하여(UnityAdmobSDK6.0에서 xcode 빌드할 때 ""_GADURequestInterstitial", referenced from: _Externs_GADURequestInterstitial_m7354DBBE6F0E4C60EFEE0EC733AAEC22D91E2B0C in GoogleMobileAds.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/matsuyoro/items/837ad5a81c17dcbf69bb텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)