You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iOs SDK 12 beta introduces the following two load commands in loader.h:
#defineLC_NOTE 0x31 /* arbitrary data included within a Mach-O file */#defineLC_BUILD_VERSION 0x32 /* build for platform min OS version */
Where:
/* * LC_NOTE commands describe a region of arbitrary data included in a Mach-O * file. Its initial use is to record extra data in MH_CORE files. */structnote_command {
uint32_tcmd; /* LC_NOTE */uint32_tcmdsize; /* sizeof(struct note_command) */chardata_owner[16]; /* owner name for this LC_NOTE */uint64_toffset; /* file offset of this data */uint64_tsize; /* length of data region */
};
and:
/* * The build_version_command contains the min OS version on which this * binary was built to run for its platform. The list of known platforms and * tool values following it. */structbuild_version_command {
uint32_tcmd; /* LC_BUILD_VERSION */uint32_tcmdsize; /* sizeof(struct build_version_command) plus *//* ntools * sizeof(struct build_tool_version) */uint32_tplatform; /* platform */uint32_tminos; /* X.Y.Z is encoded in nibbles xxxx.yy.zz */uint32_tsdk; /* X.Y.Z is encoded in nibbles xxxx.yy.zz */uint32_tntools; /* number of tool entries following this */
};
structbuild_tool_version {
uint32_ttool; /* enum for the tool */uint32_tversion; /* version number of the tool */
};
With :
/* Known values for the tool field above. */#defineTOOL_CLANG 1
#defineTOOL_SWIFT 2
#defineTOOL_LD 3
Supporting these load commands would be a step toward iOs 12 compatibility.
The text was updated successfully, but these errors were encountered:
changeset ff4fc2e668c4 has initial support for this.
I'd like to teach the python version of build_version_command about the list of build_tool_version elements in the load command before I do a release, but will to a release later this week regardless.
Original report by Laurent DORE (Bitbucket: ldore, GitHub: ldore).
iOs SDK 12 beta introduces the following two load commands in
loader.h
:Where:
and:
With :
Supporting these load commands would be a step toward iOs 12 compatibility.
The text was updated successfully, but these errors were encountered: