samedi 23 novembre 2019

How to create Runner.xcworkspace in your flutter app?

I have a flutter app that I code in Android Studio. I also have XCode.

I would like to test the app on my actual iPhone.

I googled, and many stated to simply open the Runner.xcworkspace on Xcode. However, I do not have the Runner.xcworkspace file in the iOS folder, as they had described.

Once source advised to run "pod install" on terminal or "flutter run", but I have been unsuccessful.

On terminal, my steps are:

cd Desktop 
cd MyApp
cd ios

--> here, there are two folders: Runner, and Flutter

I have tried "pod install", and "flutter run" in Runner, and "pod install", and "flutter run" in Runner, and both were unsuccessful, stating:

[!] No `Podfile' found in the project directory.
zsh: command not found: flutter

Please advise on how I can create the Runner.xcworkspace

Thank you very, very much!

Aucun commentaire:

Enregistrer un commentaire