'Capacitor npx cap run ios Shows raw HTML with out style

Dears, I have recently migrated our Cordova + React app to Capacitor, the app works fine in android. But in IOS it's weird. when I run npx cap run ios, it show raw html (With out any effect of style.(css folder and it contents are there in public folder.)). The weird thing in , if run the same app using xcode it works fine. I am using gulp for the bundling the js, assets & css files. npx cap doctor output is below. 💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 3.4.3 @capacitor/core: 3.4.3 @capacitor/android: 3.4.3 @capacitor/ios: 3.4.3

Installed Dependencies:

@capacitor/cli: 3.4.3 @capacitor/core: 3.4.3 @capacitor/android: 3.4.3 @capacitor/ios: 3.4.3

[success] iOS looking great! 👌 [success] Android looking great! 👌



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source