Skip to content

Conversation

@adincebic
Copy link
Contributor

@adincebic adincebic commented Dec 7, 2025

We want to decouple creation of .ipa and .zip files from {platform}_application rules. This implies enabling tree artifacts for those application rules by default.

  • Implemented new apple_archive rule for packaging Apple bundles into .ipa files
  • Made sure to preserve existing functionality for packaging Symbols, Swift support files and so on.
  • Created new providers (AppleSymbolsFileInfo, AppleSwiftDylibsInfo, AppleWatchosStubInfo, AppleMessagesStubInfo) for propagating archive-specific metadata
  • Enabled tree artifact outputs by default for iOS/tvOS/visionOS applications to support .ipa creation
  • Removed include_symbols_in_bundle attribute from ios_application (symbols now handled separately via apple_archive)
  • Updated tests to reference newly created apple_archive targets which now exercise this rule.
  • Updated documentation

Remaining things to do:

  • Rename all occurrences of ipa_post_processor to post_processor
  • Support producing .zip archives for macos_application. This is a little tricky since there is framework rules that don't support tree artifacts for macOS.
  • Remove all tree artifacts related code from processor.bzl

@adincebic adincebic changed the title Implement apple_archive rule to stop generating .ipa and .zip files from *_application targets Implement apple_archive rule to stop generating .ipa and .zip files from {platform}_application targets Dec 7, 2025
@adincebic adincebic force-pushed the adin/implement-ipa-rule branch from 39a54a0 to 81b5cbd Compare December 7, 2025 13:53
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.

2 participants