I’ve recently developed a Flutter application but encountered an issue where the iOS folder wasn’t automatically created. To address this, I used the following command in the terminal:
flutter create . --platforms ios
This command is intended to generate the missing iOS directory for the project. However, I’m still facing challenges in viewing the app on a simulator. I’m curious if anyone has experienced a similar issue and whether this approach will allow the app to be visible on desktop compilers.
Any insights or advice on this would be greatly appreciated! Thank you in advance for your help.
The ‘flutter create .’ command worked for me in terms of generating the iOS files, however, there currently isn’t an iOS emulator or any method of deploying your app to iOS directly from IDX. I believe if you download and build your project, you can upload it to XCode and work from there, although this would of course require a Macbook . My current method is developing on IDX in Flutter (on a Windows device), then I’ll use a USB drive and borrow a friend’s Mac to upload/publish the app itself.
Unfortunately, XCode currently seems to be the best way to view your app on iOS, although if someone has a different method that would be helpful.