Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cfbundleidentifier", does not exist -after updating Xcode 10 . #21255

Closed
3 tasks
dasDeepankar opened this issue Sep 21, 2018 · 9 comments
Closed
3 tasks

cfbundleidentifier", does not exist -after updating Xcode 10 . #21255

dasDeepankar opened this issue Sep 21, 2018 · 9 comments
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.

Comments

@dasDeepankar
Copy link

dasDeepankar commented Sep 21, 2018

Environment

OS: macOS High Sierra 10.13.6
Node: 8.12.0
Yarn: 1.9.4
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

Description

I'm having an issue for 3 days "cfbundleidentifier", does not exist.
I have tried solutions from StackOverflow Like
removing the node_modules and npm install,
reinstall Xcode and update xcode command tool,
clean the cache also from yarn and npm,
But still no luck. please help me out, guys.
** BUILD FAILED **

The following build commands failed:
CompileC /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/React/build/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/strtod.o /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/React/build/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fixed-dtoa.o /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/third-party/double-conversion-1.1.5/src/fixed-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/React/build/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fast-dtoa.o /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/third-party/double-conversion-1.1.5/src/fast-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)

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

Reproducible Demo

Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.

The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@react-native-bot react-native-bot added the Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. label Sep 21, 2018
@hramos
Copy link
Contributor

hramos commented Sep 21, 2018

This typically indicates the packager failed to start. You're using an older version of RN, however, so I advise you update to 0.57 and let us know if that is still an issue.

@dasDeepankar
Copy link
Author

I'm new to RN .can you tell me how to update react-native. I have tried react-native-update .

@dasDeepankar
Copy link
Author

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 391.29 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
Build Tools: 23.0.1, 23.0.2, 25.0.0, 25.0.2, 26.0.1, 26.0.2, 26.0.3, 27.0.3
API Levels: 23, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4720617
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.3.1 => 16.5.0
react-native: 0.55.4 => 0.57.1
npmGlobalPackages:
create-react-native-app: 1.0.0
create-react-native: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

@dasDeepankar
Copy link
Author

I can still reproduce =>
Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Artisan.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

@hramos
Copy link
Contributor

hramos commented Sep 21, 2018

Support for Xcode 10 is not fully implemented. See #19573 for more details.

Duplicate of #19573

@hramos hramos closed this as completed Sep 21, 2018
@ghost
Copy link

ghost commented Sep 21, 2018

i had this issue and tried a number of things before I realized i had an iphone connected to my laptop (for charging purposes) and the environment was trying to build for the iphone instead of the emulator and I wasn't setup for this. disconnecting the iphone and running react-native run-ios again worked!

@andy14312
Copy link

@dasDeepankar hey deepankar, i've been facing the same issue since last few hours. Could you solve this in any way? though i see @hramos said that the support for XCode 10 is not fully implemented.

@tejachundru
Copy link

@andy14312
FYI, you can find more details regarding this issue in
#21168

@facebook facebook locked as resolved and limited conversation to collaborators Sep 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.
Projects
None yet
Development

No branches or pull requests

5 participants