Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-646] Iphone SDK: Problem with non-ASCII characters in Development Certificate

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-08-20T11:50:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelscore, tooling
Reportercybear
AssigneeNeeraj Gupta
Created2011-04-15T02:33:36.000+0000
Updated2017-03-09T23:27:21.000+0000

Description

I'm having essentially the same problem as Nils
http://support.appcelerator.net/discussions/titanium-mobile-discussion/656-problem-with-umlaut-special-german-character-in-development-certificate/"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...

My name has a character with umlaut (ö) which prevents prereq.py from doing what it should. Titanium only says "Loading..." in the SDK version select box.

The patch attached to the page, which changes json parser into simplejson, helps the python script to pass. I run it in console and get the expected output:

'{"wwdr": true,"ipad": false,"sdks": ["3.1","3.1.2","3.1.3"],"iphone_dev_name": ["Björn Söderqvist (XXXXXXXXXX)"],"iphone_dist_message": "Missing iPhone Distribution Certificate","wwdr_message": null,"itunes_message": null,"itunes": true,"iphone_dev_message": null,"iphone_dev": true,"iphone_dist": false,"itunes_version": "9.0.3"}'

Titanium app still reads the output wrong though.

It works if I copy-paste the console output of patched prereq.py like so:
(line 877 of packaging.js)

var d = '{"wwdr": true,"ipad": false,"sdks": ["3.1","3.1.2","3.1.3"],"iphone_dev_name": ["Björn Söderqvist (XXXXXXXXXX)"],"iphone_dist_message": "Missing iPhone Distribution Certificate","wwdr_message": null,"itunes_message": null,"itunes": true,"iphone_dev_message": null,"iphone_dev": true,"iphone_dist": false,"itunes_version": "9.0.3"}'

Let me know if I should mail my certificate to you.

Comments

  1. hal 2011-04-15

    Ralf, I hope you don't mind me assigning this to you but, as this ticket is quite old, I am not sure whether you are aware of it.

    I don't think it's affecting very many people, but someone has just mentioned it in the Q&A, http://developer.appcelerator.com/question/80841/cant-run-on-device-due-to-accent-in-developper-certificate"> here. If there is information that is required to resolve it, then it may be a good opportunity to request it from him.

  2. cybear 2011-04-15

    It is in deed affecting lots of people. Something like half the population of Scandinavia have names containing special characters. I would very much appreciate getting some attention to this ticket.

  3. MrMartin 2011-04-15

    I have a similar problem. See my ticket https://appcelerator.lighthouseapp.com/projects/32238/tickets/2434-titanium-does-not-detect-iphone-certificate-because-of-non-ascii-characters-in-name"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/2434-...

  4. Junaid Younus 2012-08-20

    No test case and link doesn't work, ticket marked as invalid.
  5. Neeraj Gupta 2012-08-20

    Please reopen this ticket if this issue reproduces with a recent SDK version.
  6. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source