出错原因是xcode里面的project-->scheme-->edit scheme-->options-->core location-->allow location simulation配置错误:
解决办法:
若已经设置了,取消勾选,保存;
将simulator-->reset content and settings:
再重新勾选allow location simulation,
再reset content and settings
出错原因是xcode里面的project-->scheme-->edit scheme-->options-->core location-->allow location simulation配置错误:
解决办法:
若已经设置了,取消勾选,保存;
将simulator-->reset content and settings:
再重新勾选allow location simulation,
再reset content and settings