Ixpand not detected

have you checked the lightning port to see if there is lent or dirt in the port that may be blocking the pins not allowing it to make a data connection?

I would also try connecting the phone to the computer to see if it can connect normally to a computer.