[Error] Build iOS failed: Undefined symbols for architecture arm64: "_GADURequestInterstitial"
Unity3D/Ad / 2021. 5. 26. 16:38
[추가] 2021-08-05 확인
GoogleMobileAds v6.0.1(2021-06-27 업데이트)에서 수정됐다.
https://github.com/googleads/googleads-mobile-unity/releases/tag/v6.0.1
------------------------------------------------------------------------
GoogleMobileAds v6.0.0이 나와서 설치했는데 iOS에서 Build Error가 나서 확인해보니 GoogleMobileAds v6.0.0 버그 같다.
아래와 같이 Workaround.m 파일을 만들어서 추가하면 해결 된다.
------------------------------------------------------------------------
qbit86 commented 2 days ago
@onom88 It would probably be sufficient to reduce Assets/Plugins/iOS/Workaround.m to just this, with no headers needed at all: |
// Workaround for https://github.com/googleads/googleads-mobile-unity/issues/1616
typedef const void *GADUTypeInterstitialRef;
typedef const void *GADUTypeRewardedAdRef;
typedef const void *GADUTypeRequestRef;
void GADURequestInterstitial(GADUTypeInterstitialRef interstitial, GADUTypeRequestRef request) { }
void GADURequestRewardedAd(GADUTypeRewardedAdRef rewardedAd, GADUTypeRequestRef request) { }
[링크] https://github.com/googleads/googleads-mobile-unity/issues/1616
반응형
'Unity3D > Ad' 카테고리의 다른 글
[펌] GDPR에 대해 알아보자 (Feat 애드몹) (0) | 2024.02.23 |
---|---|
[GoogleMobileAds] Unity-Google-UMP-Check[GDPR/IDFA(ATT)] (0) | 2023.12.15 |
[링크] Very Simple Ads Monetization & Mediation (0) | 2018.01.08 |
[링크] [Unity3D] Google AdMob 연동하기 (0) | 2018.01.08 |
Unity에서 ADID・IDFA 얻기 (0) | 2017.11.28 |