IOS app close when try to get location

I have a problem with my app when I try to get user location, the app close.

I made a live build and capture the error.

mar. 21 10:30:22.719 [Device] 1.1 Unable to retrieve CarrierName. CTError: domain-2, code-5, errStr:((os/kern) failure)

mar. 21 10:30:22.728 [Device] 2.1 <private>

mar. 21 10:30:22.728 [Device] 3.1 <private>

mar. 21 10:30:22.748 [Device] Warning: Libinfo call to mDNSResponder on main thread

mar. 21 10:30:22.902 [Device] validateTextureDimensions, line 681: error ‘<private>’

Corona Build 2016.2992 and Xcode 8.1.

How to fix this problem? Thanks.

p: app in android works fine.

Can you provide more details?

What device are you building and testing on?  What OS/version is it running?

Are there additional messages in the console log?

Device is Iphone 5s with ios 10.1.

I put the most important information of the console log.

in build.settings i have:

NSLocationAlwaysUsageDescription= “This app would like to use location services.”

and

NSLocationWhenInUseUsageDescription = “A description to the user of why you need access to location services.”

Can you provide more details?

What device are you building and testing on?  What OS/version is it running?

Are there additional messages in the console log?

Device is Iphone 5s with ios 10.1.

I put the most important information of the console log.

in build.settings i have:

NSLocationAlwaysUsageDescription= “This app would like to use location services.”

and

NSLocationWhenInUseUsageDescription = “A description to the user of why you need access to location services.”