Jump to content
  • Advertisement
  • entries
  • comments
  • views

App Store Rejected!

Sign in to follow this  


Rats, my App Store review failed. Rejected because the app crashes when you go to purchase another chapter. Look at the crash dump, it appears that the app store is returning a bogus value for the price of the chapter. Hopefully this is just some weird manifestation of the review process... chapter purchase works fine for me. In any case, it shouldn't be too tough to check for the bogus value and continue on without crashing. I suppose I should ask on Stack Overflow if anyone else has any idea what is going on.

For devs, here is the crashing code: NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init]; [numberFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4]; [numberFormatter setNumberStyle:NSNumberFormatterCurrencyStyle]; [numberFormatter setLocale:skProduct.priceLocale]; NSString *formattedString = [numberFormatter stringFromNumber:skProduct.price];--> std::string szPrice( [formattedString cStringUsingEncoding:NSASCIIStringEncoding] );
This would be a lot easier if I could get it to crash on my device!

Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!