How run my flutter project on iOS (on my Linux machine)? - flutter

Android studio 4.0
Linux Mint 19.3
I create my simple Flutter project and success run it on my Android device.
Nice.
But now I need to run my Flutter project on iPhone. So... to do this I need... what I need?
Maybe install iOS on Virtual Box (on my Linux machine) and then install XCode and then run my Flutter project on XCode? Or maybe has another approach?

You can do that with CI/CD services like Codemagic
How to develop and distribute iOS apps without Mac with Flutter & Codemagic

Related

Create apps using Flutter without Mac and iPhone?

I don't have a Mac and an iPhone. How can I make applications using my windows laptop for coding and without an iPhone for trying to run/debug the app? What are the best steps for me??
Notes: I have made several applications for android and web using flutter.
Thanks...
You can start by creating a Flutter project on your Windows laptop. Also, the iPhone is not required in Flutter, so you can code in your Windows laptop without needing an iPhone(Build iOS apps with Xcode, which only runs on macOS) to try to run/debug the app.
You cannot build a flutter iOS app directly from Windows. What you can do is use external tools to do it. One of these tools is Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.
Here is a demo of how to create the IPA on windows : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=11s
It's pretty easy to use :
First install it
pip install appollo
Then setup your Apple Developer account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
Finally you can build the app and retrieve the IPA
appollo build start --build-type ad-hoc
appollo build ipa
And that's it.

Flutter desktop questions

Please, if I setup flutter desktop on my Mac, can I develop a desktop application for windows?… (using mac for developing a windows desktop app)
Thank you .
I tried developing flutter desktop app with my Mac for macos .
You can write the code on any OS. However in order to compile your code you will have to do it on Windows OS.
See the documentation:
Note: To compile a desktop application, you must build it on the targeted platform: build a Windows application on Windows, a macOS application on macOS, and a Linux application on Linux.

Flutter Project build in macOS

I am windows user and have no experience with macOS. I have developed flutter app in Windows 10 using Android Studio. All working fine and already tested with physical Android Device. Now it is the time to test IOS device. There's the problem started.
I can't build my project in XCode. I already changed user defined build settings as shown in screenshots
When build the project, it is still finding the flutter SDK location of Windows OS
This is my flutter doctor check in macOS
Please guide me.
I found the solution with the help of my friend - flutter developer.
Go to the project directory and run flutter create -i swift . It will recreate the ios folder in project.
Then run pod install command under ios folder

Is there any way to connect my flutter ios project to firebase from WIndows?

This is my very first flutter project. I do not have Mac pc/desktop . Sources from web instructs to approach rental methods. I cannot afford those techniques. I have to add IOS app using android studio or Vs Code. Help me out please
It's not possible add iOS to flutter without install xcode in your machine, so you need run project with mac OS
But for learning purpose you can install mac os on VMware and develop on it, but for publish app on itune store you need export binary from physical mac computer.

How create android emulator without android studio?

Android Studio 3.2.
I create 2 emulators by Android Studio. Nice.
But the question is:
Is it possible to create android emulator WITHOUT Android Studio?
Our QA need to use emulators for test our applications. But it not need Android Studio.
How QA can create android emulator without Android Studio?
There are a lot of 3th party emulators out there, which are quite easy to use and fast to set up. Just have a quick look in your favorite search engine. But here is a short list of better known ones:
BlueStacks
Genymotion
Nox App Player
MeMu
ARChon
KoPlayer
They should all be able to run your app on a pc to show someone. Have a look on them and inform yourself about the licensing and features.
1 - Download Java JDK from the following link and install: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2 - Download the Android SDK from the following link and install: https://android-sdk.uptodown.com/windows/descargar
3 - Download Intel HAXM from the following link and install: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm
4 - Start the SDK Manager, install the tools and platforms you need.
5 - Start AVD Manager and create new emulator.
Yes, we can setup Android Emulator without installing Android Studio. We have to download commandline-tools and use sdkmanager, avdmanager, emulator tools to make an emulator and run it.
Ref:-
https://stackoverflow.com/a/65537217/11620356
https://stackoverflow.com/a/65563126/11620356