为你的帮助干杯。我对 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)