macos-sierra

Apache giving 404 error after Mac OS sierra update

别说谁变了你拦得住时间么 提交于 2019-11-30 06:28:41
I just updated to Mac OS 10.11 Sierra lately and classic web server is not working properly, or I should say that my home directory is not working Apache server is working at localhost as I get the 'It works' page, but localhost/~myuser is giving this message 'The requested URL /~myuser was not found on this server' I tried to follow this tuto but it is still not working Can someone help me? What worked for me after upgrading from El Capitan to Sierra as well: 1) Uncommenting from /etc/apache2/httpd.conf LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule vhost_alias_module

macOS Swift: How to properly add application as Login Item

点点圈 提交于 2019-11-30 05:18:23
I have spent about one day (maybe a little more) on trying to add my application to Login Item in the order it starts up at macOS launch (user login). The first approach was the newest one; I check this tutorial on youtube: https://www.youtube.com/watch?v=2mmWEHUgEBo&t=660s So following this steps, I have done: Add new project inside my main project that I have named Launcher I am using Automatic Signing (as version of my Xcode) is different In Project Settings > Capabilities I toggled App Sandbox to ON. In Build Phases I have added this: My Launcher has Skip Install = YES Code in my Launcher

Installing Homebrew Python and linking

家住魔仙堡 提交于 2019-11-30 04:03:49
问题 I need to use the Homebrew version of Python rather than the system version of Python. I have a clean install of macOS Sierra (10.12.5). I first installed homebrew and then updated ~/.bash_profile using nano ~/.bash_profile . Then I added this into the file: # Homebrew export PATH=/usr/local/bin:$PATH Then, I needed to manually source the ~/.bash_profile file to ensure the changes have been reloaded using source ~/.bash_profile . I installed python using brew install python and tried to link

rJava on MacOS Sierra 10.12.15: unsupported option fopenmp

旧街凉风 提交于 2019-11-30 03:41:18
问题 I'm trying to install rJava on MacOS Sierra. Have to tried the tips and guides elsewhere for other other version MacOS such as https://github.com/snowflakedb/dplyr-snowflakedb/wiki/Configuring-R-rJava-RJDBC-on-Mac-OS-X and Install xlsx and rJava on Mac but it does not work out. Much appreciate any help. Thanks. My Mac version: macOS Sierra, version 10.12.15 My R version: 3.4.0 (2017-04-21) My Rstudio version: Version 0.99.903 Java version: bash-3.2$ /usr/libexec/java_home -V bash-3.2$ java

Command Line Tools bash (git) not working - macOS Sierra final release candidate

最后都变了- 提交于 2019-11-30 00:04:23
问题 I have just upgraded from OS X 10.11 "El Capitan" to 10.12: "Sierra" , and when I try to access git commands inside a terminal, I get the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Please help me if anyone have solution. 回答1: Re-install Xcode developer tools xcode-select --install 回答2: I fixed this issue by downloading and installing the 'Command Line Tools (macOS

ImageMagick 7 with RMagick 2.16 on MacOS Sierra Can't find MagickWand.h

青春壹個敷衍的年華 提交于 2019-11-29 20:46:44
I upgraded to imagemagick-7.0.4-3.sierra and now my previously installed RMagck 2.16 fails. I checked for MagicWand: $ find /usr/local -name MagickWand.h /usr/local/Cellar/imagemagick/7.0.4-3/include/ImageMagick-7/MagickWand/MagickWand.h So it seems to be there. Also I reinstalled and relinked pgk-config. Didn't help as well. Any ideas? dyson returns I have just encountered and solved this issue on a new Mac running Sierra. There seems to be no solution for ImageMagick 7 at this time. Uninstall existing imagemagick if needed Install version 6: brew install imagemagick@6 Since this is keg-only,

Repeated Popup: Xcode wants to access key “com.apple.dt.XcodeDeviceMonitor” in your keychain

两盒软妹~` 提交于 2019-11-29 20:32:16
Starting in MacOS Sierra, I've started to get this popup periodically from XCode, even after pressing 'Always Allow'. I've tried deleting the "com.apple.dt.XcodeDeviceMonitor" item in Keychain. This regenerates the key, but doesn't fix the issue. It's an open discussion topic on the Apple forums , but no one seems to have a solution. Posting this solution for Xcode 8 because no one else has: Open Keychain Access. Search for XcodeDeviceMonitor. Drag the item to the System Keychain on left. Enter admin password. That finally fixes it. Linc open [ keychain access ] > type " xcode " in the search

Slow app compilation with new Sierra update

纵饮孤独 提交于 2019-11-29 20:21:53
When I updated my mac to macOS Sierra 10.12.1 time of running application on real device significantly increased. "Run custom script 'Embed Pods Frameworks'" and "Copy Swift standard libraries" take more then 30 minutes to build. Do someone face the same issue? Check your keychain. After updating to Sierra to 10.12.1, I had over 500 copies one of my certificates, and a few others were duplicated a few hundred times. I removed all the duplicates and kept just one of each, and my code signing time went from 30 seconds per framework down to about 1 second per. I don't know how or why the

Trouble installing m2crypto with pip on OS X / macOS

给你一囗甜甜゛ 提交于 2019-11-29 18:57:07
pip install m2crypto Generates the following output: building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/include -I/usr/include/openssl -includeall -modern -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i SWIG/_m2crypto.i:30: Error: Unable to find 'openssl/opensslv.h' SWIG/_m2crypto.i:33: Error: Unable to find 'openssl/safestack.h' SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h' SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h' error: command

Why can't I install Sass on Mac OS Sierra?

杀马特。学长 韩版系。学妹 提交于 2019-11-29 15:16:14
问题 I have tried installing Sass three times on Mac OS Sierra(10.12) from the terminal typing the following code: sudo gem install sass Then it asks for my password, I enter it and nothing happens (I even waited half an hour) it does not even gives any error or any other message, then when I try to close the terminal window a message appears saying that the processing will terminate if I close the window. I already checked on if ruby is installed on my Mac and this is the version I have: ruby 2.0