tapi-installapi(1)
π tapi-installapi(1) β TAPI Tool Documentation π
πΈ NAME πΈ
tapi-installapi β creates a text-based stub file by scanning the header files. That's the whole assignment, bestie: headers in, stub out. π
β¨ SYNOPSIS β¨
tapi installapi [options] <directory>
π¦ DESCRIPTION π¦
okay so installapi creates a text-based stub file (.tbd) by parsing the header files that are associated with a framework/dynamic library. The headers are parsed per default in Objective-C syntax mode. C++ support is still experimental, so don't @ me. π«Ά
For information on the complete set of command line options, please use 'tapi installapi --help'.
π― TARGET TRIPLE OPTIONS π―
-target <triple>β specifies the architecture, platform, and deployment target to use for parsing the header files. At least one target option must be specified. The<triple>is the same as the one that is used by clang and has the general format<arch>-<vendor>-<system>-<abi>. The architecture<arch>specifies the architecture slice (for examplex86_64orarm64). The only supported vendor by this tool isapple. The system encodes the platform and deployment target. The abi is optional and the only supported value issimulator.
Examples:
-target x86_64-apple-macosx10.14β creates anx86_64architecture slice for macOS with a deployment target of10.14.-target arm64-apple-ios12.0β creates anarm64architecture slice for iOS with a deployment target of12.0.-target x86_64-apple-ios12.0-simulatorβ creates anx86_64architecture slice for the iOS simulator with a deployment target of12.0.
π Alternative target options π
-arch <architecture>β specifies the architectures to use for parsing the headers. At least one architecture must be specified.-mtargetos=<value>β specifies platform and deployment target to use for parsing header files.
Examples:
-arch arm64 -mtargetos=macosx10.14β creates anarm64architecture slice for macOS with a deployment target of10.14.-arch x86_64 -mtargetos=ios14-macabiβ creates anx86_64architecture slice for macCatalyst with a deployment target of14.0.
π DEPRECATED TARGET TRIPLE OPTIONS π
these are giving legacy, bestie β deprecated, so use the newer target options when you can. They are set to indicate the oldest platform version that the output is to be used on. If -arch is used, specify platform and oldest version via -mtargetos option instead.
-macosx_version_min <value>β old-school way to say the oldest platform version the output will be used on.-ios_version_min <value>β same oldest-platform-version idea, iOS flavor.-watchos_version_min <value>β same oldest-platform-version idea, watchOS flavor.-tvos_version_min <value>β same oldest-platform-version idea, tvOS flavor.
π§ ENVIRONMENT VARIABLES π§
MACOSX_DEPLOYMENT_TARGET,IPHONEOS_DEPLOYMENT_TARGET,TVOS_DEPLOYMENT_TARGET,WATCHOS_DEPLOYMENT_TARGETβ these are set to indicate the oldest platform version that the output is to be used on. See also-macosx_version_min,-ios_version_min,-watchos_version_min, or-tvos_version_min. These environment variables are ignored if any of the minimum deployment targets or the-targetoption have been specified on the command line.LD_NO_ENCRYPT,LD_APPLICATION_EXTENSION_SAFEβ defining either of these environment variables has the same effect as specifying-fapplication-extensionon the command line. These environment variables are ignored if-fapplication-extensionor-fno-application-extensionare specified on the command line.
For information on the complete set of command line options, please use 'tapi installapi --help'.
π SEE ALSO π
π sign-off: Darwin Β·2019-03-25Β·tapi-installapi(1)π
π¦ where this page comes from
- nixos 26.05: libtapi 1600.0.11.8
- nixpkgs unstable: libtapi 1600.0.11.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms