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

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.

Related

Why do i need a mac os to do develop IOS Apps in 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.

How to build an iOS AdHoc app with flutter

I have an flutter app for ios and can build it for the app store using:
flutter build ios --release
But how can I build an Ad-Hoc app for ios?
Pre-requisite
Apple Developer Program membership ($99/year)
Distribution certificate added to your machine
In the Xcode project (Signing & Capabilities tab), select your team/ developer account which has the Apple Developer program membership.
1. Create an Archive (.xcarchive)
Technically you do not build an Ad Hoc app, you build a debug/release/profile app, which you then distribute via a distribution method, one option is Ad Hoc.
Using command line: You can run flutter build ipa to build the xcarchive. Then it should show a URL for your Runner.xcarchive at the output (double click that link), or
Using Xcode: Open the Xcode project, and in the menu bar, click Product > Archive. The organizer window will open once the archive is complete.
2. Create an .ipa
Now the Organizer window should be open. Press the Distribute App button: you should see multiple options. You can share the .ipa file with users, and they can install it onto their iPhone:
It's worth noting you can also create an .ipa using xcodebuild, but when you're first learning, it's nicer to use Xcode.
3. Install the .ipa on a device.
I wrote an answer about that: https://stackoverflow.com/a/68968301/7365866
Reminder
Just remember to do this:
Action Required: You must set a build name and number in the pubspec.yaml file
version field before submitting to the App Store.
You can use Code Magic's CLI tool to achieve that.
On their CLI (locally installed or on your CI server), there is an option to add
--type IOS_APP_ADHOC
See at the end of their signing documentation section for Specifying code signing configuration
You can use --export-method in the flutter build command, example:
flutter build ipa --release --export-method=ad-hoc
For Someone out there, who have trouble building ios application since they don't have an apple developer account, here's a method that i do and i use.
1st if you are an ios user you can connect your ios device into your mac and do a flutter run --release. you can also do it with just the simulator too and it does works the same.
Now, the ios app is created, using your 7 days free trial developers provisioning profile, what we need is to use some programs likie imazing,apple configurator or itunes, to get the ipa from inside the app.
Now you have build the ios app with a release version, and you can redistribute it with just a 7 days free trial version of yours.

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.

publish an app to cydia from appcelarator?

i'm trying to find a way to publish an app to cydia other than app store from titanium appcelarator so i can test the app before registration for the developer program.
are there any clear steps to build and publish the app to cydia and to the app store?
If you go into the build/iphone folder within your project you'll find the XCode project for the app generated by Appcelerator. You can open this into XCode and build the app in the same way you would any app for distribution to cydia.
If you are just after beta testing however, check out http://www.testflightapp.com/ it allows you to distribute and manage beta testing over the air and is all legit.

how to run project in iphone mobile

hi i am new to iPhone application development. i developed a simple project on xcode now i check it in mobile. how can i done this ,means need to create exe file or any thing else
pls help me
The first step is to join the iPhone development program. Once you that and follow the instructions of createing a developer certificate you can run your code on a physical device. If you're using the latest version if Xcode just connect your device - choose device in the build settings and build & run. It will install the app on your device and run it.
iPhone developer program
Obtaining your iPhone Development Certificate - Requires login to apple dev center