You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/hello_world.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
All Log
$ react-native init hello_world
This will walk you through creating a new React Native project in /Users/yusk/hello_world
Installing react-native...
Consider installing yarn to make this faster: https://yarnpkg.com
> fsevents@1.2.4 install /Users/yusk/hello_world/node_modules/fsevents
> node install
[fsevents] Success: "/Users/yusk/hello_world/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN react-native@0.56.0 requires a peer of react@16.4.1 but none is installed. You must install peer dependencies yourself.
+ react-native@0.56.0
added 766 packages from 362 contributors and audited 15204 packages in 59.981s
found 0 vulnerabilities
Setting up new React Native app in /Users/yusk/hello_world
Installing React...
+ react@16.4.1
added 1 package and audited 15228 packages in 9.722s
found 0 vulnerabilities
Installing Jest...
npm WARN deprecated istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump
+ babel-preset-react-native@5.0.2
+ react-test-renderer@16.4.1
+ babel-jest@23.4.2
+ jest@23.5.0
added 291 packages from 244 contributors, updated 1 package and audited 33333 packages in 28.288s
found 0 vulnerabilities
To run your app on iOS:
cd /Users/yusk/hello_world
react-native run-ios
- or -
Open ios/hello_world.xcodeproj in Xcode
Hit the Run button
To run your app on Android:
cd /Users/yusk/hello_world
Have an Android emulator running (quickest way to get started), or a device connected
react-native run-android
$ cd hello_world
$ react-native run-ios
Scanning folders forsymlinksin /Users/yusk/hello_world/node_modules (19ms)
Found Xcode project hello_world.xcodeproj
Launching iPhone 6 (iOS 11.4)...
Building using "xcodebuild -project hello_world.xcodeproj -configuration Debug -scheme hello_world -destination id=C0F60DD0-07DE-403F-92D4-86302D96CF00 -derivedDataPath build"
▸ Building React/yoga [Debug]
▸ Check Dependencies
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.h
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/yoga/yoga/YGMacros.h
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/yoga/yoga/YGEnums.h
▸ Compiling Yoga.cpp
▸ Compiling YGNode.cpp
▸ Compiling YGStyle.cpp
▸ Compiling YGFloatOptional.cpp
▸ Compiling YGEnums.cpp
▸ Compiling Utils.cpp
▸ Compiling YGLayout.cpp
▸ Compiling YGNodePrint.cpp
▸ Analyzing YGFloatOptional.cpp
▸ Analyzing Yoga.cpp
▸ Analyzing YGStyle.cpp
▸ Analyzing YGNode.cpp
▸ Analyzing YGEnums.cpp
▸ Analyzing Utils.cpp
▸ Analyzing YGLayout.cpp
▸ Analyzing YGNodePrint.cpp
▸ Building library libyoga.a
▸ Building React/jsinspector [Debug]
▸ Check Dependencies
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/jsinspector/InspectorInterfaces.h
▸ Compiling InspectorInterfaces.cpp
▸ Analyzing InspectorInterfaces.cpp
▸ Building library libjsinspector.a
▸ Building React/privatedata [Debug]
▸ Check Dependencies
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/privatedata/PrivateDataBase.h
▸ Compiling PrivateDataBase.cpp
▸ Analyzing PrivateDataBase.cpp
▸ Building library libprivatedata.a
▸ Building React/double-conversion [Debug]
▸ Check Dependencies
▸ Running script 'Install Third Party'** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Install\ Third\ Party /Users/yusk/hello_world/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/hello_world.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/hello_world.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
The text was updated successfully, but these errors were encountered:
Reiterating what Marc said in #14423 at the start of the year. This error plainly indicates the project failed to compile or link. You'll need to look further up in your output for a hint of the root cause. I've opened #21303 in order to help people who run into this issue, and will lock this thread to avoid causing more confusion.
Environment
Description
Error
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/hello_world.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist
All Log
The text was updated successfully, but these errors were encountered: