During maturation, heterogeneous melanoma spheroids exhibited BRAF inhibitor resistance by producing tumor stromal niches. Here, BRAF is linked to melanoma.