Flipper:桌面未能提供证书。 Flipper桌面的错误
当我尝试从Xcode运行iOS应用时,获取脚钳错误日志。
flipper: Desktop failed to provide certificates. Error from flipper desktop:
rsocket::StreamInterruptedException: connection error
应用程序正常工作,找不到问题。但是该日志每1秒钟一次。
有什么方法可以解决此问题?
Getting a flipper error log while i am trying to run ios app from xcode.
flipper: Desktop failed to provide certificates. Error from flipper desktop:
rsocket::StreamInterruptedException: connection error
App is working smoothly, no issues found. But this log is coming in every 1 second.
Is there any way to fix this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
开放fllipper>设置>启用物理iOS设备
Open Flipper > Settings > Enable physical iOS devices
TL:DR;
idb_companion
是为新的Swift Enviroments构建的,但我仍在使用Big Sur。升级MACOS后,Flipper设法连接到我的iOS设备罚款。当然,我在下面解释说,我从源构建
IDB
,以匹配版本1.1.8
gode> idb_companion 和idb
代码>。下面我还解释了如何发现崩溃的错误
IDB_COMPANION
防止Flipper保持稳定的连接并重新启动多次产生消息:[conn] ...在20秒内重新启动4次
。我学到的内容:
我能够安装
使用自制。但是我无法为CLI(又称IDB(又称FB-IDB))安装相同的版本
1.1.8
。因此,我决定从GitHub存储库中构建
IDB
。构建的命令行首先是我在与
grpclib
版本有关的错误中挣扎的。显然,IDB
需要版本0.4.1
,但我安装了0.4.3
。要降级grpclib
我使用了以下命令:我还试图确保在其他Python版本中安装了其他
grpclib
,所以我跑了一堆以查看哪个版本我有python,无论如何我都跑了很多
...
由于我是在随机构建
IDB
使用那些不同的Python版本的情况下,有或没有sudo
,我还遇到了以下错误,仅通过添加sudo就修复了以下错误
再次到构建
命令。无论如何...
基本上修复了
grpclib
要求,pip3.9 install。版本1.1.8)。
当然,我不得不去Flipper>>设置并更新IDB路径。一切似乎都很好。
不幸的是,这还不够,Flipper继续尝试连接到我的iPhone设备而没有成功。然后,我复制了
iDB
命令flipper试图运行:我很幸运能在另一个选项卡上运行
idb_companion
时运行上面的命令。我用来手动启动idb_companion
的命令是:我很幸运,因为我注意到
idb_companion
当我尝试运行IDB
(客户)命令上方我从flipper复制了。我再次重新启动idb_companion
,并尝试再次运行idb
(client)命令。然后,我意识到IDB_COMPANION
正在带有错误消息崩溃:这表明还有其他事情正在发生。似乎
idb_companion
是为与我的迅速环境建立的。我在Google上寻找此错误,并意识到我的Xcode已经过时了。实际上,我仍在使用Big Sur
。现在,我将Macos升级到蒙特利,Flipper设法将我的iOS设备连接起来。而且我什至还没有升级Xcode。
TL: DR;
idb_companion
was built for newer Swift enviroments, but I was still using Big Sur. After upgrading my MacOS, Flipper managed to connect to my iOS device fine.Of course I explain below that I build
idb
from the source to match the version1.1.8
for bothidb_companion
andidb
.Below I also explain how I found the error that was crashing
idb_companion
preventing Flipper from maintaining a stable connection and restarting several times yielding the message:[conn] ... restarted 4 times in 20 seconds
.What I learned:
I was able to install
[email protected]
using Homebrew. But I was not able to install the same version1.1.8
for the cli (aka idb (aka fb-idb)).So I decided to build the
idb
from the github repo. The command line for building it wasFirst I struggled with an error related to
grpclib
version. Apparentlyidb
required the version0.4.1
but I had0.4.3
installed. To downgradegrpclib
I used the following command:I also tried to make sure there was no other
grpclib
installed in other python version, so I ran a bunch ofTo see which version of python I had, I ran a bunch of
Anyways...
As I was randomly trying to build
idb
with those different python versions, with and withoutsudo
, I also faced the following error, which was fixed just by addingsudo
again to thebuild
command.Anyways...
Basically after fixing the
grpclib
requirement,pip3.9 install .
inside the source folder was enough for buildingidb
(client, on version 1.1.8).Of course I had to go to Flipper >> Settings and update the idb path. All seemed good.
Unfortunately that was not enough, Flipper kept on trying to connect to my iPhone device with no success. Then I copied the
idb
command Flipper was trying to run:I was lucky to run the command above while I was also running
idb_companion
on another tab. The command I used to manually startidb_companion
was:I was lucky because I noticed the
idb_companion
tab stopped running when I tried to run theidb
(client) command above I copied from Flipper. I restartedidb_companion
again and tried to run theidb
(client) command again. Then I realizedidb_companion
was crashing with an error message:That indicated there was something else going on. It seemed
idb_companion
was built for a Swift environment different to mine. I looked for this error on Google and realized my XCode was outdated. In fact I was still usingBig Sur
.Now I upgraded my MacOS to Montrey, Flipper manages to connect to my iOS device fine. And I haven't even upgraded my XCode yet.
与Podfile(React Native 0.72.4)一起,您需要使用
React-nativativatient,则需要将
设置为。 config.js 文件:React-Native-nive-nive-nive-nive-nive-nive-nive-nive-nive-nive-flipper
因此,我更新了
react> react-native.config.js
这样:现在最终使用iPad
According with Podfile (React Native 0.72.4), you need to exclude
react-native-flipper
ifNO_FLIPPER=1
is set, using areact-native.config.js
file:so I updated my
react-native.config.js
like this:Now finally it works as expected with iPad
我遇到了同样的问题,终于找到了一种解决这个问题的方法。
我认为,当您尝试使用真实iOS设备调试应用程序时,您会遇到此错误。
这些是我采取的步骤。
I had the same issue and I finally found a way to resolve this.
I assume you're getting this error when you try to debug your app with a real iOS device.
These are the steps I took.
只是将所有内容分组在一起,因为我在这个问题上很难...
brew install python3
。然后尝试重复步骤4。Just grouping everything together, because I had a hard time with this issue...
brew install python3
. Then try to repeat step 4.