Build Failded when npx react-native run-ios
Description
i run the command for create a new app with ReactNative:
i get the next error: UserName = name for user mac.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/{UserName}/Library/Developer/Xcode/DerivedData/AwesomeProject-cwmjccyvpdetjnhjomqixwqlnadb/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Objects-normal/x86_64/FBReactNativeSpec-generated.o /Users/{UserName}/Projects/Movil/AwesomeProject/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Version
0.70.5
Output of npx react-native info
info Fetching system and libraries information... System: OS: macOS 10.15.7 CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz Memory: 1.00 GB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 18.11.0 - /usr/local/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.19.2 - /usr/local/bin/npm Watchman: 2022.10.31.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /Users/{UserName}/.rvm/gems/ruby-2.7.5/bin/pod SDKs: iOS SDK: Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: Not Found IDEs: Android Studio: Chipmunk 2021.2.1 Chipmunk 2021.2.1 Xcode: 12.4/12D4e - /usr/bin/xcodebuild Languages: Java: 11.0.17 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.5 => 0.70.5 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
-
npx react-native init AwesomeProject -
npx react-native start -
npx react-native run-ios
Snack, code example, screenshot, or link to a repository
with a clean project this reproduce error.