iOS - Support for third party frameworks and ti.current modules

ReferenceError: resourcesDir is not defined