On iOS18 Beta 3 Version, Unable to load a javascript file from Salesforce in the WebView.

On iOS18 Beta 3 Version, Unable to load a javascript file from Salesforce in the WebView.

When trying to load a javascript file (static resource) from Salesforce in WebView. It's throwing below mentioned error.

Error: Refused to execute https://*.my.salesforce.com/resource/1722959303321/T1C_Base__DealsLib/src/ace-lib.js as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.

The error is only happening after upgrading to iOS18 Beta. It was working fine before.

Expected Behaviour: File should be loaded successfully Actual Behaviour: File is not loading Xcode Version: 15.3

On iOS18 Beta 3 Version, Unable to load a javascript file from Salesforce in the WebView.
 
 
Q