macos-high-sierra

Xcode 9.0.1 Interface Builder 100% CPU opening iOS Storyboard

旧城冷巷雨未停 提交于 2019-12-09 15:36:00
问题 Last night Xcode automatically updated to Version 9.0.1 (9A1004). Today, I tried to open an existing project and my iOS storyboard file gets stuck with a never ending spinner and Activity Monitor reports Interface Builder using 100% CPU. I have a second MacBook Pro that still has Xcode 9.0.0 and it opens the storyboard without any issue. I'm running macOS High Sierra on both. Anyone else seen this or know of a workaround. 回答1: I received a response from my bug report with a suggested

MacOS High Sierra KEXT Loading - Are there any ways to cancel user approval?

笑着哭i 提交于 2019-12-09 12:41:43
问题 As some kinds of MacOS developers know, Apple implemented Secure Kernel Extension Loading . Users can approve third party KEXT by clicking Approve button in Security and Privacy . However, once the KEXT is approved, are there any methods for cancelling the approval? Imagine, the case of testing the app with KEXT loading, etc. If there are no way but the clean install, it's very difficult to test apps. 回答1: The information about approvals is stored in sqlite3 database: /var/db

MAMP MySQL stop working after updating mac High Sierra 10.13.2

一曲冷凌霜 提交于 2019-12-09 03:06:28
I updated my mac and MAMP stopped working, or my MySQL Server wont start: I tried to delete the ib_logfileN:s since that allways worked for me before, but it doesn't work this time.. Any idea what might solve this? Thanks Uninstall my latest version of MAMP and re-install a older version (3.5.2) worked for me. 来源: https://stackoverflow.com/questions/48184740/mamp-mysql-stop-working-after-updating-mac-high-sierra-10-13-2

Unable to setup virtualenv with '--always-copy' flag due to Errno 1

我的未来我决定 提交于 2019-12-08 08:45:23
问题 I am trying to run this command $ virtualenv --always-copy venv Then I got all these errors: shutil.Error: [('/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_Drag.so', '/Users/antkong/dev/zeetings/venv/lib/python2.7/lib-dynload/_Drag.so', "[Errno 1] Operation not permitted: '/Users/antkong/dev/zeetings/venv/lib/python2.7/lib-dynload/_Drag.so'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_Ctl.so', '/Users/antkong

MAMP MySQL stop working after updating mac High Sierra 10.13.2

时光总嘲笑我的痴心妄想 提交于 2019-12-08 08:16:27
问题 I updated my mac and MAMP stopped working, or my MySQL Server wont start: I tried to delete the ib_logfileN:s since that allways worked for me before, but it doesn't work this time.. Any idea what might solve this? Thanks 回答1: Uninstall my latest version of MAMP and re-install a older version (3.5.2) worked for me. 来源: https://stackoverflow.com/questions/48184740/mamp-mysql-stop-working-after-updating-mac-high-sierra-10-13-2

f2py: using openMP parallel in fortran fails

血红的双手。 提交于 2019-12-08 06:52:51
问题 I am trying to compile a fortran routine that uses openMP for python using f2py . This is the file bsp.f90 : module OTmod !$ use omp_lib implicit none public :: get_threads contains function get_threads() result(nt) integer :: nt nt = 0 !$ nt = omp_get_max_threads() !$omp parallel num_threads(nt) write( *, * ) 'hello world!' !$omp end parallel end function get_threads end module OTmod If I compile it with f2py -m testmod --fcompiler=gfortran --f90flags='-fopenmp' -lgomp -c bsp.f90 compilation

CERTIFICATE_VERIFY_FAILED Python 3.6 mac osx can't fix with 'Install Certificates.command'

隐身守侯 提交于 2019-12-07 20:06:31
问题 I am aware of the update in Python 3.6 where you need to run the 'Install Certificates.command' in order to get SSL working again, however it doesn't seem to work for me. Running the file results in: -- pip install --upgrade certifi Requirement already up-to-date: certifi in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (2018.4.16) -- removing any existing file or link -- creating symlink to certifi certificate bundle -- setting permissions -- update complete

Safari Extension app is not shown in Safari preferences Extensions tab

佐手、 提交于 2019-12-07 18:10:18
问题 I have followed all the instruction mentioned at Creating Your First Safari Extension App. After running FirstSafariExtensionApp target, I have opened Safari preferences Extensions tab but I couldn't find My Extension in the left pane. I have Apple Developer membership and installed Mac Developer and Safari Extension Developer certificates in the KeyChain. How to get my first safari extension app working? 回答1: I had the same problem, the Extension didn't show when running the app even though

High Sierra update causes NSTableView to flip and scramble

房东的猫 提交于 2019-12-07 11:08:43
问题 I'm updating an existing project which has worked fine for years to High Sierra. The view loads correctly and looks as it always has: Then, after I open a popup and close it again, the view moves things around, flips things, and generally looks very crazy: Notice the Info title drops to the bottom, the left side text items reverse order, and the date and dropdown text flip. Mouse interaction seems very scrambled as well when this happens. I'm not sure where to even start with solving this one

Animating Auto Layout constraints with NSView.layoutSubtreeIfNeeded() not working on macOS High Sierra

佐手、 提交于 2019-12-07 05:00:57
问题 I have a basic Mac app with a view animation done through Auto Layout: I add a new view to the right of the current view I update the constraints so that the new view ends up filling the window → The animation will make it appear as if the view slides in from the right. The recommended way for animating Auto Layout changes is: Update the constraints Use NSAnimationContext.runAnimationGroup() Set allowsImplicitAnimation to true inside the animation block Call view.layoutSubtreeIfNeeded()