- Home /
Apple Mach-O Linker Error, Undefined symbols for architecture armv7
I need to get rid of the following error, when i tried to remove iAD framework from xcode project, because we dont use advertisements, and we dont want app rejected by apple
Undefined symbols for architecture armv7: "UnityAD_DestroyInterstitial(void*)", referenced from: ADInterstitialAd_CUSTOM_Native_DestroyInterstitial(void*) in libiPhone-lib.a(iAD.o) "UnityAD_InterstitialAvailable()", referenced from: ADInterstitialAd_CUSTOM_Native_InterstitialAvailable() in libiPhone-lib.a(iAD.o) "UnityAD_ReloadInterstitial(void*)", referenced from: ADInterstitialAd_CUSTOM_Native_ReloadInterstitial(void*) in libiPhone-lib.a(iAD.o) "UnityAD_ShowInterstitial(void*)", referenced from: ADInterstitialAd_CUSTOM_Native_ShowInterstitial(void*) in libiPhone-lib.a(iAD.o) "UnityAD_CreateInterstitial(bool)", referenced from: ADInterstitialAd_CUSTOM_Native_CreateInterstitial(short) in libiPhone-lib.a(iAD.o) "UnityAD_ShowBanner(void*, bool)", referenced from: ADBannerView_CUSTOM_Native_ShowBanner(void*, short) in libiPhone-lib.a(iAD.o) "UnityAD_BannerAdLoaded(void*)", referenced from: ADBannerView_CUSTOM_Native_BannerAdLoaded(void*) in libiPhone-lib.a(iAD.o) "UnityAD_InterstitialAdLoaded(void*)", referenced from: ADInterstitialAd_CUSTOM_Native_InterstitialAdLoaded(void*) in libiPhone-lib.a(iAD.o) "UnityAD_BannerPosition(void*, float*, float*)", referenced from: ADBannerView_CUSTOM_Native_BannerPosition(void*, Vector2f*) in libiPhone-lib.a(iAD.o) "UnityAD_DestroyBanner(void*)", referenced from: ADBannerView_CUSTOM_Native_DestroyBanner(void*) in libiPhone-lib.a(iAD.o) "UnityAD_LayoutBanner(void*, int)", referenced from: ADBannerView_CUSTOM_Native_LayoutBanner(void*, int) in libiPhone-lib.a(iAD.o) "UnityAD_BannerSize(void*, float*, float*)", referenced from: ADBannerView_CUSTOM_Native_BannerSize(void*, Vector2f*) in libiPhone-lib.a(iAD.o) "UnityAD_MoveBanner(void*, float, float)", referenced from: ADBannerView_CUSTOM_INTERNAL_CALL_Native_MoveBanner(void*, Vector2f const&) in libiPhone-lib.a(iAD.o) "UnityAD_BannerTypeAvailable(int)", referenced from: ADBannerView_CUSTOM_Native_BannerTypeAvailable(int) in libiPhone-lib.a(iAD.o) "UnityAD_BannerAdVisible(void*)", referenced from: ADBannerView_CUSTOM_Native_BannerAdVisible(void*) in libiPhone-lib.a(iAD.o) "UnityAD_CreateBanner(int, int)", referenced from: ADBannerView_CUSTOM_Native_CreateBanner(int, int) in libiPhone-lib.a(iAD.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Your answer
![](https://koobas.hobune.stream/wayback/20220613170137im_/https://answers.unity.com/themes/thub/images/avi.jpg)