RuntimeError: Out of bounds call_indirect

Hi I have this webGL web app that is able to run on pc and android phone but cannot run on iPhone both for chrome and safari. Can I check if anyone had a similar issue and have a potential solution to this. Thanks