Turn off your iPhone by going to Settings > General > Shut Down. Grab a small toothpick, or roll a paper or cotton product into a small tip. Carefully insert the tip into the port and jiggle it to loosen dirt or debris. Give the port another burst of compressed air to help remove anything you've loosened.Feb 2, 2022,
How do you clean a dirty charging port?
Using a can of compressed air, such as Falcon Dust, hold it upright and give the port a few short blasts to clear away any immediate dust. Try plugging in your iPhone afterwards to see if this has fixed the problem.Feb 28, 2022