You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CFBundleIdentifier Does Not Exist from react-native run-ios #7
I think as per our discussion on Facebook this is POSSIBLY because you just did npm install without using the link command? So your xcode wasn't really configured properly?
I've just done a npm install, react-native link and cd ios && pod install and still getting this error. But it looks like something to do with an unspecified bundle ID in XCode. Will post updates..
I haven't checked the master branch but v3 is just around the corner so make sure you're on feature/v3, and use yarn instead of npm install. I don't know what exactly is causing this error but using the locked down versions fixes it. You may want to remove node_modules to avoid errors, or just start from scratch:
git clone git@github.com:fullstackreact/FirestackApp.git
cd FirestackApp
git checkout feature/v3
yarn
react-native link
cd ios
pod install
cd ..
react-native run-ios
On Tue, Jan 31, 2017 at 2:35 PM, Michał Ordon ***@***.***> wrote:
I haven't checked the master branch but v3 is just around the corner so
make sure you're on feature/v3, and use yarn
<https://yarnpkg.com/en/docs/install> instead of npm install. I don't
know what exactly is causing this error but using the locked down versions
fixes it. You may want to remove node_modules to avoid errors, or just
start from scratch:
git clone ***@***.***:fullstackreact/FirestackApp.git
cd FirestackApp
git checkout feature/v3
yarn
react-native link
cd ios
pod install
cd ..
react-native run-ios
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABmBE8-5e6KGA7n_Rv6wCzoV5uB3GDefks5rX7cpgaJpZM4LT7nD>
.
@designorant the yarn command just hangs at fetching packages. although npm install works but the error exists: Print: Entry, ":CFBundleIdentifier", Does Not Exist
I had to edit my Podfile after the link step and before pod install. The below works for me. :)
ios aj$ cat Podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'FirestackApp' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for FirestackApp
target 'FirestackAppTests' do
inherit! :search_paths
# Pods for testing
end
end
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
[
'Firebase',
'Firebase/Core',
'Firebase/Auth',
'Firebase/Storage',
'Firebase/Database',
'Firebase/RemoteConfig',
'Firebase/Messaging'
].each do |lib|
pod lib
end
pod 'DCTAuth', :git => 'https://github.com/danielctull/DCTAuth.git'
Same for me with ajostergaard's updated Podfile (above)
...
Installing build/Build/Products/Debug-iphonesimulator/FirestackApp.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/FirestackApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Using with ajostergaard's updated Podfile (above) (I'm not sure if it helped?)
I got it to compile by ...
cd to the FirestackApp directory
npm install react-native-git-upgrade
npm install -g react-native-cli
npm install
react-native upgrade
react-native run-ios
This resolved the problem described in this issue.
Sadly...
The app came up in the simulator for a second and displayed "Native module cannot be null"
Activity
SamMatthewsIsACommonName commentedon Dec 23, 2016
I think as per our discussion on Facebook this is POSSIBLY because you just did npm install without using the link command? So your xcode wasn't really configured properly?
tam-borine commentedon Dec 24, 2016
I've just done a
npm install,react-native linkandcd ios && pod installand still getting this error. But it looks like something to do with an unspecified bundle ID in XCode. Will post updates..tam-borine commentedon Dec 24, 2016
The bundle ID in a working project of mine above.

The bundle ID of FirestackApp above.
These screenshots are of Info.plist files in XCode.
inkloop commentedon Jan 6, 2017
@tam-borine Hello, Tam! Did you find which problem it was? Thank you!
annelorraineuy commentedon Jan 16, 2017
I am getting this problem as well. How did you solve it?
henrycity commentedon Jan 24, 2017
I also have the same problem here. Has anyone solved it?
screengroove commentedon Jan 26, 2017
Running into the same problem..would love to see a solution!
designorant commentedon Jan 31, 2017
I haven't checked the
masterbranch but v3 is just around the corner so make sure you're onfeature/v3, and useyarninstead ofnpm install. I don't know what exactly is causing this error but using the locked down versions fixes it. You may want to removenode_modulesto avoid errors, or just start from scratch:screengroove commentedon Jan 31, 2017
jasan-s commentedon Mar 12, 2017
@designorant the yarn command just hangs at fetching packages. although npm install works but the error exists:
Print: Entry, ":CFBundleIdentifier", Does Not Existajostergaard commentedon Mar 20, 2017
Same issue, is it possible MacOS 10.12 or perhaps some related Xcode version/library is required?
MacOS 10.11
ajostergaard commentedon Mar 21, 2017
I had to edit my Podfile after the link step and before pod install. The below works for me. :)
SailingSteve commentedon Sep 20, 2017
Same for me with ajostergaard's updated Podfile (above)
...
SailingSteve commentedon Sep 21, 2017
See the same error in the react-native repository at
react/react-native#7308
Using with ajostergaard's updated Podfile (above) (I'm not sure if it helped?)
I got it to compile by ...
cd to the FirestackApp directory
npm install react-native-git-upgrade
npm install -g react-native-cli
npm install
react-native upgrade
react-native run-ios
This resolved the problem described in this issue.
Sadly...
The app came up in the simulator for a second and displayed "Native module cannot be null"
See the same error in
zo0r/react-native-push-notification#160