react-native: ":CFBundleIdentifier", Does Not Exist
We use GitHub Issues for bugs.
If you have a non-bug question, ask on Stack Overflow: http://stackoverflow.com/questions/tagged/react-native
If you have a feature request, post it on Product Pains: https://productpains.com/product/react-native/
— Please use this template, and delete everything above this line before submitting your issue —
Description
react-native run-ios then:
Installing build/Build/Products/Debug-iphonesimulator/pizza.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/pizza.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Additional Information
Version: react-native 0.42.0 trouble in iOS, android works fine OS: MacOS 10.12.3
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 10
- Comments: 29 (5 by maintainers)
Experiencing the same issue on 0.42.0
I was looking around for any solution and found this thread. Maybe https://github.com/facebook/react-native/issues/7308#issuecomment-219597774 can help you solving this issue.
I propose to keep all discussions about
:CFBundleIdentifier
errors in one thread. Therefore, closing this issue in favor of https://github.com/facebook/react-native/issues/7308DO NOT use space in project path. It had solved my problem.
What do you have in “Bundle Identifier” here and here?
I have got the same problem, and solved this problem by checking the console log and found this issue may be raised by another issue. the log has some errors: there is something wrong with the third-party:boost_1_63_0, and reports file not found, according this https://github.com/facebook/react-native/issues/14404,I finally solved this problem by replace the boost_1_63_0 with the one I downloaded
in my case I got this error from having the xcworkspace file saved in the folder
ios
and it stopped from using commandreact-native run-ios
. I have this xcworkspace because it is required to have that from using fastlane to run another CI.RN 0.42.3 XCode 8.2 Once I removed the workspace file and everything run as normal. Please fix that
@mrbone xcode version 8.2.1
@alekseylovchikov same issue, check your xcode version, if it’s 7.2.1, you should update to xcode8. For me it works.