bug: The app is not working on iOS simulator, shows could not find a storyboard named 'Main' #3876
Replies: 2 comments 2 replies
-
I can't reproduce. Moving to discussions so maybe somebody else can help you. |
Beta Was this translation helpful? Give feedback.
-
@jcesarmobile The problem has been fixed! I tried to remove the 'ios' folder but didn't work for me. What I did is remove @ionic/cli npm package and cocoapods from the macOS. Then I install them again and restart the device. I created a fresh new Ionic app and then build a project to add the iOS platform 'ionic cap add ios', it works! I have noticed that the iOS project opened in the old Xcode version (11.2.1), and when I build and run it again on the iOS simulator, it crashed. On the other hand, if I opened the latest installed version of Xcode (11.4), and I open the Ionic - ios platform on that version, it works! It looks like an Ionic/Capacitor needs to be opened directly on the last xCode version installed on the device. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Capacitor Version
Platform(s)
Current Behavior
Expected Behavior
The app should run on iOS simulator without any issue.
Code Reproduction
Other Technical Details
npm --version
output:node --version
output:pod --version
output (iOS issues only):Additional Context
I tried to solve this problem by removing the 'Main' storyboard file on Info.list as mentioned on below link, but it's not work even!
https://stackoverflow.com/questions/19240054/could-not-find-a-storyboard-named-main-in-bundle
Beta Was this translation helpful? Give feedback.
All reactions