Deprecated warnings on the Xcode

Hey guys,

I’m a newbie on mobile dev. I’ve been developing for web / as3 for some time though.
So, I downloaded the git folder, installed the templates for Xcode and started a new cocos2d-x project.

The problem? I get already 7 warnings from the template. 6 of them are of deprecations.

  • one in AccelerometerSimulation.m
  • four in CCImage.mm
  • one in CCTexturePVT.cpp
  • one in CDAudioManager.m

Should I just ignore these?

So… no answer to this?

Did you get the answer?

I don’t know how to get rid of

  • accelerometer:didAccelerate

but resolved the other things.

  • CCImage.mm
    UITextAlignmentRight → kCTRightTextAlignment
    UITextAlignmentLeft → kCTLeftTextAlignment
    UITextAlignmentCenter → kCTCenterTextAlignment

  • CDAudioManager.m
    //AVAudioSessions* session = [AVAudioSession sharedInstance];
    //session.delegate = self;
    [[AVAudioSession sharedInstance] setActive:YES error:nil];

No. I’ve just ignored so… Thanks. I’ll take a look on these. Now, I’m back to the web hehe.