Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print: Entry, ":CFBundleIdentifier", Does Not Exist.... I have tried everything

Tags:

react-native

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

I have tried everything. Something to keep in mind is I was even able to make it work in xcode. React-native upgrade, npm install, and killing the port all did not work. Please help.

like image 772
Christian Lessard Avatar asked Mar 25 '18 21:03

Christian Lessard


2 Answers

This is may occurs if you are missing config.h file,

For update config.h file,

1) Close your Xcode.

2) Open Terminal, go to your project's root folder and do:

cd node_modules/react-native/third-party/glog-0.3.4/

3) Run the configure script:

./configure

4) Open Xcode and try to run your app.

like image 73
Lijith Vipin Avatar answered Nov 09 '22 18:11

Lijith Vipin


Your are missing some library files in react. So need to add manually in your iOS project.

open xcode project

Go to .xcodeproj :-

  1. Download files from https://github.com/mmmcompanies/ReactNativeMissingFiles
  2. Go to folder iOS -> open .xcodeproj
  3. Go to folder Libraries -> React.xcodeproj -> ThirdParty folder -> glog

  4. update files and run again.

    you can see missing file config.h and files in glog folder 
    
    add missing files show in finder and add these files from 
    

    https://github.com/mmmcompanies/ReactNativeMissingFiles

like image 2
Madan Kumawat Avatar answered Nov 09 '22 18:11

Madan Kumawat