当前位置:   article > 正文

XCode8 Protocol not available, dumping backtrace问题

xcode not available

一 问题描述

  1. nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:
  2. [x86_64] libnetcore-856.1.8
  3. 0 libsystem_network.dylib 0x000000010b23380e __nw_create_backtrace_string + 123
  4. 1 libnetwork.dylib 0x000000010c032194 nw_socket_add_input_handler + 3002
  5. 2 libnetwork.dylib 0x000000010c00fdb8 nw_endpoint_flow_attach_protocols + 3768
  6. 3 libnetwork.dylib 0x000000010c00edd5 nw_endpoint_flow_setup_socket + 563
  7. 4 libnetwork.dylib 0x000000010c00db34 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612
  8. 5 libnetwork.dylib 0x000000010c028d11 nw_endpoint_handler_path_change + 1261
  9. 6 libnetwork.dylib 0x000000010c028740 nw_endpoint_handler_start + 570
  10. 7 libnetwork.dylib 0x000000010c040003 nw_endpoint_resolver_start_next_child + 2240
  11. 8 libdispatch.dylib 0x000000

 

二 问题解决

1. 到 Edit Scheme (快捷键 command + shift + <)

2.选择 Arguments 选项

3.添加变量 OS_ACTIVITY_MODE = disable

转载于:https://my.oschina.net/wolx/blog/756339

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号