IOS部分异常处理

IOSMapDemo[30523:5706951] PAC Fetch failed with error [NSURLErrorDomain:-1004]
IOSMapDemo[30523:5706951] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1004
电脑代理问题
系统偏好设置-->网络-->高级-->代理,然后关闭自动代理

IOSMapDemo[30523:5706540] Could not load the " " image referenced from a nib in the bundle with identifier "com.mdg.IOSMapDemo"
以源码方式打开storyboard或者xlb
搜索image
例如:
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="image" keyPath="keyPath" value=" "/>
</userDefinedRuntimeAttributes>
删除。。。
----------> 同时解决了下面的问题。。。。 所以下面的问题应该是在xlb或者storyboard中搜索keyPath
Failed to set (keyPath) user defined inspected property on (UIButton): [<UIButton 0x7f94d8808c70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key keyPath.

This app has attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSLocationWhenInUseUsageDescription key with a string value explaining to the user how the app uses this data
在info.plist中添加对应权限即可
<key>NSLocationUsageDescription</key>
<string>App需要您的同意,才能访问位置</string>
<!-- 在使用期间访问位置 -->
<key>NSLocationWhenInUseUsageDescription</key>
<string>App需要您的同意,才能在使用期间访问位置</string>
<!-- 始终访问位置 -->
<key>NSLocationAlwaysUsageDescription</key>
<string>App需要您的同意,才能始终访问位置</string>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值