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>