-
Notifications
You must be signed in to change notification settings - Fork 24k
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
Changing the bundle ID breaks the upgrader #11543
Comments
Got the same issue to upgrading from 0.39.2 to 0.40.0 |
@g3r4n were you able to fix the issue? |
Unrelated to changing bundleID, i get this when upgrading to 0.40 |
@vinceprofeta I have delete the android and iOS folder. I run |
@g3r4n 'not using react-native-git-upgrade' is not a fix. You would lose all manual changes in these folders, the kind of changes that react-native-git-upgrade should help with merging. And yes, I get the same |
I'm getting the same from 0.37.0, any help to get around this one anyone? |
I understand people have priorities but the fact that no one involved with the project has replied makes me sad. I thought the bundle ID had something to do with it because it was creating files in the wrong directory and stuff, but apparently it doesn't work at all for some people. There's a lot about this feature that is ... weird. I don't really understand all what's going on with all the tricky git stuff and I don't have time to look into it. I think it's a cool idea but needs a lot of polishing to get it to work. I gave up and upgraded manually. |
I got the same problem, this worked for me: Edit
to
I figured this out by manually trying to git apply the patch-file in the folder printed at the end of |
I correct the issue by upgrading the tools and RN |
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue #11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes #12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
@richardkazuomiller, @vinceprofeta @srhise, @matthiasdebaere, @alnorris Are you still able to reproduce this error using the recent version 0.2.6 of react-native-git-upgrade ? |
@ncuillery While I am not one of the previous posters you listed I came here b/c I was experiencing the reported issue with version 0.2.5 of react-native-git-upgrade
and was seeking a solution. I have now upgraded to react-native-git-upgrade 0.2.6 and I am still experiencing the same issue. |
Getting the same error:
|
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
I'm also experiencing this issue with |
I found what was the issue for me. I had updated and installed the new react package I was looking for. I started again from scratch (just making sure that I was using |
Summary: If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`. I think this is the cause of issue facebook#11543 Reproduce in git with: ``` mkdir git-test cd git-test/ git init echo "foo" > bar.txt git add bar.txt git commit -m "First" echo "foomobile" > bar.txt git add bar.txt git diff HEAD > new.patch --color=always git reset --hard HEAD git apply new.patch --check ``` Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully. Closes facebook#12211 Differential Revision: D4514132 fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8
I run 0.2.7 and got the same error:
|
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
Still having this issue (or I'm not sure actually if there is error - as I've got error, but at the same time it says it was successful)
|
I advise opening a new issue, since this one was closed due to lack of a template + inactivity. |
I've changed the bundle ID of my app to the usual
com.something.somethingelse
format but because of thatreact-native-git-upgrade
fails. It writes a bunch of files to paths defined using thename
inpackage.json
, fails, then resets all the changes.Is there any way to tell the upgrader what the bundle ID of the apps is supposed to be?
Another problem is that the thing that is supposed to show what part of the upgrade process is broken is apparently broken.
^^^ Unfortunately, there is no
list of files
which I'm guessing has something to do with the fatal unrecognized input.The text was updated successfully, but these errors were encountered: