iOS continuous build server from svn - ios

I need some tips regarding continuous integration for iOS application. My previous build system was with Jenkins.
Jenkins in a windows machine ssh to my Mac, build it and then upload to an internal server for testers.
http://i-phone-dev.blogspot.no/2013/07/jenkin-build-xcode-project-in-mac-slave.html
But I would like to update my build server and want to have a dedicated build server for continuous integration. My office have total windows system running with SVN server and other things.
First I will buy a machine, mac mini or mac pro.
I need suggestion on
Advantage of using Mac Mini Server and Mac Pro
I guess now there is no Mac Mini Server now. I see only Mac Mini in Apple website. Probably with Mac Mini I have to buy Mac OS X Server.
Do I really need OS X server. Or I can use OS X with Jenkins?
But it seems to me like, if I want to use XCode continuous integration then I need OS X Server.

Related

Invoking tests on iPhone from Windows OS using Remote Server

I've recently started working with Appium. Have automated a flow on Android device and successfully run on the device. Have tried the same with iOS where the tests were invoked from Mac. The document on appium states as following
"Appium on OS X supports iOS and Android testing but from Windows we
can only test Android."
My question is, has anyone tried invoking the tests on iOS platform from OS other than Mac OS X like Windows or Linux?.
For example, using a Remote Server from Windows OS to connect to an Appium server running on Mac.
Or as usual do iPhones remain incompatible with anyone other than Mac.
Yes you can automate iOS devices using appium from windows platform
all you have to do is run your appium server in MAC with your ipv4 address..
then execute your automation script from windows to that ip address..
make sure that ip address is pingable from windows platform...
In this way you can actually use c# for automation script to automate iOS platform

WinObjC in Macbook

The prerequisite to work with BridgeiOS is to have windows 10 and latest visual studio.
Is there a way we can develop it in Macbook?
Yes, you can develop Windows 10 apps on a Mac Book, but you will need to have Windows installed. I use a Mac Book pro, and I have three ways of running windows:
1) Installed via Bootcamp, which Apple provides
2) Installed via a virtualized piece of software, like Parallels, which allows me to boot into OS X, then into a Windows environment.
3) If you have an Azure subscription, you can create an Azure VM with Visual Studio already installed, and that way you can do development from any machine. Here is a tutorial on how to do that.
If you need a free Azure account, you may be eligible for BizSpark. This can pay for the bill for your Azure VM running Visual Studio.
Just as you need a Mac to build for iOS, you need a Windows Machine to build for Windows (even with the iOS Bridge).
However, unlike with Apple, Microsoft will let you use a virtual machine.
I have a MacBook running Windows via Parallels. There's also a free version of Visual Studio available. So it's definitely possible to build for Windows 10 on a Mac.

Jenkins and OS X Server on the same machine

I'm working on a Java App and on an iOs App. I will like to make continuous integration on both projects.
I know that Jenkins can be use for CI on iOs projects, but I have to use OS X Server for the iOs app.
So I would like to know if someone has configured a mac with OS X Server using CI with XCode Bots, and Jenkins on the same mac ?
Is there some constraints to respect configuring OS X Server and Jenkins on the same machine?
thanks
I haven't tried setting it up on OS X Server but I did it successfully on Mavericks using this guide here:
http://www.brianjcoleman.com/tutorial-setting-up-a-jenkins-automated-build-server-for-ios/
I'd say to just give it a try and see what happens.
So I just install OSX Server, config XCode CI on it, and check if integration working on my project.
After I install Jenkins, set it up for my other project and it's running pretty good.
I just have to try building the two project at same time, but I don't think that make any problem knowing that Jetkins and XCode bots create new process for each build.

Invoking an iOS build from a Windows PC

Can we build(Compile+Link+Build) an iOS project from a windows PC?. I want to remotely compile and build an iOS application from a windows PC through command. Is that possible ?
I know that it is possible to build an iOS application via commandline in ios using xCodeBuild. Can we do that remotely from a windows PC ?
Just use SSH to log into the Mac machine and run xcodebuild? That’s the essential core trick, and depending on your needs you can add more bells and whistles. For example the Jenkins continuous integration server can manage a “slave” Mac machine to build and test code, showing you the results.

Do i need a separate iMac for OSX Server on Mavericks

I am an iOS developer and I want to implement continuous integration in Xcode.
I have received following email from Apple
As an iOS developer, you can now take advantage of continuous integration in Xcode by creating bots with OS X Server for Mavericks that automate the process of building, analyzing, testing, and archiving your apps. As the bots do their work on the remote Mac, Xcode on your development machine displays the build and test reports. Bots can generate a regular release for your QA team, be configured to execute on every check-in, and even test your apps on connected iOS devices.
I have downloaded OSX Server for Mavericks and its like Application.
My Question is can I install OSX Server on my development iMAC machine and implement continuous integration? Or I have to have a separate iMac for OSX server???
I am running OS X 10.9 and the Server.app on my MacBook Pro Xcode development machine with no issues. I realize that your question is specific to an iMac, but I would not expect any issues.
I have a few Integration Bots configured and everything is working fine. The server is building, running test on real devices, and sending me pass/fail reports via email.
You can install OS X Server on the development iMAC. Configure the server and Xcode for Continuous integration.
Guide: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/
WWDC video:
http://devstreaming.apple.com/videos/wwdc/2014/415xx83xkyr55fj/415/415_hd_continuous_integration_with_xcode_6.mov?dl=1

Resources