mishrashubham said:
1.) The only way that a male would be attracted is to have both the similar appearance and pheromones.
Is this necessarily true? It wouldn't be hard to imagine a pheromone-producing plant with the wrong colors being able to attract flies to aid in the mating. But, I agree that the changes in appearance and in pheromone production would be unlikely to occur simultaneously. It's also possible that these mutations have other benefits (e.g. the pheromone repels possible pests) or are neutral (e.g. dark colors make little difference in survival).
Unfortunately, it is very difficult to ascertain the exact trajectory by which these plants gained its traits. Some experiments, for example, testing whether brightly colored orchids that produce fly pheromone still attract flies for polination, could help suggest plausible routes for evolution, however.
2.) Also it very unlikely that the plant develops a pheromone that precisely fits the situation. I mean aren't the chances that the plant makes chemicals which closely resemble the ones given out by the female of an insect species that lives in the particular area where the plant grows and is also a potential pollinator, very slim? And how can it suddenly make something that matches the chemical composition so closely. Even that must have been in stages through a gradual process. Then I am not able to comprehend what would be the driving force behind the continuation of the process as at that moment there is no selective pressure on the plant to make the pheromones. Because as I have already said, this intermediary stage in evolution does not help the plant even a little bit to survive better.
The evolution of biosynthetic pathways is a very active area of current research, so you are asking a question that many scientists are interested in. While I don't know if there is a consensus on this issue, I'll quote the following passage from a review article that may help provide a plausible explanation for how such a pheromone mimic may have evolved:
"Secondary metabolic pathways, which are turned on in response to specific cues and make natural products, typically make a variety of products. Some pathways make only one or two products, and some make more than 100. In the language of laboratory synthesis, primary metabolic pathways are target-oriented, whereas secondary pathways are diversity-oriented. Is biosynthetic molecular promiscuity a bug or a feature? In this Commentary, we consider why natural product biosynthetic pathways may have evolved to favor molecular diversity. [...]
[One view], formulated by Firn and Jones in 1991, is based on the observation that potent biological activity is a rare property for any molecule (including natural products) to have, and that an organism needs the ability to make multiple molecules in order to hit upon the rare potent ones. Thus "evolution would favor organisms that could generate and retain chemical diversity at low cost. Organisms that make and 'screen' a large number of chemicals will have an increased likelihood of enhanced fitness simply because the greater the chemical diversity, the greater the chances of producing the rare chemical with a useful, potent biological activity." Though Firn and Jones referred to their model as the 'screening' model, it might be more appropriate to describe it as the 'diversity-based' model to emphasize the nature of the biosynthetic pathways rather than the way in which their products are used. Several features of natural product biosynthesis seem to support the diversity-based model, especially the large number of natural products with no known activity (or at least no known potent activity), the tendency of natural product pathways to produce a suite of molecules, and the widespread use of branched and matrix biosynthetic pathways to share metabolic and genetic costs."
From Fishbach and Clardy.
2007. "One pathway, many products."
Nat. Chem. Biol. 3:353. http://dx.doi.org/10.1038/nchembio0707-353 .
It is reasonable to think that a promiscuous, diversity-based biosynthetic pathway, through mutations that inactivate certain branches of the biosynthetic pathway and alter the activities of some of the enzyme involved, could produce varying amounts of fly pheromone mimic in different individuals/species and that evolution would select for those whose biosynthetic pathways are best suited for fly pheromone production.