小编The*_*121的帖子

Detox - 努力在基本的 iOS RN 应用程序上“构建二进制文件的 Detox 版本并运行测试”

为你的帮助干杯。我对 Detox、React Native、Mac、Xcode 非常陌生,并且在 StackOverflow 上发帖(新工作),如果我遗漏了详细信息,我深表歉意。

我正在遵循以下指南:https: //reactnative.dev

我跑了

npx 反应本机 init MyTestApp

并拥有一个可用的 iOS 应用程序,这样我就可以启动捆绑器并与演示应用程序进行交互。我大致了解发生了什么事。

然后我开始按照此处的指南进行操作:

https://reactnativetesting.io/e2e/setup.html#installing-detox

我进入以下部分:

$ 排毒构建 -c ios

$ 排毒测试 -c ios

在我的一生中,我无法让 detox build -c ios 命令工作,输出如下:

clang: error: linker command failed with exit code 1 (use -v to see invocation)

warning: no rule to process file '/*****/*********/*****************/JamesReactNativeTest/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '/*****/*********/*****************/JamesReactNativeTest/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in …
Run Code Online (Sandbox Code Playgroud)

javascript react-native detox

2
推荐指数
1
解决办法
1312
查看次数

标签 统计

detox ×1

javascript ×1

react-native ×1