-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Latest react-native app doesn't work ":CFBundleIdentifier", Does Not Exist #7308
Comments
I saw you posted on StackOverflow as well - any luck so far? I am playing around with |
I tried deleting all my node modules, clear cache etc and sudo as well with no luck. I do have CFBundleIdentifier in the Info.plist as:
|
@grabbou Are you trying it with Node 6? I haven't been able to reproduce it, but I've only tried so far with Node 4 & 5, haven't installed 6 yet. Perhaps it's an issue there? |
@dsibiski I had node 5.9 before and I had the same issue, I uninstalled node/npm and deleted every node module and reinstalled (that's when I got node 6 on my machine) but I still am stuck with the above exception. |
I also encountered a similar error. On OS X El Capitan v10.11.4 node --version v6.0.0 $ react-native init AwesomeProject ** BUILD SUCCEEDED ** The following commands produced analyzer issues:
In my case, BUILD seems to succeed. However, the process terminates with the error message above. |
I got the same problem on one of my projects... You could kind work around with only XCode builds. I think it appeared after changing the name of the project. |
I was able to solve this issue! Looks like port 8081 was in use :
So I followed the instructions from React Native Troubleshooting https://facebook.github.io/react-native/docs/troubleshooting.html
and ran the command react-native run-ios again and everything worked as expected (on node 6 as well). Closing this issue & thanks for your help! |
@arun0009 Awesome, thanks for posting the answer back here 👍 |
@shinout Hello, I have the same problem, you solve? |
Not yet... I finally bought a new mac and solved. |
I solved this issue with the |
This isn't working for me. I'm still getting the same error. Node 5.11 |
Still getting the error too. Killing process on port 8081 did not work. Tested with a new project setup by running Typing the following doesn't give the issue but a "No devices are booted"..
Had another react packager running on 8081. Killing that process made it to work. |
Running it with sudo does not solve it for me. |
The suggest solution by @consideRatio fixed this problem for me.
|
Worked after upgrading XCode to 7.3.1 |
Nothing posted here works for me unfortunately :( |
In my case my ProductName got corrupted. I had to change my project name, scheme name for my project and Product Name so they are all the same, and after that I started seeing the errors mentioned above.
worked w/out any problems. |
If you have some other applications are always occupying port 8081 no matter how many times you have killed the process, try changing the port: It solves my problem. |
I still get the same
Any other ideas? Interestingly enough, everything works if I open the |
What ended up working for me was that I needed to open up in XCode and change the scheme from building for a Release to Debug. Don't know if that will work for anyone else but it is definitely something to check out. After changing it once, you can then run it |
@joshschumacher upgrade worked. |
When nothing fixes, try on Xcode
|
@stief510 That worked for me! Thanks! |
This works to me:
Just remove the build folder and build the project again. Then, it works fine. |
Downgrading from react-native v0.55 to v0.54 worked for me |
I had to downgrade allllll the way to v0.52.0. The only version that works for me |
react-native v0.55.0 has a problem with this actually. Wait until the fix. #18681 |
I tried everything above but nothing worked.My xcode version was 8.3.2.So when I downgraded react-native to react-native v0.50.4 from 0.55.0, it worked.On another laptop I tried where xcode version was 9.3 and react-native v0.55.0 worked perfectly there. |
same. last version of react-native failed to build (0.55.2, 0.55 , 0.54 ) react-native init MyApp --version "0.53.0" |
react native need specific the RN version: xcode version require, node version or something |
i have migrated my macbook from captain to sierra. |
Adding, it works for me, when nothing above fixes:
It finally works here.
|
Solved my problem! |
still issue with CfBundleIdentifier Print: Entry, ":CFBundleIdentifier", Does Not Exist npm ERR! code ELIFECYCLE |
I had this problem in my VSC console and I did: I hope it helps somebody :) |
Switch from React Native to Swift xD |
just follow this link 👍 https://stackoverflow.com/questions/37461703/print-entry-cfbundleidentifier-does-not-exist delete your ios/build folder and open Xcode and change build path after this, build again. I hope help someone and avoid spend 2 hour trying to solve this |
Running |
What worked for me was going into my React-Native project directory (main directory) and deleting the |
Running |
Updating react using react-native upgrade worked for me |
It because of the react version. If you upgrade react too, then it will work without problem. |
I fixed this by editing this reverts the fix in #18700 here's my setup:
|
Just to follow this one up, after discussing with the author of the fix in #18700, you need to make sure that the build location in Xcode preferences is set to "unique" (I had it set to something else, which broke things for me): You then must set the build location in project settings to "Xcode default": That fixed it for me, with the environment shown in the previous comment (React-Native 0.55.3, Xcode 9.3). No other jiggery-pokery was required; no deleting directories or running upgrade commands or anything else. Hope this helps somebody else. |
Created a NEW project.
Still fails with the same error. Tried everything! I never want to give up, but, this is so funny! Everyone comments
|
None of the above fixed it for me. I had to do the following:
|
I have the same problem. The app does not work after execute
|
So, I have the same problem and It works by issuing the command below: cd ./ios/build then, I symlink the folders: and last react-native run-ios to work again |
I had the same issue, in my case the length of |
Does anyone know the cause? I get this when I try to run the app in a custom directory e.g. |
On OS X El Capitan v10.11.4
node --version v6.0.0
npm --v 3.8.8
react-native-cli: 0.2.0
react-native: 0.24.1
watchman --v 4.4.0
xcode 7.3
$ react-native init AwesomeProject
$ cd AwesomeProject
$ react-native run-ios
The text was updated successfully, but these errors were encountered: