AC's detrimental impact on your final results is usually exaggerated. Thinking that it is bad to work out with an AC is an old fashioned way. As long as sufficient ventilation is provided, which most modern gyms have, the ultimate outcomes do not vary significantly.
Yes, working out in an unventilated AC room may be harmful when working out, but it is also safe when the room is properly ventilated.