Hi, I encountered a weird problem.
Apple just rejected my app, the reason they provided was “the app does not ask users for permission to enable location service.”
I tested the app again and found that “asking for permission” worked well when I used development provisioning file, but it didn’t work when I used distribution provisioning file, though all the setting were the same.
I have set the “NSLocationWhenInUseUsageDescription” field, but it only showed when I used development provisioning file to build and test.
What should I do to solve this problem? Thanks.