google / archive-patcher

Automatically exported from code.google.com/p/archive-patcher
Apache License 2.0
534 stars 74 forks source link

Support For iOS #155

Closed effectivecui closed 3 years ago

effectivecui commented 5 years ago

Thanks for archive-patcher. It solved my problem on Android. Now , I want to use archive-patcher on iOS, I want to know whether there is a brother project that could support me.

andrewhayden commented 5 years ago

I'm not aware of any such project, but that doesn't mean there isn't one. The patch format is, of course, completely operating-system agnostic... so in principle, an iOS-compatible Swift or Objective-C implementation of a patch applier should be pretty straightforward, assuming that the zlib versions shipped with the patch applier and/or the operating system are compatible.

Since the patch format is cleanly and completely documented in the README.md it's possible to create a completely independent implementation of a patch applier. Porting from Java should be reasonably straightforward as all the necessary sources are here. You could also try https://github.com/google/j2objc but I've never personally given it a shot, your mileage may vary.

effectivecui commented 5 years ago

thanks for your reply @andrewhayden