* BUILD FAILED *
The following commands produced analyzer issues:
Analyze /Users/developer/AwesomeApp/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/developer/AwesomeApp/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)
The following build commands failed:
Ld build/Build/Products/Debug-iphonesimulator/AwesomeApp.app/AwesomeApp normal x86_64
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/AwesomeApp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AwesomeApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Thanks for posting this! It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out?
If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the No Template label. Thank you for your contributions.
+1
try to update to the latest version
0.55.3
it works for me 😄
Same issue for me:
Os: Mac Os High Sierra 10.13.1 (17B1003)
Node: 8.9.0
npm: v5.5.1
Watchman: 4.7.0
Xcode: Version 8.3 (8E162)
React Native: 0.55.3
create-react-native-app: 1.0.0
create-react-native-app appName
cd appName
npm run eject then select React Native: I'd like a regular React Native project
npm run ios
A successful build.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/ksquarelabs/dev/courses/yucatan/ios/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/yucatan.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/yucatan.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
+1
+1 Any solutions yet?
+1
Os: Mac Os El Capitan 10.11.6
Node: 8.11.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Version 8.2.1
React Native: 0.55.3
If you are still encountering the issue described here, please open a new issue and make sure to fill out the Issue Template when doing so.
I fixed this with updating my macOs and xcode.
I had this same problem... using:
Mac High Sierra
react-native-cli: 2.0.1
react-native: 0.57.3
Pulled my hair out, and could not find a solution.... Untill I went like this:
react-native init projectname
cd projectname
react-native start (this does the trick) let this run...then...
react-native run-ios (command in a second terminalwindow!)
It will take a while, don't do Ctrl-c, the project will build.
* BUILD SUCCEEDED *
:-)
npm uninstall react-native
delete ios and android folder
then run :
npm install react-native
react-native upgrade
Most helpful comment
Same issue for me:
Environment:
Steps to Reproduce
create-react-native-app appNamecd appNamenpm run ejectthen select React Native: I'd like a regular React Native projectnpm run iosExpected Behavior
A successful build.
Actual Behavior