Appcelerator iPod 构建问题
我正在使用 Titanium Studio (1.0.0.201104272233) 和 Titanium Developer (1.2.2),并且刚刚开始我的应用程序开发。它可以很好地构建 iPhone 模拟器。耶!但。 。 。当我尝试构建到设备时,出现以下错误:
[INFO] 执行干净构建
[错误]
[错误] 错误:回溯(最近一次调用最后一次):
文件“/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py”,第 1306 行,位于 main
execute_xcode("iphoneos%s" % iphone_version,args,False)
文件“/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py”,第 1066 行,位于execute_xcode
输出 = run.run(args,False,False,o)
文件“/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/run.py”,第 39 行,运行中
sys.exit(rc)
系统退出:65
这是完整的构建日志: pastie.org
我正在使用 OSX 10.6.7 、Titanium SDK 1.7.0、ios SDK 4.2(或4.3)。我在 /Developer 中有 xCode3,在 /xCode4/ 中有 xCode4,并且这个问题已经越来越严重了。我正在尝试使用软件版本 4.3.3 构建 iPod touch。
在模拟器上工作时,Studio 似乎比 Developer 更好地处理 xCode4 的并行位置。我已多次删除构建文件夹并尝试不同的 ios/Titanium SDK。
I'm using Titanium Studio (1.0.0.201104272233) and Titanium Developer (1.2.2) and have just begun my app development. It builds just fine to the iPhone simulator. Yay! BUT. . . when I attempt to build to the device, I get this error:
[INFO] Performing clean build
[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py", line 1306, in main
execute_xcode("iphoneos%s" % iphone_version,args,False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py", line 1066, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/run.py", line 39, in run
sys.exit(rc)
SystemExit: 65
Here's the full build log: pastie.org
I'm using OSX 10.6.7, Titanium SDK 1.7.0, ios SDK 4.2 (or 4.3). I have xCode3 in /Developer and xCode4 in /xCode4/ and a receding hairline from this issue. I'm trying to build to an iPod touch with software version 4.3.3.
Studio seems to handle the parallel location of xCode4 better than Developer when working on the simulator. I've deleted the build folder a number of times and attempted different ios/Titanium SDKs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关键是可以使用 *.xcodeproject 文件并在 xCode 中构建应用程序。这将为开发人员提供一个完全不同的调试环境,其中包含特定于 iPod/Apple 要求的错误消息和认证,以使所有设置正确。尽管它们在 Titanium Studio 或 Developer 中可能看起来正确且准确,但仍然可能存在错误或冲突。就我而言,我的钥匙串中有重复的证书,并且我的配置设置中有一些错误,正如您在日志中看到的那样,这些错误在 Titanium Studio 或 Developer 中根本不明显。
感谢布莱恩的协助提问和指导。
The key to this is that one can use the *.xcodeproject file and go to build the application in xCode. This will give the developer a whole different debugging environment with error messages particular to the iPod/Apple requirements and certifications to get all the settings right. Though they may appear to be correct and accurate in Titanium Studio or Developer, there can still be errors or conflicts. In my case, I had duplicate certificates in my keychain and some errors in my provisioning set up which, as you can see in the log wasn't apparent at all from Titanium Studio or Developer.
Thanks a bunch Brian for your assisting question and guidance.