Skip to content

Print: Entry, ":CFBundleIdentifier", Does Not Exist #14447

Closed
@thiagovictorino

Description

@thiagovictorino

I am trying to run a new react-native project but I have an error

My setup

  • xCode 8.3.3
  • Node v6.11.0
  • npm v3.10.10
  • react-native v0.45.1
** BUILD FAILED **


The following build commands failed:

	CompileC /Volumes/300GB/react-native/jlledm/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/MallocImpl.o /Volumes/300GB/react-native/jlledm/node_modules/react-native/third-party/folly-2016.09.26.00/folly/detail/MallocImpl.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/jlledm.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/jlledm.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

I tried everything that others similar issues say:

  • Change the File->Project Settings->Advanced->Custom changing to "build/Build/Products"
  • Upgrade and update everything
  • lsof -n -i4TCP:8081 to kill a process that was running
  • react-native upgrade
  • Delete node_modules/, clear the cache and install again
  • Doubleclick on the RCTWebSocket project in your navigator and remove the flags under build settings > custom compiler flags
  • Setting manually the Bundle Identifier
  • Run npm start -- --reset-cache
  • rm -rf ios/build and run-ios again...

If I try to compile in xcode, I had this problem

screen shot 2017-06-10 at 15 11 16

And I just run the react-native init projectName and react-native run-ios the get this error

Have anyone a modern (2017) solution for this problem?

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