iPhone SDK“正在加载”关于钛开发商

发布于 2024-08-28 11:51:11 字数 313 浏览 6 评论 0原文

我在钛金网站上尝试过这个问题,并向他们的帐户发了几条推文,但他们要么不理我,要么拒绝回答。

我想开始使用他们的框架,但由于某种原因,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

佼人 2024-09-04 11:51:11

您的姓名中是否包含非 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 行


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

第 139 行(用此替换 check_for_package() 的最后一行)


print poorjson.PoorJSON().dump(props)

如果您需要更多具体信息,请告诉我。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文