最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ios - nw_connection_copy_connected_local_endpoint_block_invoke [C35] Connection has no local endpoint - Stack Overflow

programmeradmin0浏览0评论

I have an app which makes some requests in the background when launching it and navigating through the views. There are many endpoints requested.

I get this warning message many times printed in the Xcode Console:

What is the reason for these warnings? How can I debug this?

I have an app which makes some requests in the background when launching it and navigating through the views. There are many endpoints requested.

I get this warning message many times printed in the Xcode Console:

What is the reason for these warnings? How can I debug this?

Share Improve this question asked Nov 19, 2024 at 15:26 es1es1 1,5763 gold badges18 silver badges32 bronze badges 4
  • I've had the same problem for a few months. As I'm sure someone will say: it is just a warning so it probably isn't negatively impacting app performance. But it overwhelms my logs and now I miss important log messages. I spent a day commenting out major parts of my code and couldn't find the source. So I agree that even debugging strategies would be welcome. – pwb2103 Commented Nov 25, 2024 at 7:37
  • I have the same issue. Have you found any answers? – Ori C. Commented Jan 9 at 11:18
  • Unfortunately not – es1 Commented Jan 20 at 14:06
  • Did you find the root cause? or even better, a solution to this? At this point I would probably just be happy hiding it for now (and only this). – inigo333 Commented Feb 28 at 10:49
Add a comment  | 

1 Answer 1

Reset to default -3

On searching found this link - https://github/facebook/react-native/issues/10027.

  1. Open Xcode.
  2. Select Edit Scheme.
  3. Add the following under Environment Variables:
Name: OS_ACTIVITY_MODE
Value: disable
  4. Run your app again
发布评论

评论列表(0)

  1. 暂无评论