Question: how to transfer contacts from gmail to iphone x?
Answer: Select Settings.
Scroll to and select Accounts & Passwords.
Select Add Account.
Select Other.
Select Add CardDAV Account.
Enter your Google information and select Next. ... 
To copy your contacts from the SIM card, go to the main menu and select Settings.
Scroll to and select Contacts.