react-native: Print: Entry, ":CFBundleIdentifier", Does Not Exist
I am running react-native run-ios
and this is the error I am getting. Doing sudo
beforehand does not fix the problem. Same with setting the permissions on the folder.
=== BUILD TARGET mobileTests OF PROJECT mobile WITH CONFIGURATION Release ===
Check dependencies
** BUILD SUCCEEDED **
Installing build/Build/Products/Debug-iphonesimulator/mobile.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
/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/done.js:10
throw err;
^
Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/mobile.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
at checkExecSyncError (child_process.js:470:13)
at Object.execFileSync (child_process.js:490:13)
at _runIOS (runIOS.js:91:34)
at runIOS.js:24:5
at tryCallTwo (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:45:5)
at doResolve (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:200:13)
at new Promise (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:66:3)
at Array.runIOS (runIOS.js:23:10)
at Object.run (/Users/astiefel/workspace/bosspayments/mobile/node_modules/react-native/local-cli/cli.js:86:13)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:88:7)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 2
- Comments: 19 (2 by maintainers)
i tried all the above solutions nothing worked too, so sad
Xcode 8.2 still occur same error. Three lines bellow fixed it for me 😃 Downgrade react(16.0.0-alpha.12 -> 16.0.0-alpha.6) & react-native(0.45.0 -> 0.44.0) rm -rf node_modules/react npm i react@16.0.0-alpha.6 -S npm i react-native@0.44.0 -S Then run react-native run-ios
Worked after upgrading XCode to 7.3.1
have a look at this, maybe there is a solution for you https://github.com/facebook/react-native/issues/7308
@ms88privat Those solutions there haven’t helped. I tried them
I had the error:
I found the issue: do NOT use space in your project path!
After I have spent a whole day trying to follow every possible suggestion, I took a detailed look on my terminal finally ! 😃
So here is what was my problem:
Above :CFBundleIdentifier", Does Not Exist error i had another one that stated that lRCTBEEPickerManager module was not able to install, so I open my Xcode project => Build phases= > Link Binary with Libraries
I removed the stated module (lRCTBEEPickerManager) and error was gone.
Hope this will help someone.
I fixed with https://github.com/facebook/react-native/issues/7308#issuecomment-228638046