iOS development with React Native or Flutter with minimal apple hardware - macos

Not sure if this has been asked before.
To target iOS for mobile development with react native or flutter, do I need to move my entire development machine to an apple one? I do know that for any serious iOS app development, I'd need to get a mac.
But is it possible to use mac machine minimally with the bulk of the development being done in my non-mac main machine?
For e.g. I'd buy a cheaper Mac mini with low specs to get the XCode, run iOS simulation and push the app to app store. And during development from my main machine, I'd somehow connect to this mac mini for iOS simulation.
Is it possible? I just don't wanna move my entire desktop usage over to a mac.

if you wanna development in light machine use react native and use its expo cli . its very light you did not need to make build in Xcode and android studio
check expo documentation here

Related

What is the best alternative for Xcode to run the iOS simulator in Windows 11 for React Native cross-platform app development?

I want to run the iOS simulator on Windows to build my React Native apps. I can't use Xcode because I don't have a Mac or an iPhone. That's why I'm looking for an alternative. I test my Android apps by using Expo Go to mirror my Android phone to Windows, but as I don't have an iPhone and can't mirror it to Windows, I need a simulator to run and test my IOS apps. What is the best alternative for Xcode?
There are few IOS simulator out there for windows and all of them are paid version. Smartface, Appetize etc. As a student I can't afford them for my learning purpose.
try this one Expo Snack. you have to put your code here but i think it will work fine. there is no other free IOS simulator for windows.

Moving Finished React Native App On Windows to Mac for Generate IPA

I am trying to create a React Native application for both android and ios. I have a PC with Windows 10 in it. I know that I can only develop android applications because in Windows, there is no SDK's what xcode has.
I wonder that if I could just finish an application in windows and copy the whole project folder then transport it to a MAC after finishing the app. I thought with this way, I could generate an output which is available to upload on AppStore.
Ps. I am aware of the existence of Expo but due to some reasons I wanted to solve this question.
Thank you.

React native on Android studio and iOS

I'm going to install Android studio and run react native on it
But will it give me iOS apk still!?
I have heard that we don't need to rewrite react native code for iOS .
React Native IS cross-platform, building the apps for production on different platforms, however, requires a different procedure. What makes it cross platform is that you write the source codes including all of the components (Well most of them) one time, and it automatically generates the native codes for Android and IOS.
Expo helps in testing the app on both android and ios without the need of a Mac (it has some other cool features too!). So if you want to release to apple store, you'll definitely need to use XCode on a mac (or a virtual machine running MacOS like VMWare)
In order to generate the release apk for android: Android Release APK
and for IOS: IOS
There are two flavours of React Native. Expo and react-native init
This SO answer explains the main differences between them.
What is the difference between Expo and React Native?
tl;dr
Expo (it is a set of tools around react native) will make crossplatform applications without requiring you to edit native code. It can make both iOS and Android apps on Windows PCs and Macs. Expo builds the apk and the ipa on their own servers.
react-native init (actual react native) it will also create cross platform apps. It may require you to work with native code. You can only develop iOS apps on a Mac. But it is much more flexible in what you can do and what dependencies you can use. You have to build the apk and ipa on your own machine.
You best bet is to check out the documentation, all the answers are there. You just have to read through them.
https://facebook.github.io/react-native/docs/getting-started
https://docs.expo.io/versions/latest/

React Native newbie

I want to build a game with React Native. I am doing my testing locally on a personal Android device using the Expo app but ideally would love for the app to be cross platform. I do want to release it to a public store or have it be available for folks to play in some format.
Is it OK if I am using Visual Studio Code (on a Windows machine) to build my app, using node.js command line to run expo commands and testing with live reloading on my Expo app? Do I need to have a Mac + XCode if I want to edit iOS code?
What is the typical development process/toolset used?
React Native IS cross-platform, building the apps for production on different platforms, however, requires a different procedure. What makes it cross platform is that you write the source codes including all of the components (Well most of them) one time, and it automatically generates the native codes for Android and IOS.
There's no typical toolset for writing code, you can use any code editor you prefer (I use Sublime for example), but you should have the needed requirements listed in the getting started page in the official official docs including node.js.
Expo helps in testing the app on both android and ios without the need of a Mac (it has some other cool features too!). So if you want to release to apple store, you'll definitely need a mac (or a virtual machine running MacOS like VMWare)
In order to generate the release apk for android: Android Release APK
and for IOS: IOS

Does Xamarin IOS Simulator Require XCode?

Well , im new to IOS app development i've heard about Xamarin cross-platform app-development, so my setup is ==>
Visual Studio Enterprise Update 1 Installed.
Xamarin For Visual Studio 2015 Downloaded (Now about to install).
Xamarin IOS simulator downloaded.
Now as i have xamarin simulator i don't need to buy a mac or get a hosted-mac , that's clear now i just wanna confirm do i need XCode ? i mean i have xamarin simulator but still i'm confused about XCODE for windows how can i get that should it be getting installed automatically or do i need to give it another shot.
I'm confused about all this .
I just don't* have the budget to buy a MAC and i want to do APP development just (Debugging ) deployment will be done latter please tell me what should i do or give me the proper instruction thanks.
You need to run Xcode on a mac to build Xamarin apps for iOS. A Windows install of Xamarin on Visual Studio will allow you to connect to a mac to do the build remotely, but you still need a mac available that has Xcode installed on it to do the build.
You can download Xcode from the Mac App Store. You will also need the mac to upload the final package to the iOS App Store if you're going to release it there.
An other option is to use a cloud based Mac server, there are several companies that rent them out on hourly/monthly basis for this purpose (MacinCloud being one that I've heard of).
XCode needs and can only be installed onto a MAC OSX system.
Once you have XCode installed, you can use its iPhone simulator to emulate the iOS apps you make on your windows pc.
You need to connect to the MAC by using the MAC Agent on Visual Studio. This connects remotely to the MAC and allows you to debug the app to be emulated onto the virtual iOS device being simulated on your MAC OSX system.
You can use MAC Cloud based server but also, you can use a real iOS device such as an iPhone to debug apps directly onto the device.

Resources