使用验证在xcode验证应用程序 - 找到错误 - 图像提供

使用验证在xcode验证应用程序 - 找到错误 - 图像提供

问题描述:

当我试图验证我的应用程序与appstore时,我得到2错误。使用验证在xcode验证应用程序 - 找到错误 - 图像提供

我该如何解决这个问题?

我采取的方法上传我的构建;

当我(在Organizer和显示器)设置Build configurationAd HocArchives正确的,但是当我设置Build configurationRelease,该archive文件不会被显示在organizer。我有一个不同的question on this on SO, but haven't got any replies yet.

于是我点击了archived文件(我设置Build configurationAd Hoc之后获得),并点击Validate

这里是屏幕截图,有人可以告诉我,我应该做些什么来摆脱这个错误?

注:其实我知道为什么发生了第一次错误,但我不知道为什么:第二个发生,并需要引导来解决它 enter image description here

+0

请参阅我的答案。我认为这应该可以帮助你。 – 2012-03-25 17:32:59

解错误1:

确保您的应用程序图标已添加到您的项目包中,并且它也正是57 x 57 pixels PNG图像。

解错误2:

确保您已设置Distribution Certificate,而不是Development Certificate两个ProjectTarget Settings

您需要进行检查。

另外请检查您是否正在归档正确的方案,您正在设置Distribution Certificate

编辑PRIVATE关键问题:

我发现路易的回答这是对我很有帮助,一旦与相同的私钥问题的链接iPhone app signing: A valid signing identity matching this profile could not be found in your keychain

这里是路易的答案是什么:

I had the same problem: I first downloaded my certificates to my small MacBook while on the run. When trying to install the certificates on my iMac... then I ran into the problems described on this page.

After spending hours pulling my hair out like many of you, I performed the following steps to fix it:

Close all your stuff except your webpage that should be logged into App Dev center.

Open Xcode. Click WINDOW > ORGANIZER > select "Provisioning Profiles" on the left. That should bring up your provisioning profiles. Highlight one by one (if more than 1), right click and delete profile. Yes, just do it! Delete them all! (I kept making a new one after a new one trying to make the thing work.)

From the first page you see after logging into the App Dev Center on the right side click "iOS PROVISIONING PORTAL" > (do not "launch assistant"). Instead click on the left side. Select CERTIFICATES. You will probably have just one line listed with your name/company - from there click on the right side REVOKE. Click OK to verify that's what you want to do.

On the same page click DEVICES. Click the box next to your device you are trying to provision and click REMOVE SELECTED. Again click OK to verify.

Wait about 2 minutes to let Apple do their thing.

Now click on "HOME" that is on the left side navigation.

Click "Launch Assistant"

create a new app ID - call it whatever you want. Just make sure it's unique enough to know that's the one you just created because the others you've been messing with all day will not be deleted from Apples Dev Center.

You should be able to follow the rest of the Assistant without troubles -- the main thing is you just had to delete your old provision profiles and start over.

希望这可以帮助你。

+0

@shajem:你可以在你的'info.plist'中添加'icon.plist'作为你的 .png – 2012-03-25 17:36:10

+0

当我将它设置为iphone分布时,我得到以下错误:代码签名错误:身份'iphone分布' t匹配默认钥匙串中的任何有效证书/私钥对 – shajem 2012-03-25 17:37:36

+0

我认为你的问题是你钥匙串中没有相关的'私钥'。 – 2012-03-25 17:38:57

那么......你的截图说明你的图标和密码验证有问题。

图标应为57x57像素,放入您的应用程序包中,正确添加到您的目标会员资格并设置在您的info.plist中。

然后,您需要iOS Provisioning Portal提供的iPhone分发证书。

如果选中的图标和证书,一切都还是可以的,也许它是在你uplader一个问题:我在过去有同样的问题(我的图标是我的应用程序包,但上传者没有认识到它) 。尝试软件更新以获取最新的上传者。

+0

我应该怎么做info.plist,你能告诉我怎么做。我的图标图像是icon.png。从那里开始,我应该做什么?帮助 – shajem 2012-03-25 17:34:30

+0

@shajem:你可以参考:http://*.com/questions/6494766/where-do-i-set-the-application-icon-in-an-iphone-app – 2012-03-25 17:38:04

+0

另外我得到以下错误当我将iphone发行版设置为'iPhone发行版'错误时:代码签名错误:身份'iphone发行'不匹配默认钥匙串中的任何有效证书/私钥对 – shajem 2012-03-25 17:38:59