You can try this:
After it is in a state where it is not working, create an empty macro in the group, and export it. Then change the target application to that it work. Then export that macro again. Then diff the XML between the two exports to see exactly what has changed.