Search Unity

Unity 4.7 Admob iOS link error

Discussion in 'iOS and tvOS' started by albert988, Apr 28, 2016.

  1. albert988

    albert988

    Joined:
    Aug 28, 2014
    Posts:
    5
    I import Admob plugin (Google Mobile Ads SDK) and export the Xcode project. When compile the project, there are some link error like this:

    Undefined symbols for architecture arm64:
    "__GADShowInterstitialAd", referenced from:
    _IOSAdMobController__GADShowInterstitialAd_m423384108_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADShowInterstitialAd_m423384108_0)
    "__GADReportPurchaseStatus", referenced from:
    _IOSAdMobController__GADReportPurchaseStatus_m1317586520_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADReportPurchaseStatus_m1317586520_0)
    "__GADLoadInterstitialAd", referenced from:
    _IOSAdMobController__GADLoadInterstitialAd_m_1495118827_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADLoadInterstitialAd_m_1495118827_0)
    "__GADStartInterstitialAd", referenced from:
    _IOSAdMobController__GADStartInterstitialAd_m1533596851_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADStartInterstitialAd_m1533596851_0)
    "__GADDestroyBanner", referenced from:
    _IOSAdMobController__GADDestroyBanner_m1819346905_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADDestroyBanner_m1819346905_0)
    "__GADSetBirthday", referenced from:
    _IOSAdMobController__GADSetBirthday_m61859954_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADSetBirthday_m61859954_0)
    "__GADAddTestDevices", referenced from:
    _IOSAdMobController__GADAddTestDevices_m_1032479912_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADAddTestDevices_m_1032479912_0)
    "__GADChangeInterstisialsUnitID", referenced from:
    _IOSAdMobController__GADChangeInterstisialsUnitID_m_1592654805_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADChangeInterstisialsUnitID_m_1592654805_0)
    "__GADChangeBannersUnitID", referenced from:
    _IOSAdMobController__GADChangeBannersUnitID_m1904975498_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADChangeBannersUnitID_m1904975498_0)
    "__GADSetPositionXY", referenced from:
    _IOSADBanner__GADSetPositionXY_m_113950081_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADSetPositionXY_m_113950081_0)
    "__GADSetPosition", referenced from:
    _IOSADBanner__GADSetPosition_m575080953_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADSetPosition_m575080953_0, _IOSADBanner__GADSetPositionXY_m_113950081_0 )
    "__GADSetGender", referenced from:
    _IOSAdMobController__GADSetGender_m_2132413546_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADSetGender_m_2132413546_0)
    "__GADCreateBannerAd", referenced from:
    _IOSADBanner__GADCreateBannerAd_m_1635387524_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADCreateBannerAd_m_1635387524_0, _IOSADBanner__GADCreateBannerAdPos_m552626299_0 )
    "__GADCreateBannerAdPos", referenced from:
    _IOSADBanner__GADCreateBannerAdPos_m552626299_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADCreateBannerAdPos_m552626299_0)
    "__GADRefresh", referenced from:
    _IOSADBanner__GADRefresh_m1262469966_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADRefresh_m1262469966_0)
    "__GADAddTestDevice", referenced from:
    _IOSAdMobController__GADAddTestDevice_m_2081727017_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADAddTestDevices_m_1032479912_0, _IOSAdMobController__GADAddTestDevice_m_2081727017_0 )
    "__GADHideAd", referenced from:
    _IOSADBanner__GADHideAd_m711280150_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADHideAd_m711280150_0)
    "__initGoogleAd", referenced from:
    _IOSAdMobController__initGoogleAd_m777305546_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__initGoogleAd_m777305546_0)
    "__GADShowAd", referenced from:
    _IOSADBanner__GADShowAd_m1860529617_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSADBanner__GADShowAd_m1860529617_0)
    "__GADTagForChildDirectedTreatment", referenced from:
    _IOSAdMobController__GADTagForChildDirectedTreatment_m_1278709222_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADTagForChildDirectedTreatment_m_1278709222_0)
    "__GADAddKeyWord", referenced from:
    _IOSAdMobController__GADAddKeyWord_m471052922_0 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _IOSAdMobController__GADAddKeyWord_m471052922_0)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Please help~