spritebuilder

XCode 5.1 force 32 bit compilation for a Cocos2d-iphone v3 project

落爺英雄遲暮 提交于 2019-12-04 03:37:14
I am using SpriteBuilder with Cocos2d-iphone v3. Ever since updating to XCode 5.1 my application crashes when I use CCButton actions defined directly in SpriteBuilder . This seems to be the cause This is most likely a cast or pointer conversion, going bad on 64 bit. as pointed out by @birkemose at the Cocos2d forums How can I force XCode 5.1 to compile my project in 32 bit even for my 64 bit devices? Update: Fix by updating Cocos2d to RC4 xCode 5.1 build crashes - SpriteBuilder In your project's build settings, change Architectures from "Standard architectures" to "armv7, armv7s" (without the

How to add iAd in Cocos-SpriteBuilder

六眼飞鱼酱① 提交于 2019-12-03 21:38:13
I am using SpriteBuilder (which integrates with Cocos2d v3.0). I built an app and now I want to put in an iAd at the very top that pops up when I call it, and hides when I tell it to. What's the simplest way to do this? Keep in mind I am using SpriteBuilder with Cocos2d. And just because I am using SpriteBuilder does not mean I am not using Xcode 5 as well. I am fully involved in Xcode as well. SpriteBuilder does not write the code for me, I do that. Add iAd framework to your dependencies. In your header file for your game scene, add the ADBannerViewDelegate, for instance: @interface MainScene

xCode 5.1 build crashes - SpriteBuilder

余生长醉 提交于 2019-11-29 08:52:17
I recently updated xCode to 5.1. All of a sudden my (cocos2d) builds keep on crashing when publishing to my iPhone 5s (iOS 7.1). It works fine in the simulator (iOS 7.1). I got a screenshot here: http://puu.sh/7rB8S.png Also I got a bunch of warnings since I updated xCode to 5.1. Replace above with: "7rBfp.png" (due to lack of reputation...) If you are willing to reproduce the problem, I followed this tutorial: https://www.makegameswith.us/tutorials/getting-started-with-spritebuilder/menus/ Once I added the MainScene background (and the button + methods) I was not able to build on my iPhone

xCode 5.1 build crashes - SpriteBuilder

佐手、 提交于 2019-11-28 02:26:38
问题 I recently updated xCode to 5.1. All of a sudden my (cocos2d) builds keep on crashing when publishing to my iPhone 5s (iOS 7.1). It works fine in the simulator (iOS 7.1). I got a screenshot here: http://puu.sh/7rB8S.png Also I got a bunch of warnings since I updated xCode to 5.1. Replace above with: "7rBfp.png" (due to lack of reputation...) If you are willing to reproduce the problem, I followed this tutorial: https://www.makegameswith.us/tutorials/getting-started-with-spritebuilder/menus/