macos-sierra

PDFtk hanging on MacOS Sierra

感情迁移 提交于 2019-12-28 07:59:37
问题 PDFtk Server seems to be hanging indefinitely on MacOS Sierra. Looks similar to the problem it had on El Capitan. I'm trying to run this command: pdftk test1.pdf test2.pdf cat output out.pdf verbose And am getting no output, just an indefinite hang. Same with every other command I've tried. PDFtk --version: pdftk 2.02 a Handy Tool for Manipulating PDF Documents Copyright (c) 2003-13 Steward and Lee, LLC - Please Visit: www.pdftk.com This is free software; see the source code for copying

Build of guile-2.0.11 on macOS Sierra fails: Undefined symbols for architecture x86_64

巧了我就是萌 提交于 2019-12-25 14:45:30
问题 I am not an experienced programmer/developer/software engineer, but I need to get this older version of guile-2.0.11 built "by hand" rather than using home-brew (which installs the latest version of guile). I downloaded the tarball for guile-2.0.11 from the GitHub repository, extracted it and ran the shell script autogen.sh. This produced a configure executable which ran to completion and generated a Makefile. When I run make, the build continues until I get the this error: Undefined symbols

EXC_BAD_ACCESS error for invoking method in swift

青春壹個敷衍的年華 提交于 2019-12-25 04:25:01
问题 Here is the code: import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { @IBOutlet weak var window: NSWindow! @IBAction func changeBtn(_ sender: NSButton) { obj1.changeColor() obj2.changeBackgroundColor() objFld1.textColor = obj1.color objFld2.drawsBackground = true objFld2.backgroundColor = obj2.backgroundColor } @IBOutlet weak var objFld1: NSTextField! @IBOutlet weak var objFld2: NSTextField! class colored { var color = NSColor.black var backgroundColor =

Menu bar not showing in Android Studio

守給你的承諾、 提交于 2019-12-24 07:14:34
问题 I have a problem with my Android Studio app on macOS Sierra. It seems like the app is not really open, because usually, when an app is open, there is a dot under its icon in the dock, but on my computer there is none... The true problem is that the menu bar options like "File", "Build", ... don't show up, and I can't access them. Instead I have the options of the next open app. Once again, it looks as if Android Studio were not open. It's very annoying because I can't use all the tools.

Applescript to Map Esc to Caps Lock when tapped; Control to Caps Lock when pressed (macOS Sierra)?

妖精的绣舞 提交于 2019-12-24 06:45:43
问题 I am well aware of karabiner-elements which is still in development to enable this key mapping in macOS Sierra. However, at the current moment it doesn't work. My thought is that if I map Caps Lock to Control in Preferences/Keyboard/Modifier Keys that gets me half way there. I have seen some interesting things people have done with AppleScript here. I am hoping there is a simple way to achieve this via AppleScript. Its also worth mentioning that karabiner-elements is capable of swapping Caps

Xcode 7.3.1: New project templates' screen's text is overlapped

╄→尐↘猪︶ㄣ 提交于 2019-12-24 03:52:30
问题 There are some overlapped fields while choosing template for new project. e.g. iOS -> Application -> Single View Application and I've also tried with Xcode 8, I didn't encounter any problem rather Xcode 7.3.1 @macOS Sierra. Screenshot: Choose options for your new project: 来源: https://stackoverflow.com/questions/39712664/xcode-7-3-1-new-project-templates-screens-text-is-overlapped

Adding NSTouchBar support after main window has been created

安稳与你 提交于 2019-12-24 01:12:31
问题 I'm trying to add support for exposing NSTouchBar buttons via a plugin to an application that I cannot otherwise modify. The plugin, a shared library, is loaded at runtime after the main window has been created. I've created an AppDelegate as follows: @interface AppDelegate : NSResponder <NSTouchBarDelegate> @end With an @implmentation that implements the makeTouchBar and touchBar functions: - (NSTouchBar *) makeTouchBar - (nullable NSTouchBarItem *) touchBar:(NSTouchBar *)touchBar

On a Mac Sierra, how can I give an ssh session access to the display?

女生的网名这么多〃 提交于 2019-12-24 00:56:45
问题 This is a follow-up of Running ios-sim with Jenkins - I need a way to make this work when the Jenkins slave is run via ssh, and not via launchctl So, in general, how can I access the display if I log onto a mac using ssh? 回答1: I think you have to login to the Mac (Jenkins slave) using the user that you are using with the ssh connection. Once logged in, the jobs you run should be able to access the display. We start the Jenkins slave on our Mac machine using " Launch slave agents on Unix

Xquartz and MacOS Sierra

我们两清 提交于 2019-12-23 19:02:16
问题 I am facing issue to make some of my applications that run under XQuartz work. This happened after I have updated my OS to Sierra version. I didn't have these issues with the previous OS versions. when I try to Open any of my application like Winskin, and other applications in my field. I get the error message that is titled The application X11 could not be opened . and follows with An error occurred while starting the X11 server: "Failed to activate core devices." this for Winskin. in

macOS Sierra installing PHP Extension intl

纵饮孤独 提交于 2019-12-23 13:05:16
问题 I am trying to get magento 2.x to run on my machine. I am using xampp 5.6 with the same php version and running a virtual apache server. As seen in this screenshot The PHP Extension intl. is missing. I was researching on how it can be added / activated. I tried uncommenting the extension in the php.ini of xampp but it still appears as missing. I tried to follow this guide, but when I try to install intl with sudo pecl install intl it fails with 2 warnings and 1 error generated. make: *** [php