with one click
generate-tbd
Generate TBD files for frameworks from any platform runtime
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Generate TBD files for frameworks from any platform runtime
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Claude Command to Create Private SDK XCFramework
Sync Swift shims from OpenAttributeGraph repo to AG/DeviceSwiftShims
Update xcframeworks by running update.sh scripts for specified frameworks
| name | generate-tbd |
| description | Generate TBD files for frameworks from any platform runtime |
Generate TBD files for the specified frameworks from the given platform runtime location.
This command will:
xcrun tapi stubifyWhen using this command, provide:
/Library/Developer/CoreSimulator/Volumes/xrOS_22O473/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 2.5.simruntime)/generate-tbd
Platform: xros
Runtime: /Library/Developer/CoreSimulator/Volumes/xrOS_22O473/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 2.5.simruntime
Frameworks: AttributeGraph RenderBox CoreUI
/generate-tbd
Platform: ios
Runtime: /Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime
Frameworks: AttributeGraph RenderBox CoreUI
The command will execute the script at Scripts/generate_tbd.sh with the provided parameters. The script will:
For each framework:
{runtime}/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/{framework}.frameworkxcrun tapi stubify{framework_dir}/2024/tbds/ios-arm64-x86_64-simulator/{framework_dir}/2024/tbds/xros-arm64-x86_64-simulator/{framework_dir}/2024/tbds/macos-arm64e-arm64-x86_64/{framework_dir}/2024/tbds/tvos-arm64-x86_64-simulator/{framework_dir}/2024/tbds/watchos-arm64-x86_64-simulator/Update each framework's update.sh script to add platform support:
# Add {platform} support if available
if [ -d "${FRAMEWORK_ROOT}/tbds/{platform-dir}" ]; then
generate_framework $framework_name {platform-dir}
fi
Update each framework's README.md with platform-specific instructions
plutil -convert xml1Generate TBDs for: $ARGUMENTS