Question: how to disable this accessory may not be supported?
Answer: The first thing to do when your iPhone says “This accessory may not be supported” is try connecting it again. Tap the Dismiss button and pull your accessory out of your iPhone's Lightning port. Plug it back in to see if the same pop-up appears.