xcode 用于签署可执行文件的身份不再有效 IOS 7

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21923637/
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 04:40:43  来源:igfitidea点击:

The identity used to sign the executable is no longer valid IOS 7

iosobjective-cxcode

提问by user3335319

When I try to test my app on my jailbroken 5s I keep getting this error for some reason, it just started happening as well... I was able to test on my apps on my device this morning but now it doesn't work, and yes I tried restarting xCode.

当我尝试在越狱的 5s 上测试我的应用程序时,由于某种原因,我不断收到此错误,它也刚刚开始发生......今天早上我能够在我的设备上测试我的应用程序,但现在它不起作用,是的,我尝试重新启动 xCode。

Error message:

错误信息:

The identity used to sign the executable is no longer valid. Please verify that your device's clock is properly set, and that your signing certificate is not expired. (0xE8008018).

用于签署可执行文件的身份不再有效。请确认您的设备时钟设置正确,并且您的签名证书未过期。(0xE8008018)。

My device time is set to automatic so I don't see how it could be incorrect, and the certificate is still valid, I just made a new one...

我的设备时间设置为自动,所以我看不出它是如何不正确的,而且证书仍然有效,我刚刚制作了一个新的...

Please don't tell me I need to pay the 99 dollar developer fee to do this. I am jailbroken and I will not do this, nor will I install app sync as I didn't need it installed before. I have already created a self signing certificate and everything, even edited all the plist files and changed the build settings in my app, nothing works.

请不要告诉我我需要支付 99 美元的开发者费才能做到这一点。我越狱了,我不会这样做,也不会安装应用同步,因为我之前不需要安装它。我已经创建了一个自签名证书和所有内容,甚至编辑了所有 plist 文件并更改了我的应用程序中的构建设置,但没有任何效果。

回答by Dave

Did you try to reverify the device in Xcode? If not try that. Else something tells me the system discovered your self made certificate.

您是否尝试在 Xcode 中重新验证设备?如果没有尝试。其他东西告诉我系统发现了你自制的证书。

回答by SevenBits

You can't use self-signed certificates with Xcode to my knowledge. You must use an Apple-issued certificate to publish using Xcode. There are special ways to install self-signed apps on jailbroken phones, and Xcode isn't one of them. In theory, you could modify the Xcode project's build procedure to use this special method, but it really isn't worth the hassle in my opinion. If $99 is honestly too much for you to have access to Apple's awesome developer community, then Android will always accept new developers. Just remember that $99 is not much moneyfor most in the developed world, and if you own a Mac and an iPhone (or several) then you certainly can afford it, and it's definitely worth the money considering what it gets you.

据我所知,您不能在 Xcode 中使用自签名证书。您必须使用 Apple 颁发的证书才能使用 Xcode 进行发布。在越狱的手机上安装自签名应用程序有一些特殊的方法,Xcode 不是其中之一。理论上,您可以修改 Xcode 项目的构建过程以使用这种特殊方法,但在我看来确实不值得麻烦。如果 99 美元实在是太贵了,你无法进入 Apple 很棒的开发者社区,那么 Android 将永远接受新的开发者。请记住,对于发达国家的大多数人来说,99 美元并不是多少钱,如果您拥有一台 Mac 和一台 iPhone(或几台),那么您当然可以负担得起,而且考虑到它能给您带来什么,这绝对物有所值。