Is CI for iOS Development possible on linux? - ios

I need to setup a Continuous Integration environment for iOS Development, and I have it setup already for my Java Project on a linux machine. So would it be possible to setup this up iOS as well on linux itself? (OR would we require a machine with OS only?)

You Can Install app named "WINE" on linux so u can access VMWARE.exe that can run on your linux, you can run VMWARE based MacOs in VMWARE

Related

Using Selenium with ios-driver to test iOS mobile apps from a Windows machine

I am investigating the feasibility of testing native, hybrid, and web-based applications using Selenium for Windows (web only), Android, and iOS mobile devices (e.g. iPad).
The ideal setup for a tester would be a Windows machine with physical devices connected via USB. This works with Android as all that is needed (excluding the ADK and USB driver setup) is Selendroid's stand-alone server and a JAR dependency. However, from my understanding, this is not possible with iOS mobile devices using ios-driver. I have also checked out Appium, and they too state that a Mac computer would be needed to test iOS devices.
So that brings us to my question: Is there a way to test iOS mobile apps (web, hybrid, native) from a Windows machine?
Here is a list of preferences:
- Use Selenium and other Selenium-compatible plug-ins
- Run tests from Windows machine
- Cannot use iOS VM
- Cannot use Mac machine with "middle-man" application to communicate with Windows machine
- Have to test physical mobile devices
- No "hacks" (e.g. Jailbreaking)
It is also safe to assume that I have no experience developing iOS applications.
It is possible to run the tests from a Windows machine but not the way you are probably thinking. You will still need a Mac. Here are the requirements:
A mac on your network with Appium server running
Has Appium environment installed properly
Has the .app on the machine
If you have these three requirements fulfilled and there is no firewall blocking network access to the Mac then you can do it. You will have to actual tests on the Windows machine but instead of specifying 127.0.0.1:8080 in the setup method as the IP address of Appium server you will replace it with this: yourmacsipaddress:8080 and this should execute the test properly.
Remember that you have to specify the path of the .app in the test which is running from your Windows machine. But the catch is that the path has to be the path of the .app in the Mac and not on your Windows machine.
So the tests will run from your Windows machine but the installation of the app, the automation, and the testing will be done on the Mac but you will get the "pass" or "fail" update on your Windows machine.
If you do not want to set up appium in your local machine, You can also go with sauce lab.
sauce lab provide vm to you. select appropriate device and run using appiumDriver. Provide below capabilty and run using appiumDriver. your remote url will be like this
http://your_username:your_access_key#ondemand.saucelabs.com:80/wd/hub
For iOS Native,
{"driver.class":"io.appium.java_client.ios.IOSDriver","platformName":"iOS","browserName":"","platformVersion":"your os version","deviceName":"device Name","appiumVersion":"1.5.3","app":"sauce-storage:Your application name on sauce storage"}
Your application should be available on sauce storage. You can upload using sauce api .
You can also use this same for web application, android/ ios native application.

Setup rubymine to execute commands over ssh

I'd like to setup a rails development environment where everything is running in a Ubuntu VM but I use windows 7 for display.
Under ububtu (Which is a virtualbox VM)
ruby
rails environment (rvm, rails, rails webserver...)
git
Under Windows (native OS)
browser
IDE
I SSH into the VM for executing commands, and files are shared with nfs.
Everything works great, but I would like to try RubyMine as my editor. So in this setup I have two choices:
Install RubyMine on windows, and configure it so it executes it's commands in the VM via SSH.
Install RubyMine on ubuntu, and display it in windows with a X server running on windows (such as Xming) : rubymine --display windows_ip:0
So my question is : Is it possible to configure rubyMine so that it executes commands via SSH ?
I have seen this feature request, so my guess it that it's not currently possible.
Currently we're working on this feature and it will be available in the next 5.0 EAP

Developing Ruby Rails apps on small linux distro in Virtuablbox

I installed Ubuntu Desktop 12.04 LTS in VirtualBox on my Macbook Pro (i7, 4gb ram) in order to do development. Shockingly it's not very snappy (quick/responsive). I want to know which distributions of Linux are small/light but can be used for Rails development in Virtualbox.
Thank you
I did the same using Lubuntu (the light version of ubuntu) installed on a virtual disk. Moreover, I m using a portable version of VirtualBox to have everything on a usbstick.
I ran the Lubuntu from the usbstick and began to develop some rails apps but the OI was not that great for user experience so I copied the virtual disk with lubuntu on the harddisk together with the virtualbox folder. With this setup it work realy fine!
Also, I'm using the guest additions in order to keep shared folders on the usbstick to share the projects amongst machine.
Hope it can help you in your experience.
I use arch linux when developing. It is not designed with being “easy to use” as priority bu it is customisable for everything you need. I like the arch linux way.
Linux VM is not necessary for developing RoR apps on OSX.
Try to google on how to develop RoR apps on native OSX.

Delelopment environment for jruby rails in windows with vagrant and chef

Is it worth it to setup chef with vagrant to develop rails apps in windows (interrested in jruby) and then deploy it to cloud? I am trying to figure out how to setup a nice development environment for windows (windows 7 64 bit) but I am a bit lost.
Vagrant is a good tool to replicate production environments on your local machine. It lets you configure one or many VMs to simulate load balancers, web servers, and production data storage systems all on your computer.
Some people find it simpler to install Vagrant as a development environment as well. You get a shared folder that allows you to code on your host OS and then "deploy" immediately to a simulated production environment and test on your machine. However, it's not 100% necessary and some developers dislike having to fire up a VM to start coding.
I use a combination of both. I develop locally and test changes locally, and then I use Vagrant to fire up VMs and test my code in a simulated environment.

Develop application to run on ESXi 5.0

Is it possible to develop 3rd party apps that will be run on the ESXI 5.0 host machine? For example, daemon that monitor the ESXi machine.
Is it possible to compile application on Red Hat Linux and then install them on the ESXi machine? Should we use specific development environment?
Where can I get information regarding development for ESXi?
You can use the toolchain provide by VMware. WMware provides 3 different version toolchains for their OSes.
ex. ESXi 5.5 toolchain
https://my.vmware.com/web/vmware/details?downloadGroup=ESXI550_OSS&productId=353
Yes, only what you need to do is to compile your application with static. And yet one: with vmware esxi, there is only a very limited /proc!
If my understanding is correct, you probably want to do kernel module or userworld development.
Typically, only vmware partner can get the vShpere kmdk devkit. Please find more info here https://developercenter.vmware.com/dcpn-faq.

Resources