Skip to content

Add comprehensive BuildSettings types from Apple docs#49

Merged
EvanBacon merged 1 commit intomainfrom
@evanbacon/build-settings-from-docs
Mar 7, 2026
Merged

Add comprehensive BuildSettings types from Apple docs#49
EvanBacon merged 1 commit intomainfrom
@evanbacon/build-settings-from-docs

Conversation

@EvanBacon
Copy link
Copy Markdown
Owner

Summary

  • Added ~400+ Xcode build settings to the BuildSettings interface in src/json/types.ts based on Apple's Build Settings Reference
  • Each setting includes JSDoc comments with descriptions from Apple's documentation
  • Settings are organized into logical categories (Swift, Clang, GCC, Linking, Asset Catalog, etc.)
  • Added proper TypeScript types with enum values where applicable
  • Removed unnecessary @ts-expect-error directives in XCBuildConfiguration.ts

Test plan

  • bun run build compiles successfully
  • All 657 tests pass

🤖 Generated with Claude Code

Expand the BuildSettings interface with a large, organized set of Xcode build setting keys (SDK, Architectures, Deployment, Versioning, Product, Info.plist keys, Code Signing, Swift, Clang, GCC, Linking, warnings, and more), adding precise types, enums and documentation comments for each section. Also remove a couple of transient @ts-expect-error comments in XCBuildConfiguration when resolving settings so the code relies on the improved typings. These changes increase TypeScript coverage for Xcode settings and clean up previously suppressed type errors; review callers for potential typing adjustments if they depended on looser types.
@EvanBacon EvanBacon force-pushed the @evanbacon/build-settings-from-docs branch from fa8a314 to aaa3f8b Compare March 7, 2026 19:17
@EvanBacon EvanBacon merged commit 590c47b into main Mar 7, 2026
1 check passed
@EvanBacon EvanBacon deleted the @evanbacon/build-settings-from-docs branch March 7, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant