SamRock's Recent Forum Activity

  • cranberrygame

    I am getting the following error on XDK when I try to build my game for iOS:

    [quote:tedz9wwh]In file included from .../LastoftesurvivorsV4_iOS/platforms/ios/Last of the Survivors/Plugins/cordova-plugin-ad-admob/Admob.m:5:

    .../LastoftesurvivorsV4_iOS/platforms/ios/Last of the Survivors/Plugins/cordova-plugin-ad-admob/Admob.h:8:9: fatal error: 'GoogleMobileAds/GADAdSize.h' file not found

    #import <GoogleMobileAds/GADAdSize.h>

    ^

    1 error generated.

    Could you please help me out as soon as possible? I have borrowed an iPad Mac just for building purpose.

  • ondraayyy awesome tutorial!! I recently bought the Apple Dev account and borrowed a iPad for testing. I dont own a Mac (have a friend with one!)

    I followed all the steps, now I am trying to build my game using Intel XDK , but after I click green "build" button I get the following error

    [quote:20k4dxtg]

    ** BUILD FAILED **

    The following build commands failed:

    CompileC build/Last\ of\ the\ Survivors.build/Release-iphoneos/Last\ of\ the\ Survivors.build/Objects-normal/armv7/Admob.o Last\ of\ the\ Survivors/Plugins/cordova-plugin-ad-admob/Admob.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

    CompileC build/Last\ of\ the\ Survivors.build/Release-iphoneos/Last\ of\ the\ Survivors.build/Objects-normal/armv7/AdmobOverlap.o Last\ of\ the\ Survivors/Plugins/cordova-plugin-ad-admob/AdmobOverlap.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

    CompileC build/Last\ of\ the\ Survivors.build/Release-iphoneos/Last\ of\ the\ Survivors.build/Objects-normal/armv7/AdmobSplit.o Last\ of\ the\ Survivors/Plugins/cordova-plugin-ad-admob/AdmobSplit.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

    (3 failures)

    Error code 65 for command: xcodebuild with args: -xcconfig,.../LastoftesurvivorsV4/platforms/ios/cordova/build-release.xcconfig,-project,Last of the Survivors.xcodeproj,ARCHS=armv7 armv7s arm64,-target,Last of the Survivors,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=.../LastoftesurvivorsV4/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../LastoftesurvivorsV4/platforms/ios/build/sharedpch

    Command finished with error code 2: .../LastoftesurvivorsV4/platforms/ios/cordova/build --release,--device

    ERROR building one of the platforms: Error: .../LastoftesurvivorsV4/platforms/ios/cordova/build: Command failed with exit code 2

    You may not have the required environment or OS to build this project

    I am using CLI 5.1.1 (CW15), do you know if this is the issue?Should I downgrade to 4.x.x? Also do I need a MAC to build the game?

  • > San Ki Kwong, Can you describe better how to install?

    >

    > I copied the files into the construct2 folder but they don't appear in the ide.

    > With construct2 closed, also tried to drag each file into the construct executable icon. Then Construct2 opens and it gives an error.

    > Do I have to drag the folder or individual files, and where to drop them ?

    > Thanks,

    >

    > JD

    >

    You have to drag and drop the .c2addon files into the IDE and it will install. Just make sure to restart the IDE for the plugins to take effect.

    and cranberrygame, I had previously bought and used most of these plugins and had created the individual plugin folders inside the C2/../plugins folder

    eg: C:\Program Files\Construct 2\exporters\html5\plugins\cranberrygame_CordovaAdColony[/i]

    Now when I drag the .c2addon I dont see this fodler getting refreshed with new version. I also dont see any new folder getting created for other new .c2addon that I add to C2. But when I restart C2, I see teh new plugins in the Object Dialog!!

    So my question is where are these Plugins installed on our local machine? I am asking because I periodically check for new updates and keep my plugin folder updated.

    Thanks in advance for the help!

  • I would consider paying more than C2 if we have :

    1. Solid "UNIVERSAL" Ads and IAP plugins in place. Right now monetizing our games is a nightmare, we have to run behind Plugin developers for every single issue.

    2. Support for making Isometric perspective games including map editor, path finding. Elevation (slopes/upper floors)

    3. Animation screen to tweak frames per second and see the result instantly , rather than having to run the game everytime

    4. Native(C3) support for Dialog box system (Message box, Popup, Input box) where we can assign our own sprites(background and buttons) and call them in a single line of code. Currently we have stitch together number of small sprites to build various popup screens. Managing the Click event for each button and handling Visible/Invisible properties becomes a nightmare after a while!!

    5. Inbuilt function that automatically tells me if users is on a Touch Device or PC with Keyboard and mouse. This will help us decide if we need to show users instructions for Touch or KB/Mouse (if on PC).

    6. At runtime, allow us to DESTROY/Flush out assets from Layout that are no more needed so that some memory is cleared. I know C2 loads all the graphics into memory when a Layout is loaded. But often there are sprites that are no more needed after certain time. Eg: I show users set of instruction of a large Popup box that will appear only first few time. After that it doest have to appear anymore, in this case I should be able to tell C3 to remove these sprites from memory.

    7. Native support to create and test Font Sprites

    8. Universal Leadership and achievement board plugins for all major platform (Android, iOS and Windows)

    Again, I love C2 so much.. I might end up buying C3 anyways

  • Unhy no my friend. As you can see.. I never got any response

    But people from Intel XDK forum said that these errors can be ignored. But its still resulting in crashing the game

  • Thanks SamRock! It works now! And no im not that guy hehe

    Glad to know it worked for you!!

    Of late, XDK has been a nightmare for many!

  • I recently started using this network for my ads and I'm getting very high eCPM's so I thought I'd pay it forward:

    Banner - $1.23 eCPM

    Interstitial - $5.24 eCPM

    Video - $6.03 eCPM

    I wrote this little tutorial if you're interested:

    https://www.scirra.com/tutorials/4866/h ... -high-ecpm

    Or you can just try them out yourself here:

    http://appodeal.com/+f2f38f2db6bf70972b1b952e06c7234d

    Thanks for sharing!! Is appodeal "Pay per click" (like Admob) or Pay per Install" (like most other Ad network)??

  • When you add this: "cordova-plugin-ad-admob", what plugin need to have at construct 2? Admob official??

    Yes.. Official Admob plugin becuase it uses Cranberrygames' plugin code too.

    (PS: Please reply with SamRock so that I know there was a question or response for me )

  • Iolva

    No problem. Can you list the plugins you are using?

    I will post the steps to add each

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • SamRock

    How are you building the "Last of the Survivors"? With Intel XDK?

    I use it only for Android. Do you want to know the steps for Android?

  • Guys I´m having the same problem, but reading all your post I still didn´t figure out how to make it work.

    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" />

    <intelxdk:plugin intelxdk:name="org.apache.cordova.inappbrowser" intelxdk:value="org.apache.cordova.inappbrowser" />

    Exactly where do I change the code, and where do I find the google key or something that was mention?

    Just just checking.. are you Tanvir from Facebook C2 forum?

    Firstly remove the above text from the additions.xml file. With the new XDK, you don't need the additions.xml anymore.

    Goto projects-> Plugin Management->Add plugin->3rd Party-> Add "cordova-plugin-ad-admob"

    Again Add plugin->Core Plugins->cordova-plugin-inappbrowser.

    That should add proper references in the new XDK project

  • > Ashley, will teh WIndows 10 updates only include changes in the pubCenter and IAP plugins?

    >

    > I read MS has introduced Video Ads & Interstitial Ads in pubCenter. It will be great if Scirra team can have these basic plugins ready for stabel version. Also as you work on the IAP plugin, request you to include IAP consumable feature

    >

    I am almost done my IAP Consumbale plugin for Windows 10. Any interest in it ? I need a few guinea pigs...

    Thats awesome!!!! I am ready for the experiment!!

SamRock's avatar

SamRock

Member since 7 Apr, 2014

None one is following SamRock yet!

Connect with SamRock

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers

Progress

11/44
How to earn trophies