xCode 5.1生成崩溃 - SpriteBuilder [英] xCode 5.1 build crashes - SpriteBuilder

查看:140
本文介绍了xCode 5.1生成崩溃 - SpriteBuilder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更新xCode到5.1。突然,我的(cocos2d)构建发布到我的iPhone 5s(iOS 7.1)时不断崩溃。它在模拟器(iOS 7.1)工作得很好。
我在这里得到了一个截图: http://puu.sh/7rB8S.png p>

自从我将xCode更新为5.1之后,我得到了一些警告。
将上面的替换为:7rBfp.png(由于缺乏声誉...)



如果你愿意重现这个问题,教程: https://www.makegameswith.us/tutorials/getting-一旦我添加了MainScene背景(和按钮+方法),我不能再在我的iPhone上构建。



我错过了什么?

解决方案

要更新Cocos2D,请下载最新版本( https://s3.amazonaws.com/spritebuilder/cocos2d-iphone-3.0 .0.rc.4.zip24 ),解压缩文件并将其重命名为cocos2d-iphone并替换当前项目中的版本。它在Source / libs / cocos2d-iphone中。



SpriteBuilder论坛


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 anymore.

Am I missing something? Before I updated xCode and my phone today everything worked flawlessly.

解决方案

To update Cocos2D, download the latest version ( https://s3.amazonaws.com/spritebuilder/cocos2d-iphone-3.0.0.rc.4.zip24 ), unzip the file and rename it to cocos2d-iphone and replace the version in your current project. It's in Source/libs/cocos2d-iphone.

Credits to Vic at the SpriteBuilder forums for this answer.

这篇关于xCode 5.1生成崩溃 - SpriteBuilder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆