for some reason I have not installed xcode4 templates correctly, so all the .m files of CocosDenshion folder were empty, without code! So, I have re-downloaded Cocos2d-x and re-installed the templates removing the old installation and now my game works with music.
I’ve created a simple game in xcode with Cocos2d-x and it works 100% perfect (sprites, graphic, animations, ecc.).
The only problem I have is with the music. I simply use this command:
The same project in Win32 works perfect, instead in xcode the above command gives me an “Apple Mach-O Linker (id) error”. This is a screenshot:
Can anyone help me?