Real had already qualified for the 32-team event in the United States by virtue of winning the 2022 Champions League.
Scotland assistant coach John Carver alleviated fears after Robertson left training early just days before the opening game on Friday
O’Shea’s Ireland side face Ronaldo’s Portugal in a friendly.
Carlo Ancelotti won the 2024 Champions League title with Real Madrid