Pokemon helios city gym crash

so I was playing the game and when I was about to fight the gym leader in the jade tower, the game froze. I then reboot the game and the game is stuck right before the fight when u stand up on the battle place, where it was before. Does anybody know what to do cause i wanna play the game but can’t cause it freezes there all the time?

(playing on mac btw)

go to save back up files and rename those all three or four game.rxdata

Do you have the latest patch? Cause that problem happened to me with the Gym after the one you are on. U need 1.2.3 patch