Why isn’t DYLD_LIBRARY_PATH being propagated here?

Presumably, you are running El Capitan (OS X 10.11) or later. It’s a side effect of System Integrity Protection. From the System Integrity Protection Guide: Runtime Protections article: When a process is started, the kernel checks to see whether the main executable is protected on disk or is signed with an special system entitlement. If … Read more

NSWindow contentView not cover full window size – macOS & SwiftUI

I just used the following variant in AppDelegate, the content of ContentView and others can be any func applicationDidFinishLaunching(_ aNotification: Notification) { // Create the SwiftUI view that provides the window contents. let contentView = ContentView() .edgesIgnoringSafeArea(.top) // to extend entire content under titlebar // Create the window and set the content view. window = … Read more

Could not find conda environment

Names and Prefixes For a Conda environment to have a name it must be installed in one of the envs_dirs directories (see conda config –show envs_dirs). Creating an environment outside of one of those forfeits its “name-ability”. Instead, one must use the path (called its prefix) to activate it, e.g., conda activate /anaconda3/envs/my_env Other commands … Read more

Maven home (M2_HOME) not being picked up by IntelliJ IDEA

type in Terminal: $ mvn –version then get following result: Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 16:51:28+0300) Maven home: /opt/local/share/java/maven3 Java version: 1.6.0_65, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: ru_RU, platform encoding: MacCyrillic OS name: “mac os x”, version: “10.9.4”, arch: “x86_64”, family: “mac” here in second line we have: Maven home: /opt/local/share/java/maven3 type … Read more

How do I use JDK 7 on Mac OSX?

This is how I got 1.7 to work with Eclipse. I hope it helps. I Downloaded the latest OpenJDK 1.7 universal (32/64 bits) JDK from Mac OS/X branch from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html copied the jdk to /Library/Java/JavaVirtualMachines/ next to the default 1.6.0 one In Eclipse > Preferences > Java > Installed JREs you add a new one, … Read more

PDFtk Server on OS X 10.11

Thank you for your patience. I have successfully tested this pdftk installer and binary on OS X 10.11, El Capitan: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg I will update our PDF Labs site soon to reflect this update. If you already have pdftk installed from the old installer, this should install right on top of it without a problem — … Read more

Cannot create a symlink inside of /usr/bin even as sudo [closed]

Why can’t I symlink into /usr/bin? El Capitan’s new System Integrity Protection feature prevents changes to several core parts of OS X, including most of /usr/, even by root. How can I still add executable files to my path? Local customizations, such as what you’re doing, belong in /usr/local instead. The path /usr/local/bin doesn’t exist … Read more

tech