2D Game Engine for iOS and Android

I have made a 2D Android game using only Java and Android Studio; no engines, no frameworks, no libraries, no nothing. I want to make the same exact game for iOS.

I was originally planning to make a replica using Xcode and Swift. However, I have realized that this would be inefficient and I would be better off using a cross-platform solution. I want to find a game engine/framework, such as unity – which I hear is bad for 2D games, that would allow me to build to both Android and iOS.

Do you have any suggestions?