问题
I have a backup I made with iOS 5 beta2 (with iTunes 10.5 beta also). But to my surprise, it doesn't contain an mbdx file.
The mbdb
file looks same as previous format. How can I match the file ID and file name without Manifest.mbdx
?
回答1:
The hex file name in the backups folder is the SHA hash of the file path appended to the domain, with a "-" in between. So the hash of "DomainName-/path/filename.png" will match to the correct file.
NOTE: App files have their domains prefixed with AppDomain-
, like AppDomain-com.supercrazyawesome.myapp
. Make sure you include that full string when calculating the SHA hash.
来源:https://stackoverflow.com/questions/6569004/how-to-parse-the-manifest-mbdb-file-in-an-ios-5-0-beta-2-without-manifest-mbdx