Hot answers tagged

3

With the release of macOS Catalina (10.15) Apple has switched to Zsh as default shell (instead of Bash). Instead of setting PS1 in Bash you can set PROMPT in Zsh: PROMPT="${orange}%n"


3

Docker was built for linux, it runs on Mac through HyperkIT, which is a lightweight hypervisor. This means Docker only sees devices connected to the hyperkit hypervisor, rather than the devices connected to the Mac. Unfortunately, Hyperkit has issues with USB device passthrough from your MacOS to the hypervisor (read more here) so the --device command won't ...


2

Docker is running in a VM on MacOS. One of your options is to put the entire VM on a tmpfs. You could use this shell script to create and mount the ramdisk: https://gist.github.com/koshigoe/822455 Here is a guide for resizing the machine. https://gist.github.com/stefanfoulis/5bd226b25fa0d4baedc4803fc002829e The trick is to stop docker first, then you can ...


2

I don't think you can containerize MacOS, but you could create a Mac OS VM and snapshot it, that way you can easily restore to the same exact Mac OS version for each test.


1

I needed to change the distribution type. Thanks!


1

Do you run selenium as a separate process? I had the same issue if you are not running selenium in the background. (edit) Try java -jar selenium-XX.XX.jar in terminal. After that run pabot or robot command to run the tests. You can crate app through the Automator and use the same approach you describe to call it from the CI. That is what I end up using.


1

There are some fundamental misunderstandings in your bullets which makes your question unclear: Apple will not allow you to develop/build using a virtual system. I believe this is a legal constraint. That said, you can run pretty much anything in VirtualBox as long as you have a legally provided image (e.g. a Linux image). You can only run the Windows ...


1

These steps in the Azure DevOps docs may be helpful: Sign Your Mobile App. Basically you should be able to generate your p12 and provisioning profile on a mac you control, and then using the "Install an Apple certificate/provisioning profile" tasks you can install the certs onto the mac agent for building. No UUID should be needed for the agent. Here's a ...


1

Since Ansible was installed via Homebrew on macOS, the workaround is to install Ansible using Pip. $ brew remove ansible $ pip3 install ansible $ pip3 list | grep -e ansible -e Jinja2 ansible 2.8.0 Jinja2 2.8 $ ansible-playbook check_jinja.yaml -v TASK [jinja_version] ok: [localhost] => {"changed": false, "msg": "2.8"}


1

This issue is due to the CTAN mirrors having yet to update. The issue appears in the Travis R community forum: might be related to the recent switch to TexLive-2019 as the LaTeX package manager seems to fail finding inconsolata in the repository. ... It looks to me like the mirror chosen was has not updated to 2019, so I think this will resolve ...


1

As per @pgayvallet comment on GitHub: As the daemon runs inside a VM in Docker Desktop, it is not possible to actually share a mac host device with the container inside the VM, and this will most definitely never be possible.


Only top voted, non community-wiki answers of a minimum length are eligible