In due time, Philippines and China may finally settle down on which island belong to who in the disputed areas and sweeten by economic deals --- a final settlement could be signed and the dispute finally resolved.
This will be the best outcome - without resorting to military confrontation.