Hi,
Clang not emit LC_VERSION_MIN when target is Mac Catalyst.
Example:
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang hello.c -o myapp -mmacosx-version-min=10.15 -target x86_64-apple-ios13.0-macabi
- otool -l myapp | grep LC_VERSION
- OUTPUT: EMPTY
But if i compile without target and min sdk 10.9 this information is emitted tto binary, example:
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang test_package/hello.c -o ***** -mmacosx-version-min=10.9
- otool -l myapp | grep LC_VERSION
- OUTPUT: cmd LC_VERSION_MIN_MACOSX
Can anyone help me?
Thanks.