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

Print: Entry, ":CFBundleIdentifier", Does Not Exist #7786

Closed
stief510 opened this issue May 26, 2016 · 19 comments
Closed

Print: Entry, ":CFBundleIdentifier", Does Not Exist #7786

stief510 opened this issue May 26, 2016 · 19 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@stief510
Copy link

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)
@ms88privat
Copy link

have a look at this, maybe there is a solution for you
#7308

@stief510
Copy link
Author

@ms88privat Those solutions there haven't helped. I tried them

@rjain15
Copy link

rjain15 commented May 28, 2016

Worked after upgrading XCode to 7.3.1

@gvlamadrid
Copy link

Strange.
If your run
/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier ios/build/Build/Products/Debug-iphonesimulator/AwesomeProject.app/Info.plist

Print: Entry, ":CFBundleIdentifier", Does Not Exist

But if you run
/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier ios/build/Products/Debug-iphonesimulator/AwesomeProject.app/Info.plist
(one build on path)

org.reactjs.native.example.AwesomeProject

Is not exist /build/Build on my AwesomeProject IOS.
Any help?
Txs!

node v6.2.2
react-native-cli: 1.0.0
react-native: 0.29.0-rc.0
xcode 7.3.1
OSX 10.11.4

@gvlamadrid
Copy link

I fixed with #7308 (comment)

@nimzco
Copy link

nimzco commented Jul 15, 2016

I fixed it with #7308 (comment)

@mkonicek
Copy link
Contributor

Hi there! This issue is being closed because it has been inactive for a while.

But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/print-entry-cfbundleidentifier-does-not-exist

Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top

Also, if this issue is a bug, please consider sending a pull request with a fix.

@abuammar
Copy link

abuammar commented Nov 9, 2016

i tried all the above solutions nothing worked

The following build commands failed:
CompileC /Users/ws1/Library/Developer/Xcode/DerivedData/build/Build/Intermediates/WS1.com.build/Debug-iphonesimulator/WS1.comTests.build/Objects-normal/x86_64/WS1.comTests.o WS1.comTests/WS1.comTests.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/WS1.com.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/WS1.com.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

@darrenchiu
Copy link

+1 same error as @abuammar

@OscarGodson
Copy link

Yea same error. Ive upgraded everything I can think of from my OS to XCode. I'm not on the latest macOS and XCode. Same error as everyone else

@ghost
Copy link

ghost commented May 10, 2017

i tried all the above solutions nothing worked too, so sad

@florismettey
Copy link

I had the error:

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

I found the issue: do NOT use space in your project path!

@huynhquocthai
Copy link

huynhquocthai commented Jun 30, 2017

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

@ghost
Copy link

ghost commented Jul 1, 2017

@huynhquocthai thx😁

@aliv1
Copy link

aliv1 commented Jul 6, 2017

@huynhquocthai u da man! Thx!

@Gargam
Copy link

Gargam commented Jul 10, 2017

As @florismettey said, I was using a space in my product name.
To fix it without affecting the Display name (bellow the app):

Open your project and select your target.
Go to Build Settings, search "product name" and remove any space in it.

It should work after that.

@youmyyou
Copy link

youmyyou commented Aug 3, 2017

Just open your Xcode

@hramos
Copy link
Contributor

hramos commented Aug 4, 2017

Duplicate of #14423

@hramos hramos marked this as a duplicate of #14423 Aug 4, 2017
@amerdiglisic
Copy link

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.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests