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.
Related
Can we build iOS apps on Windows using flutter?
If we use iPhone and connect it with windows using the cable and run a flutter app then will it work, then can we test the application on the iphone?
no, and yes
You can't build for iOS, without a mac
But you can install virtual box, and install macOS on it, then you'll be able to build for iOS
But that's quite a complex task to do(it was for me, when I tried to do it on my ubuntu), even if you get success with it, it'll consume so much of your computer's resources, and the performance can be poor as well
Personally tried on i5 9th gen, with 4gb graphics, and 8gb ram laptop
You can use the CLI tool Appollo to do that. Check a demo : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=10s
To install it run pip install appollo in your console then configure your Apple Developer Account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
And then you just have to build and publish your app
appollo build start --build-type publication
If I connect a physical iPhone to my Windows computer via usb, is it possible to run a Flutter app on it in VSCode?
It is not possible, you need to install XCode and XCode Command Tools in order to build for iOS. For those you need to use MacOS.
I Develop a flutter application, I am a Windows user. I don't have a MacBook, so is there any way to publish the flutter app on the app store using windows?
You can't build or publish iOS from Windows or any other system except MacOS. If you have no mac take a look at cloud services that can dedicate one to you (e.g. MacStadium). CI/CD services like CodeMagic, AppCenter is an option too, it is more suitable for small or pet projects when you don't need to build iOS often.
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.
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