简体   繁体   English

在Ubuntu上运行iOS UI自动化

[英]Run iOS UI Automation on Ubuntu

I am able to use iOS Instruments by Xcode or run the test written in javascript by shell but I have a question about it. 我可以通过Xcode使用iOS Instruments或通过Shell运行以javascript编写的测试,但是对此我有疑问。 Is it possible to run these test on Ubuntu, not being possible to install Xcode on it? 是否可以在Ubuntu上运行这些测试,而不能在其上安装Xcode?

As it's mentioned here, the low-level tool chain for Xcode (the gcc compiler family, the gdb debugger, etc.) is all open source and common to Unix and Linux platforms. 如此处所述 Xcode的低级工具链(gcc编译器系列,gdb调试器等)都是开源的,并且是Unix和Linux平台共有的。 But the IDE--the editor, project management, indexing, navigation, build system, graphical debugger, visual data modeling, SCM system, refactoring, project snapshots, etc.--is a Mac OS X Cocoa application, and is not portable. 但是IDE(编辑器,项目管理,索引,导航,构建系统,图形调试器,可视数据建模,SCM系统,重构,项目快照等)是Mac OS X Cocoa应用程序,并且不可移植。

So, if you're using Xcode to develop iOS apps, you need to use Mac OS X as your operating system. 因此,如果您使用Xcode开发iOS应用,则需要使用Mac OS X作为操作系统。 The ideal option is to have a Mac computer, however if you don't care about the legal issues, you can install it on your non-Mac computer, or just as a virtual machine inside your Ubuntu, using Virtual Box or VMWare. 理想的选择是拥有Mac计算机,但是,如果您不关心法律问题,则可以使用Virtual Box或VMWare将其安装在非Mac计算机上,也可以将其安装为Ubuntu中的虚拟机。

Unless you plan to use a third party IDE to develop iOS apps which won't necessarily let you have native apps. 除非您计划使用第三方IDE开发iOS应用程序,否则不一定会让您拥有本机应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM