User Tag List

Results 1 to 9 of 9

Thread: AdMob error in main.m

  1. #1
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    67
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    AdMob error in main.m

    Hello all. I am switching from ChartBoost to Admob for one project. I have left ChartBoost in, as it is working fine, but have my app skip the interstitial ad automatically while I try out the AdMob banners.
    Note: I have checked for the latest version of ClickTeam, I am up to date.

    AdMob is already working perfectly in my Android build.

    Went to my previously working XCode setup, but rebuilt ZIP from Fusion

    Added in the following per this thread suggestion
    https://community.clickteam.com/threads/104874-Admob-for-iOS-GoogleMobileAds-CRunAdMob-m-not-found-FIX!!
    - AdSupport
    - CFNetowrk
    - CoreMedia
    - CoreVideo
    - CoreTelephony
    - GLKit
    - MessageUI

    Added in the
    GoogleMobileAds.framework

    +UIKit.framework

    Phone starts, App launches start screen, Crashes to Xcode to a ClickTeam "main.m" with the following error
    #import <UIKit/UIKit.h>

    int main(int argc, char *argv[])
    {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    int retVal = UIApplicationMain(argc, argv, nil, @"RuntimeIPhoneAppDelegate");
    [pool release];
    return retVal;
    }


    I've also cleared the build folder and attempted a rebuild.
    I can not find any other info on this error. Please help.
    Thank you!

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,896
    Mentioned
    115 Post(s)
    Tagged
    2 Thread(s)
    seems that you need to add other libraries

    what version of admob ios sdk are you using?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    67
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    seems that you need to add other libraries

    what version of admob ios sdk are you using?
    version 7.47.0

    EDIT;
    I went back and added all Google Frame works in the package:

    GoogleMobileAds.framework
    GoogleAppMeasurement.framework
    GoogleUtilities.framework
    nanopb.framework

    Add the -ObjC linker flag to Other Linker Flags in your project's build settings.

    Updated:
    Info.plist file, add a GADApplicationIdentifier key with a string value of AdMob app ID.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,896
    Mentioned
    115 Post(s)
    Tagged
    2 Thread(s)
    please use sdk version 7.39, here the details

    https://community.clickteam.com/threads/98061-Admob-for-iOS-xcode-error/page2
    also check if you need to add CoreTelephony, Security

    GoogleAppMeasurement.framework
    GoogleUtilities.framework
    nanopb.framework
    please this does not add theses
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    67
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    please use sdk version 7.39, here the details

    https://community.clickteam.com/threads/98061-Admob-for-iOS-xcode-error/page2
    also check if you need to add CoreTelephony, Security



    please this does not add theses
    I remove the extra Google installs
    Trying now...

  6. #6
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    67
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I installed SDK 7.39 and cleaned my build. Still getting the same error.
    ...

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,896
    Mentioned
    115 Post(s)
    Tagged
    2 Thread(s)
    need to see your xcode project to see what could it be, test here doe snot show this error
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    May 2014
    Posts
    172
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Here is a list of all the frameworks I add manually for the admob sdk to not crash during build on iOS: GLKit,Opengles,MessageUI,SafariService,CoreBluetoo th,eventkit,eventkitui,coretelephony,coremedia,cor emotion,corevideo,adsupport,cfnetwork

    I don't know if every single one of these is needed, though.

    Edit: And of course also the GoogleMobileAds.framework

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,896
    Mentioned
    115 Post(s)
    Tagged
    2 Thread(s)
    here a list of what i have in the Xcode testing project for AdMob

    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Admob for iOS - xcode error
    By maxtimoteo in forum iOS Export Module 2.5
    Replies: 15
    Last Post: 25th April 2019, 02:35 PM
  2. problem AdMob error Billing
    By Max_Games in forum Android Export Module 2.5
    Replies: 14
    Last Post: 24th February 2019, 11:26 AM
  3. Build error of AdMob
    By kt777 in forum Android Export Module 2.5
    Replies: 1
    Last Post: 24th April 2015, 01:17 AM
  4. Build Error with Admob
    By DaveC in forum Android Export Module 2.5
    Replies: 0
    Last Post: 22nd February 2015, 05:22 AM
  5. Error in main with Simulator
    By K1kk0z90 in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 5th October 2011, 10:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •