C++ problem need help integrate ads

  • sovans
    Likes 0

    Problem Description

    I have some problem with c++, I don't know much about it plus the ad network I use is chart boosts. In there tutorial, they have a thing called Appdelegate.h but the game made with thirdpartie software not made with Xcode (I'm not good at coding), when I open it on Xcode it's doesn’t have Appdelegate, instead it have Appcontroller.h… This is confusing me, I need some to integrate ads, please help!

  • Sonar Systems admin
    Likes 0

    What software are you using?

  • sovans
    Likes 0

    I use buildbox game software (code less)

  • Sonar Systems admin
    Likes 0

    You should be able to export using Buildbox and do it all within.

  • sovans
    Likes 0

    yes i did export the file and i got the package open the xcode file and i have to manually integrate chartboosts ad but it doesnt show appdelegate.h nor .mm.. But its show appcontroller.h

  • sovans
    Likes 0

    file:///Users/sovan/Desktop/Screen%20Shot%202016-07-25%20at%209.24.59%20PM.png

     

    heres the image/ screen shot

     

    if thats so im i be able to use cocos helper? to integrate ads?

     


  • Sonar Systems admin
    Likes 0

    Most of the Cocos Helper is non Cocos but some is Cocos related. Try integrating and we will help along the way if you come across any errors.

  • sovans
    Likes 0

    Hi, i got everything neat and nice except this 1 error that i got

     

    ld: framework not found Chartboost

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    im i place chartboost framework wrong place or what?

  • sovans
    Likes 0

        NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

        int retVal = UIApplicationMain(argc, argv, nil, @"AppController");       Thread 1: signal SIGABRT

        [pool release];

        return retVal;

    }

    when i build and test i also got this
     
  • sovans
    Likes 0

    ok yeah i finnaly figure all those out and after all that, ads not show up can you help me?

  • Sonar Systems admin
    Likes 0

    Do you get any errors in the console?

  • sovans
    Likes 0

    Hey, 

    omg I can't believe I just figure it out. It's work fine after all, all I do is just wait for a few moment for it to load up.. Man I love sonar system, made my life easier!

  • sovans
    Likes 0

    Without your sonarcocohelper I be stress by now... Thanks for such a wonderful work!

  • Sonar Systems admin
    Likes 0

    Your very welcome :D

  • Sonar Systems admin
    Likes 0

    If you have any more questions feel free to post them on sonar learning :D

Login to reply