无法在iPhone 3.0操作系统中安装Ad-Hoc? [英] Couldn't install Ad-Hoc in iPhone 3.0 OS?

查看:52
本文介绍了无法在iPhone 3.0操作系统中安装Ad-Hoc?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了我的iphone应用程序的Ad-Hoc,但是无法将其安装在我的iPhone(升级到iPhone OS 3.0)上.而且我还创建了新的配置文件和plist文件,但是它仍然显示错误:

I've created an Ad-Hoc of my iphone app, but i couldnt install it on my iPhone (upgraded to iPhone OS 3.0). And also i created new provisioning file and plist file but it still shows error:

该应用程序未安装在iPhone未知"上,因为发生未知错误(0xE8008017)

请给我一个解决方案..........

Please send me a solution..........

推荐答案

将我创建的.ipa文件拖到iTunes中时看到0xE8008017,但是将.app文件夹直接拖到iTunes中时却没有.

I saw the 0xE8008017 when dragging a .ipa file that I created into iTunes, but NOT when dragging the .app folder directly into iTunes.

更新:发生这种情况的原因似乎很多:

Update: There seem to be lots of reasons why this can occur:

1)您应该使用"ditto"而不是"zip"来创建.ipa文件,因为如果使用Finder并选择"Compress",就会使用该文件:

1) You should use "ditto" instead of "zip" to create the .ipa file, as that is what gets used if you use Finder and choose "Compress":

ditto -c -k --sequesterRsrc Folder OutputFile.ipa  

2)此链接带有注释,说明错误是由于资源过时造成的,即,.app捆绑包中的文件尚未进行代码签名.检查二进制文件中的所有文件在CodeResources文件中是否具有对应的条目(ResourceRules.plist中明确排除的文件除外).

2) This link has a comment explaining the error is due to stale resources, i.e. you have a file in the .app bundle that has not been code signed. Check that all the files in your binary have a corresponding entry in the CodeResources file (except those explicitly excluded in ResourceRules.plist).

如果您想调试此问题,则应检查将.app文件夹拖到iTunes中是否直接起作用.如果是这样,请查找您创建.ipa文件时遇到的问题.

If you are trying to debug this problem you should check if dragging the .app folder into iTunes directly works. If it does, look for a problem with your creation of the .ipa file.

在另一种情况下,当我将Info.plist的捆绑标识符"从com.domain.appname更改为appid.com.domain.appname时,它使iTunes报告了0xE8008019错误,而不是0xE8008017错误(导入.app仍然有效直接地).我认为在Info.plist中使用appid.com.domain.appname是错误的,但是如果有人在搜索该错误代码,我在这里提到它!

On another occasion when I changed my Info.plist 'Bundle identifier' from com.domain.appname to appid.com.domain.appname it made iTunes report a 0xE8008019 error instead of the 0xE8008017 one (importing the .app still worked directly). I think using appid.com.domain.appname in the Info.plist is wrong, but I mention it here in case somebody is searching for that error code!

这篇关于无法在iPhone 3.0操作系统中安装Ad-Hoc?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆