iconeo:The code still didn't work though
Do you mean code generated by this tool is not working? If so, then this is ok, because no migration tools from one language to another language exists which will deliver 100% working code for any project. You have to update generated code by hand.