Skip to content

Error: "Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/hello_world.app/Info.plist" #20933

@yusk

Description

@yusk

Environment

$ react-native info

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
      Memory: 20.59 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 9.11.2 - ~/.nodenv/versions/9.11.2/bin/node
      npm: 6.3.0 - ~/.nodenv/versions/9.11.2/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 26.0.0, 26.0.3, 27.0.3, 28.0.2
        API Levels: 23, 26, 28
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.1 => 16.4.1 
      react-native: 0.56.0 => 0.56.0 
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

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

$ 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

> [email protected] 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 [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.

+ [email protected]
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...
+ [email protected]
added 1 package and audited 15228 packages in 9.722s
found 0 vulnerabilities

Installing Jest...
npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
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 for symlinks in /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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions