Fear not, for basic iPhone charging most USB-C cables will be fine. But some are finer than others. Macs use Thunderbolt cables that have the same Type-C connector as USB-C so look the same but ...
The EU common-charger rule covers a range of "small and medium-sized portable electronics", according to the EU, including: Any of these charged using a wired cable will have to have a USB Type-C ...