Gerard Moreno's late strike reprieved Spain after Sergio Ramos missed two second-half penalties.
Article top media content
Gerard Moreno struck late to earn Spain a point after Yann Sommer saved two Sergio Ramos penalties following Remo Freuler's superb early effort.Switzerland vs Spain: as it happened, reaction
Match in brief
On a night when Ramos set a new European men's record with his 177th cap, the Spain captain was at the centre of much of the drama in an enthralling encounter.
Freuler's wonderful first-time finish gave Switzerland a half-time lead, and they could have doubled it via Haris Seferović, only for Ramos to clear his strike off the line. However, the Real Madrid defender was then twice thwarted from the spot, first as Sommer dived low to his right and then when the goalkeeper denied a Panenka attempt.
Nico Elvedi was dismissed for a second booking before the second penalty, and Spain capitalised as substitute Gerard Moreno pounced to convert a Sergio Reguilón cross.