Selenium Equivalent in Swift/iOS [closed] - ios

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

Related

Is there any SDK for the new Nokia 3310? [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 4 years ago.
Improve this question
As confirmed by Nokia, the old phone is returning with new hardware.
Will we be able to easily develop anything for the beloved phone?
I can’t speak for the 2G version, but the new Nokia 3310 3G does appear to support some J2ME apps. I was able to install the last release of the Google Maps app, a weather app, and an email app that actually appears on the Opera Mini store. Some jads do say they’re not supported (Note Plus 4) and one had the character sets all messed up (Anyview EBook reader).
EDIT: I confirmed that I was able to side load an (untrusted) app I developed (a very long time ago) using Java 2 Micro Edition SDK.
It was also my first question that came to mind after the unveiling of the new 3310. I was hoping for a nostalgic throwback to mobile java apps.
However, it seems like the OS (s30+) doesn't support J2ME, so definitely no third-party java apps. I guess there might be a slim chance they'd add some kind of app store by the time they release the new 3310, in which case you could develop apps in MRE SDK (maui runtime environment). If I'm not mistaken MRE is in C.

Macbook pro iOS/Android dev setup with Xamarin [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 6 years ago.
Improve this question
I've been doing iOS dev work for a year or two now, along with some Xamarin work on Windows and I'm looking for an ultimate dev configuration that allows me to get rid of my two machines and just use a Macbook with Parallels. However, I have a few questions that are still unanswered:
1) Use a real keyboard/mouse (I find working on Mac keyboard/mouse not quite as productive)
2) Have a Thunderbolt Ethernet connection (our wifi is not always the best)
3) Have an output to two additional monitors, which could show both Windows OS, both Mac OS, or one of each.
Is this too much to ask? Anyone else have this configuration? If so is there anything I should be aware of?
Thanks in advance for your advice.
James
This is a question that is probably better suited to the Xamarin Forums. However, the set up you describe is one of the arrangements I use myself. The only difference is that I use a Mac keyboard. You should be able to use a PC keyboard perfectly fine but you may choose to remap some keys in the Mac preferences.
The only thing I can think of to be aware of is that while you can use nested virtualisation to run an emulator inside the Windows VM it will be significantly slower than running it on your Mac natively. As such, if you intend to code for Android, I would suggest running the AVDs on your Mac and connecting to them remotely from Windows.

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

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.

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.

NSTask or equivalent for iPhone [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 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

Resources