Svelte iframe phaser game on ios emulator

I am trying to load a phaser game in html, from iframe in svelte project

<iframe  src="static/game/index.html" width="100%" height="280" frameborder="0" allowfullscreen style="background-color: black;" title="" />

it works on desktop web browser and android app. but fail on ios app. below is the error from xcode.

**2020-09-09 19:16:15.082884+0800 ESportsMini[5917:159804] [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply, id = 7**

**2020-09-09 19:16:15.483039+0800 ESportsMini[5917:159804] [shim] BKSProcessAssertion "ConnectionTerminationWatchdog" initialized with invalid pid**

**2020-09-09 19:16:15.504293+0800 ESportsMini[5917:159804] WF: _userSettingsForUser : (null)**

**2020-09-09 19:16:15.504408+0800 ESportsMini[5917:159804] WF: _WebFilterIsActive returning: NO**

**2020-09-09 19:16:45.485779+0800 ESportsMini[5917:159804] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service**

[Update], if I am using https content, instead of local content, it would not having this error, but there’s a new error below:

2020-09-09 19:43:46.627524+0800 ESportsMini[15142:276408] [shim] BKSProcessAssertion "ConnectionTerminationWatchdog" initialized with invalid pid
2020-09-09 19:43:46.641694+0800 ESportsMini[15142:276408] WF: _userSettingsForUser : (null)
2020-09-09 19:43:46.641791+0800 ESportsMini[15142:276408] WF: _WebFilterIsActive returning: NO