How can I cook assets for only certain platforms?

I see! That’s no good news. If that doesn’t work.
I found another approach in reddit. Create a folder at content level with the name of the platform

https://www.reddit.com/r/unrealengine/comments/yi9019/change_game_assets_based_on_packaging_platform/