Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
This check can be done in the `validate` call. No need for calling multiple methods.