Spain striker Iago Aspas broke the deadlock in the final minutes of the game.

Both Spain and Tunisia have qualified for the tournament. The 2010 World Cup champions will face Portugal, Morocco and Iran in Group B. Tunisia have been drawn in Group G alongside Belgium, Panama and England.