bug: Stuck on a blank screen when running iOS app via XCode
See original GitHub issueBug Report
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 3.4.1 @capacitor/core: 3.4.1 @capacitor/android: 3.4.1 @capacitor/ios: 3.4.1
Installed Dependencies:
@capacitor/android: not installed @capacitor/cli: 3.4.1 @capacitor/core: 3.4.1 @capacitor/ios: 3.4.1
[success] iOS looking great! 👌
Platform(s)
iOS
Current Behavior
The app is stuck on a blank screen for almost 2 minutes if I run it via XCode.
Expected Behavior
The app should load normally via XCode so that XCode debugging utilities can be used. Waiting each deployment for almost 2 minutes is not a choice.
Code Reproduction
ionic start
- Use the app creation wizard: No
- Framework: Vue
- Starter template: tabs
ionic capacitor add ios
ionic capacitor sync ios
ionic capacitor open ios
- Run the app in XCode
On the contrary, if I just run ionic capacitor run ios
, the app deploys normally without any issues.
Other Technical Details
npm --version
output: 8.4.1
node --version
output: v17.5.0
pod --version
output (iOS issues only): 1.11.2
Additional Context
macOS: 12.2.1 XCode: 13.2.1 iOS: 15.3.1
Thank you for helping out.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:16 (2 by maintainers)
Top GitHub Comments
@cappe are you sure your compiled files are generated to dist instead of www ?
To use live reload (ionic cap run ios -l --external) you don’t need to set hostname, you should rather set url property of the server object.
For example:
running through the same problem rn