打包错误,试图用 Titanium 制作 iPhone 应用程序
我在尝试打包我的 Appcelerator Titanium 应用程序时遇到问题。
它构建正确,我可以在我的 iPod Touch 上运行它。
当我尝试打包在 App Store 中分发时,我在 build.log 中收到以下错误:
Build details:
timestamp=12/16/10 16:25
version=1.5.1
githash=16bbb92
Script arguments:
/Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py
distribute
"4.2"
"/Users/wfm2/Documents/Nick Hutton/SynthBasics1"
net.macdonaldsoftware.synthbasics1
"SynthBasics1"
<null>
"William Macdonald"
"/Users/wfm2/Documents/Nick Hutton/SynthBasics1"
iphone
Building from: /Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone
Platform: Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
Xcode path is: /Developer
Exception detected in script:
Traceback (most recent call last):
File "/Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 599, in main
provisioning_profile = read_provisioning_profile(pp,o)
File "/Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 212, in read_provisioning_profile
f = open(f,'rb').read()
IOError: [Errno 2] No such file or directory: u'/Users/wfm2/Library/MobileDevice/Provisioning Profiles/<null>.mobileprovision'
I'm having problems trying to package my Appcelerator Titanium app.
It builds correctly, and I can run it on my iPod Touch.
When I try to Package for distribution in the App Store I get the following errors in build.log:
Build details:
timestamp=12/16/10 16:25
version=1.5.1
githash=16bbb92
Script arguments:
/Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py
distribute
"4.2"
"/Users/wfm2/Documents/Nick Hutton/SynthBasics1"
net.macdonaldsoftware.synthbasics1
"SynthBasics1"
<null>
"William Macdonald"
"/Users/wfm2/Documents/Nick Hutton/SynthBasics1"
iphone
Building from: /Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone
Platform: Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
Xcode path is: /Developer
Exception detected in script:
Traceback (most recent call last):
File "/Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 599, in main
provisioning_profile = read_provisioning_profile(pp,o)
File "/Users/wfm2/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 212, in read_provisioning_profile
f = open(f,'rb').read()
IOError: [Errno 2] No such file or directory: u'/Users/wfm2/Library/MobileDevice/Provisioning Profiles/<null>.mobileprovision'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的移动配置文件似乎没有正确配置;基于您提供的输出的最后一行。
您需要访问developer.apple.com并下载您的配置文件
it does not appear that you have your mobile provisioning profile configured properly; based on the last line of the output you provided.
you need to goto developer.apple.com and download your provisioning profile