一键导入
generate-tbd
Generate TBD files for frameworks from any platform runtime
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate TBD files for frameworks from any platform runtime
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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