You will need to defeat a special Sonic with a power level of 4400, so be sure to equip your most powerful Spirit teams for an easier victory.
The Infinite spirit can be obtained in the Spirit Board by completing the battle with that spirit, and then winning in the roulette game afterward. How to Get the Infinite Spirit Obtain through the Spirit Board