In objectModel method, if frameworkBundlePath does not exist, it is set to mainBundlePath. This allows the project to be included as a subproject in other projects.