开发者

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 iPhon开发者_运维问答e?

Thanks!


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.


You can use the built in codesign terminal command to resign your app by typing:

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


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜