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

查看:128
本文介绍了为什么我项目中的一个.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/FooterCoverflowCollectionViewLayoutLayout.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天全站免登陆