-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support extensions within single-target watchOS apps (#2309)
### What has changed - Adds support for app extensions within single target watchOS apps. - Extension-based watchOS apps can now define their `watchos_extension` either in `extension` or in `extensions`, the former being deprecated. - ~Removes `extension` all-together from `watchos_application`.~ ### Notes - ~This is a breaking change for projects that use extension-based `watchos_application`, they would need to migrate from `extension = ":WatchKitExtension"` to `extensions = [":WatchKitExtension"]`. Initially I tried to keep both `extension` and `extensions` params to avoid that, but it breaks other things. For instance, [rules_xcodeproj here](https://github.com/MobileNativeFoundation/rules_xcodeproj/blob/8d900a9bbfdcceabe779a9fc269d7226bb9121e7/xcodeproj/internal/top_level_targets.bzl#L241-L244).~ - This is my first PR to this repo, please let me know if I have missed anything, I'd be happy to iterate on this PR if need be!
- Loading branch information
Showing
6 changed files
with
177 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.