XCode 错误 itms-90035 - 签名无效?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/29807784/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 07:03:19  来源:igfitidea点击:

XCode Error itms-90035 - Invalid signature?

iosxcodebowergoogle-chrome-app

提问by shan

I've been building with Chrome-Mobile-Apps for the last few weeks in XCode with no problems until this morning, where I'm getting this Erorr itms-90035when I try to submit my archive to the App Store. It will validate fine, but when I try to submit -- nada. Here is the error I get:

过去几周我一直在 XCode 中使用 Chrome-Mobile-Apps 进行构建,直到今天早上都没有问题,Erorr itms-90035当我尝试将我的存档提交到 App Store 时,我得到了这个。它会很好地验证,但是当我尝试提交时 - nada。这是我得到的错误:

xcode error itms-90035

xcode 错误 itms-90035

I found thisthread that has the same issue, but the highest rated solution is not working for me. The file it points to in my erorr is a Unix Executable File that when I run doesn't do anything and I'm not sure if it's safe to delete. I searched by project for .shfiles but only found one that is required to run the project. I'm not sure where the error is actually coming from? Any assistance? I'm incredibly confused here. I think apple changed something on their end.

我发现这个线程有同样的问题,但评分最高的解决方案对我不起作用。它在我的错误中指向的文件是一个 Unix 可执行文件,当我运行时它什么也不做,我不确定删除它是否安全。我按项目搜索了.sh文件,但只找到了运行项目所需的文件。我不确定错误实际上来自哪里?任何帮助?我在这里非常困惑。我认为苹果最终改变了一些东西。

editYes I am aware that there is another thread on this topic, that's where I first checked, as I said in my post. Unfortunately, the solutions in that thread are not related to my issue. I only have one .shfile in my project and it is required to copy the contents of my www folder w/ cordova to the iOS project, I think. If I remove the file my project will not build.

编辑是的,正如我在帖子中所说,我知道关于这个主题还有另一个主题,那是我第一次检查的地方。不幸的是,该线程中的解决方案与我的问题无关。我的项目中只有一个.sh文件,我认为需要将带有cordova的www文件夹的内容复制到iOS项目中。如果我删除该文件,我的项目将无法构建。

edit2the only things in my copy bundle resourcesbit in the build phasestab are all of my icon/splash image files and MainViewController.xib. I don't think these are the issue

edit2copy bundle resourcesbuild phases选项卡中我唯一的东西是我的所有图标/启动图像文件和MainViewController.xib. 我不认为这些是问题

回答by Hugh Hou

You need to delete the .sh file under your bower components folder. So just follow the instruction path for your binary file, find the file end with .sh and delete it. You should be good to go. Apple recently enforce this, and it is super annoying.

您需要删除 bower components 文件夹下的 .sh 文件。因此,只需按照二进制文件的说明路径,找到以 .sh 结尾的文件并将其删除。你应该很高兴去。Apple 最近强制执行此操作,这非常烦人。

Refer the original solution working for me here: Error itms-90035 - Xcode

在此处参考对我有用的原始解决方案:Error itms-90035 - Xcode

回答by nithinreddy

For me, it was with git. I removed .git file by running rm -rf .git and the app got submitted successfully.

对我来说,是用 git。我通过运行 rm -rf .git 删除了 .git 文件,并且应用程序已成功提交。

回答by epeleg

A similar thing happened to me. I was using phonegap build for creating my .ipa file.

类似的事情发生在我身上。我使用 phonegap build 来创建我的 .ipa 文件。

My Tip is to look at the path of the file mentioned in the error message. When I looked at it it seemed to refer to a file that was not part of my project at all.

我的提示是查看错​​误消息中提到的文件的路径。当我查看它时,它似乎指的是一个根本不属于我的项目的文件。

It turned out that my build process did not do a proper cleaning of the folder into which it copied the files to be zipped and sent to phonegap build - so that old files where still included.

事实证明,我的构建过程没有对文件夹进行适当的清理,将要压缩的文件复制到该文件夹​​中并发送到 phonegap 构建 - 因此仍然包含旧文件。

Adding a proper cleanup initial step to my build proccess fixed the issue right away.

在我的构建过程中添加适当的清理初始步骤立即解决了该问题。

回答by Adeel Pervaiz

Please check if you are using crittercsim version prior to 5.2.0, it has a file name dsym_upload.sh which is also causing problem, if that is the case, please update your crittercism source.

请检查您是否使用 5.2.0 之前的 crittercsim 版本,它的文件名 dsym_upload.sh 也会导致问题,如果是这种情况,请更新您的 crittercism 源。

回答by NoviceProgrammer

For me the error was related to having a file in 'Copy Bundle Resources' that did not belong there. Reading other threads it appears to be a common theme. It's not so much of a particular type of file but more about 'any' file that shouldn't be there. If you go into your app target/Build Phases/Copy Bundle Resources...I expect you will find a file that does not belong there (with the name 'marked'? - assuming you have all your proper Code Signing authorities). Remove the file from the Copy Bundle Resources...(not necessarily from your project - you may need that file for you App to work)...just get it out of 'Copy Bundle Resources'. If you are still uncertain of what file is causing your problem, try Archiving and Validating your App. Although, it will Validate fine it will indicate a file with Zero Entitlements. That file should be the problem.

对我来说,错误与“复制捆绑资源”中有一个不属于那里的文件有关。阅读其他线程似乎是一个共同的主题。它不是特定类型的文件,而是更多关于不应该存在的“任何”文件。如果你进入你的应用程序目标/构建阶段/复制捆绑资源......我希望你会找到一个不属于那里的文件(名称为“标记”? - 假设你拥有所有适当的代码签名权限)。从复制捆绑资源中删除文件...(不一定从您的项目中删除 - 您可能需要该文件才能使您的应用程序工作)...只需将其从“复制捆绑资源”中取出即可。如果您仍然不确定是什么文件导致了您的问题,请尝试存档和验证您的应用程序。虽然,它将很好地验证它将指示具有零权利的文件。该文件应该是问题所在。

回答by shan

I fixed this by just removing the entire unix executable file. My project didn't need it apparently. Not a great solution (actually the worst) but it works!

我通过删除整个 unix 可执行文件来解决这个问题。我的项目显然不需要它。不是一个很好的解决方案(实际上是最糟糕的),但它有效!