IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0)
来源:互联网 发布:网络小贷牌照名单 编辑:程序博客网 时间:2024/04/28 01:15
前几天解决了在ios8上无法使用地址位置服务的问题,最近在模拟器上调试发现获取位置坐标信息的时候会报错,错误信息: didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLErrorDomain error 0.)”。
出错原因是xcode里面的project–>scheme–>edit scheme–>options–>core location–>allow location simulation配置错误;如下图:
解决办法:
若已经设置了,取消勾选,保存;
将simulator–>reset content and settings:
再重新勾选allow location simulation,
再reset content and settings
这样应该就可以解决该问题了。
0 0
- IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0)
- IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0)
- ios学习笔记: IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0)
- IOS8解决获取位置坐标信息出错(kCLErrorDomain error 0)
- iOS_解决模拟器 Error Domain=kCLErrorDomain Code=0
- Error Domain=kCLErrorDomain Code=0 "(null)"
- iOS8后地理定位问题解决和定为时错误的解决Error Domain=kCLErrorDomain
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLError
- 【解决方法】Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed.
- iOS[问题解决] Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed.
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLError
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLErro
- Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed. (k
- iOS MKMapView Error Domain=kCLErrorDomain Code=0 “(null)” Simulator
- 使用苹果地图定位地理信息反编码 遇到 Error Domain=kCLErrorDomain Code=8 问题
- 解决AFNetwork Error Domain=AFNetworkingErrorDomain Code=-1016
- 错误: Error Domain=kCLErrorDomain,The operation couldn’t be completed
- Error Domain=NSCocoaErrorDomain Code
- 编写DLL格式的wireshark插件
- 为什么文件打开和编辑,notepad++显示的文件不一样呢?
- 权限设计
- 知识在于积累
- MQ、JMS以及ActiveMQ 关系的理解
- IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0)
- CentOS 7升级内核版本后VirtualBox无法启动问题
- [转]《设计模式》python实现
- css控制文字显示长度
- Centos 6.7 安装RStudio server遇到的问题总结
- jdk和jre的区别和联系--详细
- myeclipse 修改 背景颜色
- HTTPS(SSL加密)webservice客户端访问总结
- OC中的不可变字典