`msg` should be `err`, and used to determine success/failure, not `xcodePath`