running xcode on a virtualbox with OSX - ios

I want to play around with developing apps for OSX and iOS, just to see what i can learn. The problem is that i don't have a Mac or money to buy one. I was wondering if it is possible to try OSX on virtualBox and run xcode to develop and even, maybe, publish the apps.

Yes, it is, but it's illegal. Why not just grab a Linux distro, build the open toolchain and develop for Cydia?

Related

Can I run a React Native app on a real iOS device from Windows?

I have a Windows machine and an iPhone and I was wondering if it's possible to run React Native on iOS easily like I can on Android. If so, how can I do that?
No, you can't.
The only way is to install a virtual machine macos on windows like VMware or VirtualBox and run Xcode from it so you could run your app on IOS.

Using Flutter from Linux without XCode

I use Linux (Ubuntu 20.04) as my development environment. I was excited about the idea of reusing the same code for Android, iOS and event Web.
But I'm blocked because I'm using Linux and in all tutorials and examples are talking about the necessity of using XCode to things like setting the FireStore configuration.
I'm not an iOS developer, so I don't want to buy a more expensive and less powerful machine to be able to develop and release iOS applications, and looks like still, Flutter is not the solution.
So my question is, how can I develop iOS apps using Flutter without a Mac?
You can also use a CLI tool named Appollo : https://github.com/Appollo-CLI/Appollo
It's a simple python utility that let's you :
Configure XCode
Create an IPA
Test your app in the iOS simulator
Build and publish your app on the App Store
You can install it by running pip install appollo in your terminal. For a full tutorial check their documentation : https://appollo.readthedocs.io/en/master/tutorial/index.html
You can also view a few demo videos on the Appollo YT channel : https://www.youtube.com/channel/UCBNRrJd4UP0QQRoYF4JOEmA
You can do one of the following:
Use a Mac OS virtual machine.
Use a service to build remotely, like CodeMagic for example.
Get a friend or co-worker to build the app on their Apple machine.
Also check out this:
Is it possible to develop iOS apps with Flutter on a Linux virtual machine?

How to build iOS app using Flutter with Windows 10

How can I build iOS app using Flutter with Windows 10?
I clicked in (build - Flutter - iOS app) from the tab bar, but it responds:
Building for iOS is only supported on the Mac.
It is not possible... You have to have a Mac to build an app for iOS.. That is Apple rules!!
It is not possible on a Windows 10. This way Apple can force developers to buy Apple hardware to develop for both platforms. You can try Hackintosh on a PC which will let you create IOS apps on non apple hardware.
It's not possible directly with Windows. You can achieve it though by using external services that provide Mac build machines. One of these services is Appollo.
Once you have Appollo installed and set up you can run the following command in your console to build your app
appollo build start --build-type publication
this will pre-publish your app on Apple Connect. You then have to add your screenshots etc...
You need to have xcode to create IOS app which is available only on OSX. Not on Windows. Not on Linux or anything. But using Hackintosh (Mac OS on normal desktop or laptop hardware) you can build IOS app on that PC or laptop though.
Apple only allows iOS emulator which is running on macOS, so we need to run macOS on your non-mac computer
Two ways:
Hackintosh (macOS running on non-mac device)
Virtual Machine (VM)
The first way can give you a high-performance environment (compare to VM) to run iOS simulator. But it's strict to your hardware. The best way is to use hardware as close to the original mac as possible.
The second way has better compatibility. You just need to download macOS's image and install system in VMware or other VM software.
But VM will degrade performance, and in my case neither of my graphics cards seem to work, so I'm guessing my CPU was rendering the GUI. Also, modern macOS (meaning better visuals but more rendering pressure) is slower than old macOS.

Developing and running iOS Cordova on Windows computers?

I need to develop an iOS application based on Apache Cordova on my Windows computer.
According to this website, I need to install Xcode that is an xip file. Is it possible to install this file on Windows computer ?
Is it practical ? And if so, what are the requirements ?
No you can't develp ios application with another systme than MacOS.
You should buy a Mac or try to emulate it (It seems to me that it is illegal to emulate an apple system on a host that is not an apple so I won't give any details).
Another solution is the build service of phonegap (https://build.phonegap.com). But you also need a MacOS for submit you'r apps on app store so... Welcome in the beautifull world of "Apple"
You cannot run directly install a mac file on a windows OS !
The only way to achieve this is to run a Mac Virtual Machine on your machine (I don't know where you can download a Mac image...)
Also you can try that

How to create and deploy IOS App from windows OS

I'm creating a mobile application. The requirement is that the mobile application should be deployed in Android as well as iOS. I'm able to create the application and deploy it into Android using Ionic. But how do I do that for iOS. Is there a way we can use the Ionic in Windows OS and create app that is compatible with iOS.
Similar to Android Developer Options, is there any settings in IOS phones that will enable us to deploy the IOS app and test it.
You can run Mac OS X on your Windows machine using VMWare player. try searching 'Mavericks Retail VMware Image' in google, you will get download links... Hope it helps.
You need XCode to deploy any IOS application. To get XCode, you need a Mac.
The closeset thing you can do is using RemoteBuild, but you stil need a Mac.
After installing it, you can launch a build directly from Visual Studio.
For more information and a detailed guide, you can follow this link: https://github.com/Microsoft/remotebuild
You need a macOS to test and deploy iOS application on App Store, You can't deploy application directly by using windows OS.
OR
If you want to deploy application using windows OS then you have to use any virtualization software like: Virtual Box,
vMware and install macOs.

Resources