Iphone Location

In Xcode (Swift), I’m trying to get latitude and lightness from CoreLocation, but is there anything I can’t get?
Other functions such as sensors and communication are working fine.

The test is conducted on an Iphone XR IOS1.4.

Hi there! Thank you for your post! Since this is not a GitHub related question, I’m not sure if you’ll find help here. I recommend you post your question in a more general forum like Stackoverflow. Thank you!