Prediction of Phase Separation During the Drying of Polymer Shells