Issue #5335: Make default template work for iOS and Mac