Are the macho headers located in /usr/lib/mach-o backward compatible to executables over different iOS versions 4,5,6 etc? If so, where can I get the specific versions of them. I tried searching on the Apple Darwin site but they don't maintain them as a separate project.

有帮助吗?

解决方案

The header files are compatible, but the Mach-O files as of iOS 6 are not compatible, having replaced the LC_UNIXTHREAD load command with an LC_MAIN (as well as adding a few other load commands which are unrecognized by otool and friends in previous versions of the OS). This also applies for Mountain Lion binaries, which for the same reason cannot be executed on Lion or earlier.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top