-
Notifications
You must be signed in to change notification settings - Fork 106
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
Using UTF-8 characters crashes project generation #171
Comments
Good to know. This has to do with the normalization when we generate the default company identifier for the bundle identifier. I'm assuming you'd expect to have all non-ascii characters stripped here? |
No, I would like to keep them, as our official company name uses a midpoint. |
Have you been able to use that midpoint inside your current bundle identifiers? |
Sorry, you are correct, we do want to strip that from bundle indentifiers, but keep it for company names. |
👍 This normalization (which is the crash you're seeing) is only used for the bundle identifiers. Everything else is left as-is. |
@Legoless I'm actually not able to reproduce this locally. Can you give me more information about your setup? |
I am still able to reproduce this. As soon as I enter a midpoint (·) in "Company name" when calling "liftoff", the app crashes with the above error. If no midpoint is used, the app works correctly with the same setup. |
@Legoless I really need more information than this. I can't reproduce this at all. |
The problem is still here in 1.4.1:
In addition to this, it is set to Objective-C (objc). I believe the error is in the normalization function before you ask for company identifier, which displays a normalized one in addition to asking the user for it. Is there any more information you need?
|
@Legoless Can you please tell me what version of OS X you're running as well as the output of |
@Legoless Also, can you show what the output of this is?
Does the problem go away if you do:
then run |
I suspect that @Legoless has |
The version of Ruby I am running is (OS X Yosemite):
@gabebw That export does seem to fix the problem. Funny thing is that I do not even have these variables set (I'm using zsh). |
@gfontenot Thanks, will do! |
@Legoless Did you try the hot-fix? Can you confirm that if fixed this issue? |
Unless I hear otherwise, I'm going to assume that this is fixed by #182 |
Sorry for taking so long to get back to you. Issue appears to be fixed here, I figured you had closed this because of that. :) |
When using UTF-8 characters such as midpoint ·, liftoff crashes during project generation. For example I use our company name D·Labs when generating the project and it crashes with:
The text was updated successfully, but these errors were encountered: