English 中文(简体)
iPhone SDK "loading" on Titanium Developer
原标题:

I have tried this question on the site of Titanium and several tweets to their account, but they either ignore me or refuse to answer.

I want to start using their framework, but for some reason the iPhone SDK is always "loading" when in the "TEST & PACKAGE" tab.

Have you guys found a fix for this? I have:

  • Snow Leopard 10.6.3
  • Titanium Developer 1.2.1
  • iPhone SDK 3.2
  • All the certificates "blah blah" from Apple because I am able to test and deploy apps on my device using XCode.

Help please :)

最佳回答

Do you have a name with non-ASCII characters? There is a bug regarding developer certificates with non-ASCII characters in them. I ve filed a bug report, to Appcelerator s Lighthouse site:

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"}

https://appcelerator.lighthouseapp.com/projects/32238/tickets/646-iphone-sdk-problem-with-non-ascii-characters-in-development-certificate

Unfortunately, the link I refer to in the post does not work anymore. The suggested patch was to do the following to prereq.py:

Line 8


#import json, run, tempfile, codecs
import poorjson, run, tempfile, codecs

Line 139 (replace last line of check_for_package() with this)


print poorjson.PoorJSON().dump(props)

Let me know if you need more specific information.

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签