我正在使用 React Native (0.73.2),并且该应用程序针对 Android 构建没有问题。我现在正处于尝试为 ios 测试和构建的阶段,但是构建失败,这是我拥有的唯一信息:
The following build commands failed:
CompileC /Users/user257599/Library/Developer/Xcode/DerivedData/###-cagfttfeertkgidamqciuaveliuz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FlipperKit.build/Objects-normal/arm64/FlipperPlatformWebSocket.o /Users/user257599/Documents/###/###/ios/Pods/FlipperKit/iOS/FlipperKit/FlipperPlatformWebSocket.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'FlipperKit' from project 'Pods')
(1 failure)
我真的不知道从这里该去哪里。我尝试过运行
pod update
但没有成功
您可以像这样简单地评论
:flipper_configuration => flipper_config
use_react_native!(
:path => config[:reactNativePath],
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
# :flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
之后在ios文件夹中运行
pod update
。