Windows/Linux iOS App Development (Compilation not needed) [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I was wondering if there is a way to develop iOS applications on Windows or Linux. While this may seem like a duplicate question, there is one more thing which I was unable to find in the already-existing questions: I do have access to a Mac. "Why don't you just develop it there," you may ask; there's a hitch: it's my girlfriend's Mac, so I can't monopolize it for the amount of time an app would take to develop.
So, basically, here is what I want to do: I would like to do the coding (and preferably some amount of pre-device testing) on Windows (or Linux) for the app, after which I can move it over to the Mac for compilation. Is there some free way of doing this (I've looked at Xamarin and Marmalade, but I cannot afford the licenses for those)? Thank you.
P.S. While I realize that nothing is stopping me from simply cracking open Notepad++ and going at it, I was hoping for something with slightly better testing capabilities.

Xamarin, KendoUI, PhoneGap, Cordova are all frameworks that utilize HTML5, CSS, and JavaScript to create apps that are portable to Android, Web, Windows Phone, BlackBerry and iOS. You need to find a framework like that. In order to compile for iOS/iPhone you need a Mac, but to develop you'll need one of those frameworks above. There is no native way of modifying in Windows, and compiling. Of course you could edit .m and .h files in a standard text editor, but you can't debug or compile unless you are in XCode on a Mac.
Unity3D/Unreal Engine 4 you can work in Windows, and it'll output the iOS XCode Project files, and source code. But you'll still need a Mac to compile it. One of the strict requirements by our friends at Apple.
Once the app is compiled you can submit to the App Store via Application Loader or directly in XCode. I've also heard people submit to the app store via Windows once it is compiled, but haven't done this myself.

The above frameworks work but are not native code. If you want native, Xamarin compiles to Objective-C but has steep license. What it comes down to needing a Mac and Xcode to create native iOS applications. You can attempt a hackintosh but that may not be the easiest solution.

Related

Selenium Equivalent in Swift/iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have used Selenium for making python projects and now I want to try similar projects in Swift with Xcode using Selenium. Unfortunately, I quickly found out Selenium is not for Swift or iOS apps.
I have been spending the last two days researching on a Selenium alternatives for mobile but have not been able to find anything. Everything I have found so far seems to be outdated. Is there any alternative that is for the current version of Swift and Xcode?
The ONLY option available for automating iOS devices is with Appium and the XCUITest driver.
(Unless there are other drivers recently made that utilize XCUITest, which is an apple tool set).
XCUITest-driver can be found here
Luckily, many of the driver commands will be the same as, say, the UIAutomator2 driver for android. They inherit the same base classes/interfaces after all.
You will need to run these tests on your Mac laptop or desktop, as it is not possible to interact with an iOS device as a developer on non apple products.
Here is a set of server bash and python scripts that I used to launch a video game on to iOS (and android devices). This is not identical to what you need, but it should provide a lot of help that you might need.
Github server files (python and bash)
Wiki explaining how to implement and get this working

NSTask missing in iOS? [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've an open source project (gdal) that I want to compile and run as part of an iOS app. I had been expecting to use NSTask but I see now that it was removed in iOS 3.0. I've also seen elsewhere that running external applications, though this would be a resource in my app's bundle, is not allowed.
Has anyone else found a way to run commandline tools within their iOS applications?
It wasn't removed in 3.0, it was never there. There is no way to run separate processes on the iPhone. GDAL appears to be under an MIT style license and has a library interface, so directly linking it into an iPhone app shouldn't have any legal or technical issues.
NSTask is available in ios 4, ios 3 and possibly all of them. To use NStask I had to copy the NStask header file from my mac to my project folder. Also Apple will most likely not allow an app that uses NStask in the appstore. Cydia would probably be the best place to distribute your app
Just reminder:
NSTask will not work under sandbox environment (you will get "deny process-fork"). So put your application into /Applications

Compile Objective-C On An Apple Mac Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
As ,AFAIK, there is no way to compile Objective-C on a Windows machine. Would it be reasonably easy to set up a Mac server that compiles everything for you.
I am writing a game making system and it generates Objective-C code for you and creates an XCode project file. I was just wondering if I could give users the ability to compile there projects through server.
Could I setup a server that compiles XCode reasonably easily or are there services already available which I can direct users to that already do this?
I am aware of DragonFireSDK but that is for DragonFireSDK and not for third-party software, ASFAIK. I would think that they would try to make you buy DragonFireSDK to use there server for compilation.
Please note that I do not expect to find any servers where they compile Objective-C for you but I am hoping there are paid services that do this for you.
Please not I have literally just about no knowledge or experience of servers and/or server programming.
Thanks
Recently, I was looking to do the same thing. I develop for jailbroken devices. In our community, lots of people that can't afford Macs use Linux for building their projects. I see it quite a bit.
Clang/LLVM and Apple's ld64 are used to compile and link Objective-C projects. Luckily, all three are open source, meaning that you can use them on just about any UNIX-based OS. (I think Clang/LLVM supports Windows too, but I doubt ld64 does)
There are many toolchains people have put together to build iOS projects on non-Mac operating systems. You can Google them.
Darling
My personal favorite is the Darling project. It is similar to Wine in that it allows you to run Mac OS X binaries on Linux. When used in conjunction with Apple's toolchain that comes with Xcode, it works wonderfully, much better than any other toolchain. Also, since Apple has yet to commit arm64 support to Clang/LLVM (it's still closed source), this method still allows you to compile for arm64. It's also pretty reliable, in that you'll be able to update your toolchain the second Apple releases a new version, without having to wait for the source code.
I use Darling in my server for copy protection. When someone purchases my product, my server builds a copy specifically for them, embedding their device information in it. That way, if it is pirated, I can see "who dun it". It currently builds 5-6 copies a minute when sales are high, and so far, it has handled the strain just fine.
I've written a (somewhat long) tutorial for setting up Darling on Linux. It's targeted toward jailbroken development, but I'm sure you can adapt it to suit your needs.

iOS in windows machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to learn iOS, but unfortunately I do have only windows machine.
The tutorial I am watching is based on mac operating system.
Is there any way to practice or run iOS simulator in my windows pc. If yes then
how to do that ?
Anything is possible if you set your mind to it. But the simple answer is no. Xcode will not run in Windows and nor will the iOS Simulator. There are other projects out there that offer iOS Dev from a Windows based machine. For example:
http://phonegap.com
Also ManicDev has a blog entry on this subject:
http://maniacdev.com/2010/01/iphone-development-windows-options-available
Bottom line though: If you're serious about developing for iOS - get a Mac. Life will be much easier. Promise. :)
The Apple iOS simulator only works on OS X..
You could use a service like macincloud.com they give you access to a Mac server with the xcode tools installed. It can be a good way to start without making the huge investment.
You could also try Xamarin Studio which also you to use C# to build Android and iOS apps. Could be worth a look.

Has anyone compiled iGraph, graph layout library, for iOS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is it possible to compile iGraph, graph layout library for iOS?
I haven't. I don't know anybody who has. But I've also never heard of it before.
The website claims it is written in C/C++, so in theory you should be able to get it running on iOS. You may need to make some modifications.
Looking more closely at the documentation, it appears to be a plain C API (even better!) so it should be fairly easy to compile for iOS. You will probably have to edit the Makefiles to have it cross-compile for ARM (instead of Intel).
However, the source code is published under the GNU GPL. There are clauses in the GPL that conflict with clauses in the Apple Developer Program Agreement (I forget the specifics but it should be easy enough to research). This means that if you got it working in an app, you couldn't put it on the App Store without either Apple or the iGraph developers offering you different terms.
Not sure about iGraph, but I've been thinking of trying Core Plot.
It's a graph plotting 3rd-party iOS framework.
Not a lot of documentation, but you can see some apps that already use it if you browse their site.
Not sure why you got voted down. Happens.
Edit:
Oh, in that case, this question might help: https://stackoverflow.com/a/5074186/1126783

Resources