I am new to Xcode and mobile app. I am doing an app to find the current location. I tested it on the simulator and got this message in the console. \"Could not inset legal attri
With the simulator open, go to the DEBUG menu on the mac top bar, the last option is location, mine was showing this error when set to NONE. Set it Custom Location, first with you prompt you to a custom location on a new window, fill that, close the simulator, and relaunch the app. It should get the custom location from your code now. (andrecasarini credit)