This is my first app attempt since I started learning Swift.
I use MapKit and CoreLocation in my app. For CoreLocation, I use it to get the longitude and latitude of a specified zip code. For MapKit, I use it to display the coordinates of a map.
It works well in the simulator, but not on an actual device. Longitude and latitude return as -180 for both.
Do I have to add anything anywhere to my app before I build it? Actually do not get or use the user’s location, so I was not sure.