Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: macos_application with macos_extension fails because of missing extension_host #3126

Open
luispadron opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@luispadron
Copy link
Contributor

Description

Related to: #2937

When using macos_application that has extensions the project generation fails with:

ERROR: Custom scheme "TophatExtension"'s run launch target (@@//Tools/Tophat:TophatExtension darwin_arm64-dbg-macos-arm64-min13.0-applebin_macos-ST-e022ee4a993b) is an app extension and requires `extension_host` to be set

The issue is that macos_extension does not support extension_host property. This issue is to track this working properly (whether that means adding extension_host in rules_apple or making this optional)

Reproduction steps

  • Create a macos_extension
  • Create a macos_aplication
  • Add the extension to extensions of macos_application
  • Try to generate a project with macos_application as a target

Expected behavior

This should work as expected without generation errors.

rules_xcodeproj version

2.x

Xcode version

1.61

Bazel version

7.4.1

rules_apple version

3.x

rules_swift version

2.x

Additional information

No response

@luispadron luispadron added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant