-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native Build Failed react-native run-ios #21631
Comments
the same issue, We have tried in 3 different mac machine, All have the same issue |
Same here, with an existing project. it works in the machine of the 1st dev that started the project, but any team member which clones the repo gets this error. Tested in a Mac with High Sierra And also tested in a Mac with Sierra Also tried the instructions described in #20774 but it didn't work. output of the run-ios command
|
Seeing this on Mac: ** BUILD FAILED ** The following build commands failed: Installing build/Build/Products/Debug-iphonesimulator/linuplayer.app Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/linuplayer.app/Info.plist Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/linuplayer.app/Info.plist
|
It worked for me. |
The build crashes and the fix has nothing to do with the new build system If you run There is a duplicate of this issue here: #21741 |
Duplicate of #21741 |
The project cannot run in MAC. It can run in Windows on Android Studio.
Environment
React Native Environment Info:
System:
OS: OS X Yosemite 10.10.5
CPU: x64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Memory: 7.45 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: X 10.11, iOS 9.0, watchOS 2.0
IDEs:
Xcode: 7.0/7A220 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.1 => 0.57.1
npmGlobalPackages:
react-native-cli: 2.0.1
react-native: 0.23.1
Description
** BUILD FAILED **
The following commands produced analyzer issues:
(2 commands with analyzer issues)
The following build commands failed:
CompileC /Users/derek/reactNativeProjects/EBI/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTShadowView+Internal.o Views/RCTShadowView+Internal.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/EBI.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/EBI.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/EBI.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Reproducible Demo
react-native init EBI
cd EBI
react-native run-ios
The text was updated successfully, but these errors were encountered: