I have no idea how to do this could anyone help me?
I’ve never done it, but you’re going to have to follow the information here:
http://wiki.compilgames.net/doku.php/gdevelop5/publishing/android_and_ios_with_cordova
Additionally, in order to compile and publish an iOS app you will need to have a Mac running a recent version of MacOS, I believe.
I do have a mac, and I have followed the tutorial. It for some reason doesnt work it just whenever i test it in Xcode, it just wont load in the game.