You can bring almost any non-liquid food item (wrapped or otherwise in a container) through security. You only need to send it through the X-ray machines. We’ve done this before with no problems.
But there are always trips where you don’t have room for food or no time to pack it, or you’re out all day before going to…