Ios simulator on linux

Эмуляция / имитация iOS в Linux

Я разрабатываю веб-приложение, которое, по-видимому, имеет проблемы с устройствами iOS. Проблема в том, что у меня нет устройства iOS, и я разрабатываю Linux Ubuntu. Я ищу способ эмулировать / имитировать эту ОС в Linux (особенно в браузере), но ничего не нашел.

до сих пор я нашел симулятор iOS SDK, но это предназначено для Mac. А также некоторый эмулятор для Windows. Кто-нибудь делал это раньше?

6 ответов

единственное решение, которое я могу придумать, это установить VMWare или любой другой VT, а затем установить OSX на VM.

Он работает довольно хорошо для тестирования.

BrowserStack.com
На этом сайте вы можете эмулировать множество устройств iOS в интернете.

на linux вы можете проверить epiphany-browser, изменяет размер windows, вы получите те же ошибки, что и в ios. Оба браузера используют в WebKit.

sudo apt install epiphany-browser

может быть, этот подход лучше,https://saucelabs.com/mobile, Мобильное тестирование в облаке с селеном

  1. Run пульсация эмулятор(вышел на пенсию по состоянию на 2015-12-06) на Chrome
  2. Run iPadian на WineHQ
  3. Run QMole на Linux или Android
  4. запустите XCode на PureDarwin

насколько я знаю, нет такой вещи, как эмулятор iOS в windows или linux, есть только некоторые gameengines, которые позволяют компилировать один и тот же код для iOS и windows или linux, и есть цепочка инструментов для компиляции приложения iOS с использованием linux. ни один из них не является реальным эмулятором / симулятором. и чтобы использовать эту цепочку инструментов, вам нужно джейлбрейк iOS-устройство для тестирования двоичного файла, созданного с помощью toolchain. Я имею в виду, что linux сам не может запустить двоичный файл, созданный сам. и кстати даже в Mac simulator — это просто промежуточная программа, которая запускает Mac-скомпилированный двоичный файл, так как если вы измените компиляцию для iOS с simulator или наоборот, все файлы будут перестроены. а также есть некоторые реальные различия, например, iOS-это чувствительная к регистру операция, а simulator-нет.

поэтому лучшим решением является покупка устройства iOS самостоятельно.

Источник

Эмулятор IOS для Linux(Ubuntu)?

Суть вопроса:
Недавно столкнулся с проблемой в верстке, которая видна только в браузерах на устройствах с установленной системой IOS. Вот проблемный сайт: coha.look-website.xyz .
Какие есть эмуляторы под Linux(Ubuntu), чтобы можно было бы отладить данные косяки?

Читайте также:  Команды для виртуальной машины линукс

DevMan

3 варианта:
— завести мак/хак/ядивайс(ы)
— возиться с виртуалкой
— пользоваться https://www.browserstack.com и подобными

LenovoId

вообще установка MacOS устанавливается на PC через Clover , и даже в том случае не уверен я что всё пойдёт как по «маслу» , а установка в виртуалку это вообще жесть .
ИМХО не получится

Антон Уланов: Наверное, он имел ввиду, что не самое приятное это дело дебажить код в виртуалке. Я в общем-то с этим согласен, но как крайний вариант прийдется все-таки юзать виртуалк 🙂

быть может вы имели в виду Clover? а по факту с установкой мака в вируалку есть куча статей и видео + куча готовых образов.

а чем собственно отличается мак в виртуалке от мака в живую? за 2 года юзания мак бука эир с применением виртуалки чтобы рабочую ос не забивать хламом отличий не заметил, ну кроме как чуток медленнее работала в виртуалке но это из за памяти я ей не выделял слишком много

DevMan

Антон Уланов: икскод с эмулятором и на реальном железе частенько притормаживает. на виртуалке вообще грустновато, если делаешь что-то сложнее хеловорда.

Источник

How to install an iPhone application in Linux?

To provide a differing response, I’m running OS X and Xcode on a virtualised (VMware) machine on Linux. CPU is a Core2Quad (Q8800), and it is perfectly fast. I found a prebuilt VM online (I’ll leave it to you to find) Xcode/iPhone development works perfectly, as does debugging via USB to the phone itself.

It actually surprised me a lot but I’ve had no issues at all.- Starting iPhone app development in Linux? — Answer #1

For more answers, I refer you too:

Nope. You can not emulate iOS applications on Linux. You need the XCode and Cocoa libraries, which only exist on OS X. You have three options:

There is no native iOS emulator for Linux, only Mac. Sorry.

If you want to do a native app you’ll need a mac. Instead of that, you can create hybrid apps with ionic, using only HTML5, CSS and JS.

I believe the current best way is to run OS X in a QEMU+KVM emulator, then you may run the unavoidable proprietary development tools «natively», including the iOS simulators and the application signing / store upload.

Читайте также:  Visual git for linux

You follow the instructions here: https://github.com/kholia/OSX-KVM/ and voila, macOS is at your fingertips so you can compile your multi-platform code or whatever it is you need to do.

Possibly also worth mentioning that for Open Source projects Travis CI has a pretty comprehensive and free build environment for OSX

It is also important to note that running OSX on non-Apple hardware is not allowed by the Apple EULA, so this will have varying legality depending on your jurisdiction, unless you are running Linux on the Apple hardware itself.

If you are comfortable with the legality in your jurisdiction and setup, this can work well. I have tested that it does work on Ubuntu 18.04LTS

Источник

Emulate/Simulate iOS in Linux [closed]

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

I’m developing a web app that apparently is having problems in iOS devices. The problem is that I don’t own an iOS device and I develop in Linux Ubuntu. I’m looking for a way to emulate/simulate this OS in Linux (especially the browser), but haven’t found anything. So far, what I’ve found is the iOS SDK’s Simulator, but that is meant for the Mac. And also some emulator for Windows. Has anyone done this before?

The web app is intended mostly for regular browsers. However, a few users try to see it using an iPhone, and I needed to verify some problems they were having.

If it’s a layout issue I recommend installing the Konqueror web browser. Then look in settings to be sure it uses Webkit layout engine (same as safari).

7 Answers 7

The only solution I can think of is to install VMWare or any other VT then install OSX on a VM.

It works pretty good for testing.

Doing this, as no other option seems available (except for actually acquiring the mobile devices in question).

Is there a legal way to do this? I stupidly bought an OSX CD thinking that I could install it in VirtualBox, but it turned out to be much more compilcated than that. I think you need some kind of hardware image which is not strictly legal to obtain. No?

Virtualisation of some of the mac os is often not permited. apple.stackexchange.com/questions/20965/…

Читайте также:  Монтирование папки linux vmware

On linux you can check epiphany-browser, resizes the windows you’ll get same bugs as in ios. Both browsers uses Webkit.

sudo apt install epiphany-browser

This isn’t a catch-all solution. The engine may be the same, but I have encountered some ios browsers which error on pages that render fine on epiphany. YMMV

This may not be a perfect solution but it definitely helped me solve my javascript issue that was happening in Safari on iPhone without having access to one.

BrowserStack.com
On this site, you can emulate a lot of iOS’s devices online.

  1. Run Ripple emulator(retired as of 2015-12-06) on Chrome
  2. Run iPadian on WineHQ
  3. Run QMole on Linux or Android
  4. Run XCode on PureDarwin

Maybe, this approach is better, https://saucelabs.com/mobile, mobile testing in the cloud with selenium

You might want to try screenfly. It worked great for me.

This is really a comment, not an answer. With a bit more rep, you will be able to post comments. Thanks!

@MiroslavGlamuzina, there is nothing else to add to my suggestion. Not a long answer required. Cheers

As far as I know, there is no such a thing as iOS emulator on windows or linux, there are only some gameengines that enable you to compile same code for both iOS and windows or linux and there is a toolchain to compile iOS application using linux. none of them are realy emulator/simulator things. and to use that toolchain you need a jailbreaked iOS device to test binary file created using toolchain. I mean linux itself can’t run the binary created itself. and by the way even in mac simulator is just an intermediate program which runs mac-compiled binary, since if you change compiling for iOS from simulator or the other way, all the files are rebuild. and also there are some real differences, like iOS is a case-sensitive operation while simulator is not.

so the best solution is to buy an iOS device yourself.

Linked

Hot Network Questions

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.14.43533

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Оцените статью
Adblock
detector