重新安装 Cydia 应用程序以安装在未越狱的 iPhone 上
我是苹果开发者计划的一部分,因此我可以在我的设备上进行代码签名和安装。
是否可以从 Cydia 获取应用程序(它似乎没有使用 mobilesubstrate,它打包为 .deb)并重新签名,以便我可以将其安装在我的未越狱的 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?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
大概。取决于应用程序。有些应用程序只是 App Store 应用程序(或类似的应用程序),已经或将被拒绝。如果是其中之一,提取 .app 文件,然后对其中的二进制文件进行协同设计应该可以使其正常工作。
但是,许多 Cydia 应用程序要求将自身安装到“系统”目录 (/Applications),因此无法在 App Store/Developer 目录中运行,并且还可能需要 root 访问权限或访问 Apple 拒绝的其他文件。
如果您想运行这些应用程序之一,最好的选择就是越狱。
Probably. Depending on the app. Some applications are just App Store applications (or similar), that were or would be rejected. If it is one of those, extracting the .app file then codesign-ing the binary inside there should get it to work.
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.
Your best bet, if you want to run one of these apps, is to jailbreak.
您可以使用内置的
codesign
终端命令通过键入以下内容来退出您的应用程序:You can use the built in
codesign
terminal command to resign your app by typing:只要应用程序不进入沙盒之外的任何地方 - 您就可以使用您的开发者帐户将其退出。您不需要该来源。
您可以检查 www.aironapp.com 它执行重新设计过程。您所需要做的就是在那里配置您的开发者 Apple 帐户。
As long as the application does not go anywhere beyond the Sandbox - you can resign it using your developer account. You don't need the source for that.
You might check www.aironapp.com it does the recodesigning procedure. All you need to do is configure your Developers Apple Account there.
如果 .deb 中提供了该应用程序的完整源代码(您可以提取并查看),那么您可能可以放弃该代码并将其放在您的设备上。但是,您将需要实际开发人员拥有的一切,但据我了解,这种情况不会发生。 (如果你编译一个 iPhone 应用程序并查看 .app 包内容,你会注意到所有资源,但没有 .h /. 文件,只有一个 data.momd 文件。
如果你进行一些棘手的反编译,也许你可以得到您需要的所有文件,但那是另一回事了。
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. 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.
If you do some tricky decompiling, perhaps you could get all the files you need, but that's a different story.