To get an em dash on an iPhone, long hold the hyphen—it’s the third (longest) option.
(Edit: typo. Using iPhone after all.)