nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping

来源:互联网 发布:java大数字处理 编辑:程序博客网 时间:2024/05/22 21:29

  • nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed 42 Protocol not available dumping backtrace
  • 解决办法



nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace

这里写图片描述

解决办法:

在Xcode的菜单栏,依次进入:
【product】-【scheme】-【Edit Scheme】-【Run】-【Argument】-【Environment Variable】添加key Value【OS_ACTIVITY_MODE disable】
或快捷键操作:
快捷键 shift+command + 《
快速打开如下图的界面,在相应的位置
添加对应的参数 OS_ACTIVITY_MODE disable
下图的界面专业的说法是什么,求留言。谢谢你


这里写图片描述



遗留问题:还会出现Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x10a39a910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x10a1c4210). One of the two will be used. Which one is undefined.

持续更新。。

3 0
原创粉丝点击