I just got my first app approved on the App Store (Woohoo!) and it runs slightly differently depending on whether it's installed from my development machine or the App Store. When I install and run the App in开发者_Go百科 release mode from my development machine, the app opens and asks the user if it can use their current location. When I install and run it from the App Store, the app opens and does NOT ask the user if it can use their current location, causing my location-based features not to work. What are some reasons this might happen?
Thanks so much in advance for your help!
Hummmm
Did you try on an another device that you "test device" ?
Maybe there is still a certificate that think that's a debug app (it can happen), and maybe the device think you said "no" earlier to this kind of features (location).
But you should avoir this problem by handling errors with delegate methods :-) (of the location API)
Good Luck !
Is UIRequiredDeviceCapabililities
not set? Doesn't seem like that should break it but who knows....
Well, I found the answer here...
iphone Location Services code that works on OS 4.1 in appstore
Apparently it's a bug in Apple's 4.1 code that caused me to have to pull my app from the store. Thanks, Apple!
Wow, this is horrible! This happened to me as well. I had invested two months work of time and effort into a paid app and the user reviews were horrible because consumers can't distinguish between a bug in Apple's OS code and a bug in your code. Consumers just assume your software sucks and lost a lot of revenue as a result.
精彩评论