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

...ashed before the check to see if the file even exists as well as fixed the undefined libFile variable when displaying the error.