For macOS you need to go to /Applications/Ida -> Show contents -> MacOS folder and search for libida.dylib、libida32.dylib
copy them to the patch folder and run the node crack script. now replace the files from the macOS folder with the new patched file. Because the new files won't be signed by HexReys the IDA will crash so you need to remove the signature and resign. MacOS % sudo codesign --remove-signature libida.dylib && sudo codesign -f -s - --timestamp=none --all-architectures --deep libida.dylib && sudo xattr -cr libida.dylib
MacOS % sudo codesign --remove-signature libida32.dylib && sudo codesign -f -s - --timestamp=none --all-architectures --deep libida32.dylib && sudo xattr -cr libida32.dylib -- Tested and working on macOS ARM M Chip