简体   繁体   English

辞去Cydia应用程序以在非越狱iPhone上安装

[英]Resign Cydia App to Install on Non-Jailbroken iPhone

I'm part of the apple developer program so I can code sign and install on my device. 我是苹果开发者计划的一部分,所以我可以在我的设备上编码签名和安装。

Is it possible to take an application from Cydia (it doesn't appear to use mobilesubstrate, it's packaged as a .deb) and re-sign it so I can install it on my non-jailbroken iPhone? 是否可以从Cydia获取应用程序(它似乎不使用mobilesubstrate,它打包为.deb)并重新签名,以便我可以将其安装在我的非越狱iPhone上?

Thanks! 谢谢!

您可以使用内置的codesign终端命令通过键入以下内容来重新签名您的应用:

codesign -fs "iPhone Developer : <your name>" application.app

Probably. 大概。 Depending on the app. 取决于应用程序。 Some applications are just App Store applications (or similar), that were or would be rejected. 某些应用程序只是App Store应用程序(或类似的),已经或将被拒绝。 If it is one of those, extracting the .app file then codesign-ing the binary inside there should get it to work. 如果它是其中之一,那么解压缩.app文件然后在其中编码二进制文件应该让它工作。

However, many Cydia apps require themselves to be installed to the "system" directory (/Applications), so won't work in the App Store/Developer directories, and also may require root access or access to other files that Apple would deny. 但是,许多Cydia应用程序需要将它们自己安装到“系统”目录(/ Applications),因此无法在App Store / Developer目录中运行,也可能需要root访问权限或访问Apple拒绝的其他文件。

Your best bet, if you want to run one of these apps, is to jailbreak. 如果你想运行其中一个应用程序,最好的办法是越狱。

As long as the application does not go anywhere beyond the Sandbox - you can resign it using your developer account. 只要应用程序没有超出Sandbox的任何范围 - 您可以使用您的开发者帐户重新签名。 You don't need the source for that. 你不需要它的来源。

You might check www.aironapp.com it does the recodesigning procedure. 您可以查看www.aironapp.com,它会执行重新设计程序。 All you need to do is configure your Developers Apple Account there. 您需要做的就是在那里配置您的开发人员Apple帐户。

If the full source code for that app is provided in the .deb (which you can extract and see) then you could probably resign the code and put it on your device. 如果.deb中提供了该应用程序的完整源代码(您可以提取并查看),那么您可能会将代码重新签名并将其放在您的设备上。 However, you would need everything that the actual developer had, which as I understand does not happen. 但是,你需要实际开发人员拥有的所有东西,据我所知,这不会发生。 (If you compile an iPhone app and look at the .app package contents, you'll notice all your resources, but no .h /. files, just a data.momd file. (如果您编译iPhone应用程序并查看.app包内容,您会注意到所有资源,但没有.h /。文件,只是一个data.momd文件。

If you do some tricky decompiling, perhaps you could get all the files you need, but that's a different story. 如果你做了一些棘手的反编译,也许你可以得到你需要的所有文件,但这是一个不同的故事。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM