osx-elcapitan

Docker image running a Mac OS X installation

偶尔善良 提交于 2020-06-09 08:01:26
问题 I am using Docker for Mac and wish to create Docker image running a Mac El Capitan with my development env. I am not finding any resources on this. All I see is Linux installations. On Linux I saw things as simple as: FROM sciensa2/docker-java8 RUN apt-get update RUN apt-get install -y wget unzip libgtk2.0-0:amd64 libxtst6 But what would be the FROM value for OS X to install and run other software? 回答1: If you are trying to run Mac OS as the base system in a Docker container, unfortunately

Check OS version using Swift on Mac OS X

本秂侑毒 提交于 2020-03-21 14:23:34
问题 I'm building an application that needs to check what version of OS X is installed on a Mac. It is built against 10.9 Mavericks, but all of the Swift APIs are pretty much 10.10 only. I'm trying to use the following, however it does not compile against the 10.9 SDK since it does not have these APIs, I know how to use if #available(OSX 10.10, *) to conditionally compile as per the different versions, however because NSProcessInfo is a 10.10+ API I can't use it to check to see if the Mac is

Sphinx extension - installation of sphinxcontrib-bibtex

最后都变了- 提交于 2020-03-05 04:42:07
问题 Osx 10.11.6 El Capitan I need help in the installation of sphinxcontrib-bibtex (https://github.com/mcmtroffaes/sphinxcontrib-bibtex). I tried in many ways, but I could not compile using the make command. ➜ thesis_source git:(master) ✗ make html Running Sphinx v1.6.3 loading translations [es]... done Extension error: Could not import extension sphinxcontrib.bibtex (exception: No module named oset) make: *** [html] Error 1 Osx 10.11.6 El Capitan Sphinx 1.7.4 sphinxcontrib-bibtex 0.4.0

Sublime sftp connects to wrong container

寵の児 提交于 2020-01-25 04:05:12
问题 I have two different Docker containers under the same host stack. Currently I'm on OSX and using Sublime Text 3 with the SFTP plugin. For each different dev environment (Docker container) I have a different sftp-config.json file and I am using different SSH key files. Here are my host entries for both files: first host: "host": "example-dev.xxx.de", "user": "userxxx", "remote_path": "/home/xxx/www_trunk", "ssh_key_file": "~/work/Misc/pass/private1.pem" second host: "host": "example2-dev.xxx

Where is the Folder /lib/security from JRE 8 under OS X? [duplicate]

落爺英雄遲暮 提交于 2020-01-23 06:26:27
问题 This question already has answers here : Where is the JRE lib/security directory on Mac OS X? (4 answers) Closed 6 months ago . I'm searching the Folder /lib/security from Java JRE 8 under OS X. Under Windows the fodler is located in the installation directory of java in the subfolder lib\security, for example: C:\Programm Files\Java\JRE_xxx\lib\security. But under OS X (El Capitan) i didn't find this folder. When i install Java JDK is found it inside the JDK install folder, but JRe come with

Installing “rgl” package in R, Mac OSX El Captian

拈花ヽ惹草 提交于 2020-01-20 04:54:24
问题 I'm new to programming in R so I apologise in advance if I seem naive. I want to be able to do some principal components analysis on my data in 3D. I read that the "pca3d" function is good for this, but I need to download the "rgl" library. When I use install.packages it asks: install.packages("rgl") There is a binary version available but the source version is later: binary source needs_compilation rgl 0.95.1201 0.95.1367 TRUE Do you want to install from sources the package which needs

Why does a Word 2016 Add-in (office.js) Ribbon Tab not show for some Mac users?

一笑奈何 提交于 2020-01-17 06:12:10
问题 The following manifest was approved by Microsoft and is in the Office Store as an add-in for Word 2016 called "Annotate PRO." The manifest should create a new ribbon named 'Annotate.' It does this correctly in Windows, Word Online (Windows and Mac, Chrome and Safari), and on some Macs. On most Macs (especially El Capitan) it does not create a Ribbon although the Add-in does work. You just have to choose it from 'My Add-ins' every time you open a document. It does not appear on many Macs. Why?

Why does a Word 2016 Add-in (office.js) Ribbon Tab not show for some Mac users?

孤街醉人 提交于 2020-01-17 06:11:08
问题 The following manifest was approved by Microsoft and is in the Office Store as an add-in for Word 2016 called "Annotate PRO." The manifest should create a new ribbon named 'Annotate.' It does this correctly in Windows, Word Online (Windows and Mac, Chrome and Safari), and on some Macs. On most Macs (especially El Capitan) it does not create a Ribbon although the Add-in does work. You just have to choose it from 'My Add-ins' every time you open a document. It does not appear on many Macs. Why?

OsX, can't use Homebrew because of Ruby permission

北城余情 提交于 2020-01-15 09:32:22
问题 I have seen many related questions and posts, but I just can't fix my problems. I am running El Capitan and I want to have Homebrew and Ruby running. But if I want to run Homebrew I get permission errors like: bio89093:~ jonbra$ brew doctor /Library/Ruby/Site/2.0.0/rubygems.rb:1219:in `register_default_spec': undefined method `default_gems_use_full_paths?' for Gem:Module (NoMethodError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb

Migrating project to Xcode 7.2 on OS X El Capitan breaks the build

我们两清 提交于 2020-01-13 02:16:12
问题 I was running OS X Mavericks before with Xcode 7.1, I just updated to OS X El Capitan and Xcode 7.2. My app was launching fine on the simulator and device without any kind of warnings for storyboard. Now I see a bunch of warnings for missing constraints in storyboard and the app crashes with this error: Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named IBNSLayoutConstraint' I also tried the solution posted on here :