Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
272 views
in Technique[技术] by (71.8m points)

cocos2d iphone - xCode 5.1 build crashes - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...