The configuration of iterm2-zmodem is very clear, the only note is not to copy

profiles->default->editProfiles->Advanced
Copy the code

If you want to use another profile, you need to change the default profile to this one