[TIMOB-12843] Fixed bug in iOS build where module's library file being hashed before the check to see if the file even exists as well as fixed the undefined libFile variable when displaying the error.
Merge pull request #3904 from cb1kenobi/timob-12843

[TIMOB-12843] Fixed bug in iOS build where module's library file being h...