Jump to content
  • entries
    207
  • comments
    220
  • views
    227309

App Store Rejected!

Sign in to follow this  
gdunbar

770 views

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!

Geoff
Sign in to follow this  


0 Comments


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!