Thank you for your reply. We use xcode to modify scheme Run from Debug to Release, run the App, and it works fine. Run release directly in xcode, and it works fine. But xcode archive, then export adhoc ipa, install and run this ipa, and an error is reported, and the local network cannot be connected.
Both are in the system settings, and the local network switch of the App is turned on. I checked No route to host, and the error code is 65. The network configuration is the same, and it is definitely not a problem with the network connection Wi-Fi. Later, I will make a demo and put it on github, and give a link. I'm a little sorry that the source code cannot be disclosed.
You can contact me directly, by phone or email. Thank you for your reply again.
#define EHOSTUNREACH 65 /* No route to host */
[2025-05-26 14:16:45.457] [debug] [q_hdd]: 2025-05-26 06:16:45.456 [error] [Bifrost] [6140817408] dcc8e1bb NetConfig.cpp:471 Poco::Exception exception: Net Exception: No route to host: 172.25.11.120:443. [1620449] [11476] [AppDelegate.swift:340] [onPrintLog(_:logMessage:)]
===
谢谢你的回复。我们使用xcode 修改 scheme Run ,由之前的Debug,修改为 Release,运行App,表现正常。 在xcode 中直接run release, 表现正常了。 但是xcode archive,然后export adhoc ipa,安装运行这个ipa,就报错了,无法连接本地网络。
两者都在系统设置中,打开了App的本地网络开关。我查了一下No route to host,错误码为65。 网络配置都是一样的,绝不是网络连接Wi-Fi问题。 稍后,我制作一个demo 放在github上,给出链接。稍稍抱歉,源码不太能透露。
你们可以直接联系我,电话或者邮箱。 谢谢你的再次回复。
#define EHOSTUNREACH 65 /* No route to host */
[2025-05-26 14:16:45.457] [debug] [q_hdd]: 2025-05-26 06:16:45.456 [error] [Bifrost] [6140817408] dcc8e1bb NetConfig.cpp:471 Poco::Exception exception: Net Exception: No route to host: 172.25.11.120:443. [1620449] [11476] [AppDelegate.swift:340] [onPrintLog(_:logMessage:)]
Topic:
App & System Services
SubTopic:
Networking
Tags: