Heat the olive oil in a large pot over medium heat.
Add the diced onion and cook until translucent, about 5 minutes.
Stir in the minced garlic and cook for an additional minute.
Add the chicken breasts to the pot along with the chicken broth, cumin, chili powder, salt, and pepper.
Bring the mixture to a boil, then reduce the heat and let it simmer for 20 minutes.
After 20 minutes, remove the chicken from the pot and shred it using two forks.
Return the shredded chicken to the pot along with the white beans, corn, and diced green chiles.
Simmer for another 10 minutes, and then stir in the lime juice and cilantro.
Taste, adjust seasoning as necessary, and serve warm with your favorite toppings.