Why do i need a mac os to do develop IOS Apps in flutter? - flutter

I am new to Flutter. Why Do I need a Mac OS to develop IOS Applications in Flutter?

Because of Apple policies.
On the page below it is stated that you need to use Xcode 12 to build your iOS Apps, which is only available on Apple computers.
https://developer.apple.com/app-store/submitting/
Also as far as I am aware, you need to own an Apple computer / connected account to publish apps.

Yes, because of Apple policies.
However, you can use tools like Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that lets you access remote MacOS build machines.
To install Appollo run pip install appollo, then setup your Apple developer account with Appollo (https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html) once this is done you can start building your app with appollo build start.

Related

flutter 2 ,can build an iPhone app (ios) without an Apple device?

I heard that (flutter 2) after the new update, you can build an iPhone app (ios) without an Apple device. Is this correct? If this is true, how can I do that?
You can write an iPhone-compatible app without Apple device but you will need a Mac to test, build and push it to the App Store. Nothing changed about that with Flutter 2
No, you can't build without a MacOS.
However, you can use an external tool like Appollo (https://github.com/Appollo-CLI/Appollo), a Python CLI that lets you connect to a MacOS machine to test your app and configure Xcode.
You can install Appollo like this:
pip install appollo
Follow the doc here (https://appollo.readthedocs.io/en/master/tutorial/index.html) to link your Apple developper account with Appollo and more.

Can built ios app in ubuntu with flutter framework?

I'm new in Ios development and flutter. I want to make an app for ios. I've Ubuntu system and already app coded in the dart language. Now Is that possible to build ios app for the test in a real device?
You need an OSX machine with XCode to build iOS executable.
You can use a cheap Mac Mini or hosted solutions for that step,
but there is no way to do it with Ubuntu only.
You cannot do it unless you use an external tool for example: Appollo. It's a python utility that let's you access a Mac build machine. It's pretty easy to use. Check their demo out on YouTube.
If you have Appollo installed you can run the following command in your console to start a build.
appollo build start --build-type publication
Unless your ubuntu system is running on Apple Hardware, no.
It is not illegal to run macOS in a virtual machine on Apple hardware
for any macOS since Snow Leopard Server. It is against the Apple EULA
to run any macOS on non-Apple hardware, directly on the hardware or in
a virtual machine.
From https://www.quora.com/Is-it-illegal-to-run-OSX-in-a-virtual-machine-I-remember-Apple-saying-their-OS-was-free

How to setup PhoneGap without xCode installation?

I am beginner to PhoneGap app development. Below are my queries.
1. Is it possible to setup PhoneGap SDK without Xcode installation.
2. If YES then how to do same.
3. If NO then is there any way I can write a iphone application without Xcode installation(I dont want to pay 99$, because I m a begineer).
4. I have a MAC, Windows, Linux PCs. Tell me all the free SWs. Its ok if I am not able to test the application initially.
Is it possible to setup PhoneGap SDK without Xcode installation.
No.
If NO then is there any way I can write a iphone application without Xcode installation(I dont want to pay 99$, because I'm a beginner)
XCode is free. It's in the AppStore. The $99 is to give you the ability to distribute applications in the AppStore and run it on a device. You will still be able to develop and run applications in an emulator for free.
I you don't want to install the dev environment, you can use their cloud service to build native apps written in HTML+CSS+Javascript. It's free and allows you to target all the supported platforms.
https://build.phonegap.com/
You only have to upload your finished app and get a compiled, native app.

Use VirtualBox to compile iPhone app (via PhoneGap or Titanium) on Windows 7 machine?

Is it possible to use VirtualBox (https://www.virtualbox.org) to compile an iPhone app on a Windows 7 machine?
Specifically, we would like to utilize PhoneGap (http://www.phonegap.com) or Titanium (http://www.appcelerator.com/) to build the iPhone app.
PhoneGap requires Mac OS X Snow Leopard, which we would install on an instance of VirtualBox.
Has anyone done this before?
Yes, we understand this violates Apple's ToS. This is a prototype.
I would recommend looking into PhoneGap Build https://build.phonegap.com/
PhoneGap Build allows you to upload your source to their build service and get back app-store ready packages for a variety of platforms.
As far as I can tell, the only thing you need a Mac for in this process is to set up your provisioning profiles and developer certificate. Then you upload those to PhoneGap's service. From there it seems you should be able to use a non-Apple computer to develop and upload to the service.

How to setup Development Environment for iPhone Applicaiton Development on a Windows 7 Machine?

I am an Android Developer. I want to get into iPhone development as well.
As mentioned in many sites, to develop an iPhone/iPad application we need a mac with Xcode as an IDE.
Is there a way to develop, build and test an iPhone application on Windows machine.
I came to know that DragonFire SDK is one of the option to do that.
But please guide me through the installation steps and steps to be followed to set up Dragon Fire SDK.
and if possible provide some links where I can find some info on how to start writing iPhone application on Windows.
You can't developer iPhone app on windows in the for the native SDk (read Objective-C) you can use HTML apps and developer them on windows. Or use MonoTOuch (which will need to build the app on a mac).
And what is the problem with the Dragon Fire SDk, all the information you need is on there site.