I was looking for information about how to test IOS apps with Appium, and I saw that all documentations are using Mac for demonstration. I wondered if I test run local tests and use Appium's IOS-inspector on Widnwos. So far I have found one source stating that it is impossible unless I install Mac Os on visual desktop. So I wanted to make sure that I have to use a Mac Os system to test IOS applications on iPhone/iPad, etc. Thanks!
Indeed you have to use Mac OS to test iOS apps, it will be a lot easier than to try and install a virtual machine trust me, since Appium it's a pretty robust framework you will have a lot less problems if you run it on a Mac
Related
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 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.
I've got DalekJS running really well on WinLin, but am interested to know exactly what the process is for running it on iOS.
http://dalekjs.com/docs/ios.html
When running on Windows, for example, I install the DalekJS npm globally, and then install the IE web-driver, before executing my test suite.
On iOS am I expected to do the same thing? Can you install NodeJS on an iPhone? Is there a difference in doing it on the actual device, vs doing it through the emulator?
Also, what are the current obstacles in making it run on iPad?
Thanks!
Dalek will not run on the IPad/Iphone etc. itself (neither will or must NodeJS), it uses the native debugging tools that come with the dev environment through Appium.
Unfortunately, due to some changes that happened in MacOS 10.8 & 10.9 (Changes in the user rights management, etc.) it can only do this in the simulator. We are working on bringing back support for "real" devices with the next version of DalekJS.
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?
I've not been able to find a definitive answer to this so far, does XCodeBuild have to run on OS X in order to build iOS apps, or could it run on unix/linux?
The intention is to get it set up with Jenkins for continuous integration.
At work we run all continuous integration on Mac servers despite being a Linux-only office. There is no availability of the Xcode tools on Linux. Even then the best support for those tools is only of the latest version of Mac OS.