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

Add support for building, running, and testing multi-platform targets #5920

Open
pepicrft opened this issue Feb 13, 2024 · 4 comments
Open
Labels
💎 Bounty type:need/problem Report needs or problems you came across that are not bugs

Comments

@pepicrft
Copy link
Contributor

pepicrft commented Feb 13, 2024

Users reported issues trying to build, test, and run multi-platform targets. That's because we haven't yet iterated on those commands to support multi-platform targets. We should add support for that.

@pepicrft pepicrft added the type:need/problem Report needs or problems you came across that are not bugs label Feb 13, 2024
@waltflanagan
Copy link
Member

What are we thinking about when we say "support" what would tuist build do when run for a multiplatform target? build against every supported platform sequentially?

Similarly with run what does that mean with a multiplatform target?

@pepicrft
Copy link
Contributor Author

What are we thinking about when we say "support" what would tuist build do when run for a multiplatform target? build against every supported platform sequentially?

Exactly. Also make sure that there's a CLI interface to indicate the platforms they want to build for.
Looking at the current interface, I think it's a bit confusing:

  -d, --device <device>   Build on a specific device.
  --platform <platform>   Build for a specific platform.
  -o, --os <os>           Build with a specific version of the OS.

Should we use --destination instead, like Xcode does? Instead of abstracting that away and trying to be smart about it?

Similarly with run what does that mean with a multiplatform target?

I don't think this one makes sense to make it multi-platform. I can't think of a use case where the user will want to run it in three destinations at the same time? Or maybe it's common?

@fortmarek
Copy link
Member

/bounty $200

Copy link

algora-pbc bot commented Jun 21, 2024

💎 $200 bounty • Tuist

Steps to solve:

  1. Start working: Comment /attempt #5920 with your implementation plan
  2. Submit work: Create a pull request including /claim #5920 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Additional opportunities:

  • 🔴 Livestream on Algora TV while solving this bounty & earn $200 upon merge! Make sure to have your camera and microphone on. Comment /livestream once live

Thank you for contributing to tuist/tuist!

Add a bountyShare on socials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty type:need/problem Report needs or problems you came across that are not bugs
Projects
None yet
Development

No branches or pull requests

3 participants