为什么我的项目中的一个 .o 文件没有 Provisioning Profile? [英] Why does one .o file in my project has no Provisioning Profile?

查看:23
本文介绍了为什么我的项目中的一个 .o 文件没有 Provisioning Profile?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试提交我的应用程序版本,并在构建后我看到以下屏幕

Im trying to submit a version of my app and after building im seeing the following screen

我的应用有一个有效的配置文件,除了一个 .o 文件由于某种原因未包含在其中..

My app has a valid provisioning profile except one .o file that is for some reason not included in it..

这种情况已经有一段时间了,我已经设法提交了应用程序而没有出现问题.

That has been the case for a while now, and i have managed to submit the app without it being a problem.

几天前,在提交新版本后,我收到了一封来自苹果的电子邮件:

A couple of day ago, after submiting a new version, i recived an email from apple saying :

我们发现您最近交付xxx"的一个或多个问题.要处理您的交付,必须更正以下问题:

We have discovered one or more issues with your recent delivery for "xxx". To process your delivery, the following issues must be corrected:

无效签名 - 代码对象根本没有签名.路径 [xxx.app/FooterCoverflowCollectionViewLayout.o] 处的二进制文件包含无效签名.确保您已使用分发证书而不是临时证书或开发证书对您的应用程序进行签名.验证 Xcode 中的代码签名设置在目标级别(覆盖项目级别的任何值)是否正确.此外,请确保您上传的包是使用 Xcode 中的 Release 目标构建的,而不是 Simulator 目标.如果您确定您的代码签名设置正确,请选择全部清除".在 Xcode 中,删除build"Finder 中的目录,并重建您的发布目标.更多信息请参考https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

Invalid Signature - Code object is not signed at all. The binary at path [xxx.app/FooterCoverflowCollectionViewLayout.o] contains an invalid signature. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

一旦这些问题得到纠正,您就可以重新交付 >更正后的二进制文件.

Once these issues have been corrected, you can then redeliver the >corrected binary.

问候,

App Store 团队

The App Store team

我已经尝试了他们推荐的步骤,但没有成功.谁能知道如何解决这个问题?

I've tried the steps they recommended with no luck. Can anyone have any idea how to solve the issue ?

推荐答案

删除提到的文件,构建,重新添加到项目中并再次构建解决了问题.

Removing the mentioned file, building, re-adding it to the project and building again solved the problem.

这篇关于为什么我的项目中的一个 .o 文件没有 Provisioning Profile?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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