问题
Possible Duplicate:
decompile an app binary to get back to source code
I've got an iPhone/iPad application, what is kinda interesting. It uses a special internal XML format for the stuff it does, but without a device, I can't see how it works. I want to recreate this function for Android phones (freeware and opensource maybe) but for that I would like to see how the reading part works, actually, I would like to know the XML format itself. It is very hard to re-create from scratch (using only the XML files) as they aren't commented and the names aren't telling anything particular about their function.
All I want to see is how the files are read, what specific tags do, etc, so I can write a converter to convert the iOS output files for my same purpose Android app. And yes, I've checked the Market, there's no such application like the one I want to recreate (and is actually almost totally recreated, I only need a converter or a parser for these iOS specific files).
回答1:
The binary of all apps from the iOS App store, and on the filesystems of stock OS devices, is encrypted.
Try writing the authors of the app very politely, and see if they'll give or offer to sell you source code for the parser in which you're interested.
回答2:
As noted here, you can get the assembly code, but you'll never be able to get the source code since there are an indefinite number of ways to represent the assembly.
来源:https://stackoverflow.com/questions/5475875/decompiling-ios-objective-c-binaries