AdMob Unity SDK file missing in iOS

568 views
Skip to first unread message

PAHeartBeat

unread,
Jan 28, 2015, 5:53:36 AM1/28/15
to google-adm...@googlegroups.com
Hi  Eric,

I download Google Ad Mobile plugin for Game Enigne Unity 3D from "https://github.com/googleads/googleads-mobile-plugins" and iOS Mobile SDK from "https://developers.google.com/mobile-ads-sdk/download#downloadios" those link, I after created project an importing base SKD from "/unity/source/Assets" contentes in my empty Unity Project I have little copy and moddify "GoogleMobileAdsDemoScript.cs" from HelloWord Example in GitHub, Project working fine in Editor mode and give "DummyClient" Log as code in CS file by Google Mobile Ad SDK Team.

When I Start build it in iOS Device using XCode it;s give file missing error in XCode. Step I followed as bellow

Steps.
  1. Build XCode from Unity3D with proper BundleId "com.test.googlead"
  2. Open XCode and Follow Step of the link "https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start#manually_using_the_sdk_download"
    1. First I Download Latest iOS SDK v6.12.2 from link "https://developers.google.com/mobile-ads-sdk/download#downloadios" and add it to XCode Project
    2. Now Adds All Missing frameworks from given list
    3. Add -ObjC Compliler flag
  3. Now I just Hit Cmd+B to build XCode Project
After all above step as result of build its give error of missing file "liPhone-lib" in Libraries folder, Here with I alos attached screenshot for xcode error.
even you can check My Unity Code from GitHub "https://github.com/PAHeartBeat/GoogleAdsUnity.git"

Devlopment Tools Used:
===================
  1. MAC OSX 10.10.1
  2. Unity3D 4.6.1p4
  3. Google Mobile Ad Unity SDK "https://github.com/googleads/googleads-mobile-plugins"
  4. Google Mobile Ad iOS SDK v6.12.2
  5. XCode 6.1.1
  6. Base iOS SDK 8.1
  7. Minimum iOS 6.0
  8. Architectures armv7


Thanks to read this long post, 

~Thanks 'n' Regards
Ranpariya Ankur aka PAHeartBeat

 

Screen Shot 2015-01-28 at 4.14.41 pm.png
Screen Shot 2015-01-28 at 4.22.59 pm.png

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Jan 29, 2015, 6:45:19 PM1/29/15
to google-adm...@googlegroups.com
It sounds like you figured it out at https://github.com/googleads/googleads-mobile-plugins/issues/38.

Sometimes Xcode loses references to certain directories in the library search paths in Build settings. Removing the reference and readding the library will add back in the reference if it isn't there for some reason.

Thanks,
Eric

PAHeartBeat

unread,
Jan 30, 2015, 1:21:44 AM1/30/15
to google-adm...@googlegroups.com
Hi Eric,

Yap I figured it from GoogleAd iOS SDK manual configuration and a unity fourm answer on last day. so i have update My demo project with UserGuide.md file on GitHub. may it will usefull to other user. once again thanks for your valuebale time

Cheers
Ranpariya Ankur (PAHeartBeat)
Reply all
Reply to author
Forward
0 new messages