osx-elcapitan

Is there a workaround for: “dtrace cannot control executables signed with restricted entitlements”?

泄露秘密 提交于 2019-11-28 17:23:16
It looks like in OS X 10.11 El Capitan, dtruss and dtrace can no longer do what they're meant to do. This is the error I get when I try to run sudo dtruss curl ... : dtrace: failed to execute curl: dtrace cannot control executables signed with restricted entitlements I've come across people noticing this problem but so far no solutions. Is there a way to fix this or work around this? Once you csrutil enable --without dtrace , there is an alternative to copying the binary: run the binary in one Terminal window and trace the Terminal process itself in another Terminal window. In the first

Can not perform `pod install` under el capitan (15A279b)

荒凉一梦 提交于 2019-11-28 15:20:45
I ran pod install with El Capitan and got this error: Errno::EPERM - Operation not permitted - /Users/../Pods/Pods.xcodeproj/xcuserdata/root.xcuserdatad Here's my environment: El Capitan (15A279b), Xcode Version 7.0 (7A220), cocoapod 0.38.2. Any ideas? Thanks!!! The reason I use xcode7 (and not 6.4) is that I need to target an existing project to iOS9 for testing. And the reason I am using El Capitan is that xcode7 doesn't run under Yosemite. And I need to replace a library (managed by cocoapod) that no longer works under iOS9. Here's how I install cocoapods in El Capitan sudo gem install -n

Trouble installing m2crypto with pip on OS X / macOS

天涯浪子 提交于 2019-11-28 14:07:50
问题 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

Xcode 6.4 on OSX 10.11 (El Capitan) beta 2 / beta 3

旧街凉风 提交于 2019-11-28 08:28:34
I am trying to run Xcode 6.4 on El Capitan and I can run with the instructions on this post. But I am looking for a way to run it without any external program as I ran before with OSX 10.10 (Yosemite). I found this post that point to this instructions but it does not work. These are the instructions Open this file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exception.plist Find lines with name xcode in them ( http://i.imgur.com/tcKWLhz.png ) Edit value HardDisabled from YES to NO Save and reboot 1.a) If you can't save because file says it's locked then enable rootless mode

Android Device Monitor will not launch, either from Android Studio or from Terminal — UnsupportedClassVersionError

一笑奈何 提交于 2019-11-28 08:06:54
I am getting the following error when trying to launch Android Device Monitor from the Tools window in Android Studio on a Mac. and when I open the log file I find an error report very similar to the other SO questions similar to this, esp this one . However, using sudo did not work for me, although I get similar, though much shorter, error data: Macs-MBP:tools macuser$ sudo ./monitor Password: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/archquery/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang

DYLD_LIBRARY_PATH & DYLD_INSERT_LIBRARIES not working

狂风中的少年 提交于 2019-11-28 07:02:11
I create a .dylib file and compile it: #define _GNU_SOURCE #include <dlfcn.h> #include <stdio.h> static void* (*real_malloc)(size_t); void *malloc(size_t size) { void *p = NULL; fprintf(stderr, "malloc(%zd) = ", size); p = real_malloc(size); fprintf(stderr, "%p\n", p); return p; } void __attribute((constructor))init() { real_malloc = (decltype(real_malloc))dlsym(RTLD_NEXT, "malloc"); if (NULL == real_malloc) { fprintf(stderr, "Error in `dlsym`: %s\n", dlerror()); return; } } Then I create a test program that calls malloc . I made sure the call to malloc is not optimized out. Next I ran the

Xcode 6.3.2 can't run on OSX 10.11 El Capitan Developer Preview 3

做~自己de王妃 提交于 2019-11-28 06:28:45
I'm just updated my Mac to OS X 10.11 El Capitan DP 2, and I disappointed that it does not support Xcode 6.3.2 Now, how do I work? I have a project to do, and it's not a good time to convert my project to Swift 2/Xcode 7 since it's impossible to submitting at this time? Open terminal and use this command /Applications/Xcode.app/Contents/MacOS/Xcode </dev/null &>/dev/null & From the El Capitan release notes : Xcode versions prior to 7 are not supported on OS X El Capitan Beta 3 And from the Xcode 7 beta 4 release notes : Xcode 6.x has known compatibility issues when run on OS X version 10.11 El

How to fix broken python 2.7.11 after OSx updates

感情迁移 提交于 2019-11-28 06:26:50
What happened: After an OSx update and installing a new version of python 2.7 my virtualevn environment completely broke and I struggled in fixing it. I wasn't sure what caused it and went through a whole set of things that I did and read initially that didn't work are listed below. What solved my problem is provided in the answer section. What didn't work to fix virtualenv command not found: Installed python through homebrew and then used pip to install virtualenv Installed python through https://www.python.org and then used pip to install virtualenv Related questions that helped me but did

Xcode 6.4/7 crashing after El Capitan beta

自古美人都是妖i 提交于 2019-11-28 06:16:32
I updated my computer to the latest beta that was released to developers last night and the same project that was compiling fine yesterday night now fails due to a supposed .xib/.storyboard error. I have tried cleaning the project, downloading a previous version off of github, etc.. and yet the project still gives me the following error. "Failed to communicate with Interface Builder" as well as Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255 . Literally nothing was changed with the .storyboard file or anything remotely related to it. What's more is

How to completely uninstall vscode on mac

可紊 提交于 2019-11-28 03:34:04
I need to clean install vscode on my mac. I opened the terminal and removed the .vscode/ from ~ . I also delete the Visual Studio Code.app/ from / . However, after deleting all that and download a fresh copy, I installed and open the editor and the editor remembered the last project I had. For me, that means that it is something else I need to delete but I can't find it. I went to the documentation but can't find anything about uninstalling the editor. Does anyone know how to completely uninstall VSCode from mac? What I have tried Following this instructions and new installation of vscode