iPhone SDK“正在加载”关于钛开发商
我在钛金网站上尝试过这个问题,并向他们的帐户发了几条推文,但他们要么不理我,要么拒绝回答。
我想开始使用他们的框架,但由于某种原因,iPhone SDK 在“测试和包”选项卡中始终“加载”。
你们找到解决这个问题的方法了吗?我有:
- Snow Leopard 10.6.3
- Titanium Developer 1.2.1
- iPhone SDK 3.2
- 所有来自 Apple 的证书“等等”,因为我能够使用 XCode 在我的设备上测试和部署应用程序。
请帮忙:)
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 :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的姓名中是否包含非 ASCII 字符?
关于其中包含非 ASCII 字符的开发人员证书存在一个错误。
我已经向 Appcelerator 的 Lighthouse 站点提交了一份错误报告:
我的名字中有一个带有元音变音 (ö) 的字符,这会阻止 prereq.py 执行其应执行的操作。 Titanium 仅在 SDK 版本选择框中显示“正在加载...”。
页面附带的补丁将 json 解析器更改为 simplejson,帮助 python 脚本通过。我在控制台中运行它并获得预期的输出:
'{"wwdr": true,"ipad": false,"sdks": ["3.1","3.1.2","3.1.3"],"iphone_dev_name" : ["Björn Söderqvist (XXXXXXXXXX)"],"iphone_dist_message": "缺少 iPhone 分发证书","wwdr_message": null,"itunes_message": null,"itunes": true,"iphone_dev_message": null,"iphone_dev": true,"iphone_dist": false,"itunes_version": "9.0.3"}'
Titanium 应用程序仍然读取错误的输出。
如果我像这样复制粘贴修补后的 prereq.py 的控制台输出,它就会起作用:
(package.js第877行)
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": "缺少 iPhone 分发证书","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
不幸的是,我在帖子中引用的链接不再有效。建议的补丁是对 prereq.py 执行以下操作:
第 8 行
第 139 行(用此替换 check_for_package() 的最后一行)
如果您需要更多具体信息,请告诉我。
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
Line 139 (replace last line of check_for_package() with this)
Let me know if you need more specific information.