macos-sierra

Update list of Midi Devices in Java

社会主义新天地 提交于 2020-01-13 20:18:48
问题 I work on a MIDI-based project in Java and struggle to refresh the list of Midi Devices. As far as i know MidiSystem.getMidiDeviceInfo(); should give me an Info[] Array. Nothing happens for me however. The Objects inside the Array stay the same when new devices are plugged in or out and so is it's length. Searching Stackoverflow brought me to this 6 year old question. One of the comments suggests, that being on OSX/macOS might be the issue. I haven't tried my program on Windows or Linux yet,

RStudio on Mac OS X 10.13 getting X11 is not available error when trying to use fix()

强颜欢笑 提交于 2020-01-13 19:50:11
问题 I have installed XQuartz on my machine using homebrew and then I restarted my machine, when I try to use the fix() command in RStudio I get the following error > College=read.csv("College.csv",header=T,na.strings ="?") > fix(College) Error in edit.data.frame(get(subx, envir = parent), title = subx, ...) : X11 is not available When I try to the following in terminal it works as expected. How can I make the same command work in RStudio 回答1: Putting this as an answer in case other find this.

malformed mach-o image: symbol table underruns __LINKEDIT

眉间皱痕 提交于 2020-01-13 17:06:52
问题 Using the new Xcode 8 GM build on the GM of macOS Sierra, I've recompiled a Qt 5.7 C++ project and I'm getting the following error message when trying to launch the app: Reason: no suitable image found. Did find: /path/to/my/lib/libio_core.dylib: malformed mach-o image: symbol table underruns __LINKEDIT This doesn't occur on debug builds, only release. Does anyone have an idea as to what this means and how to go about fixing it? Update: This actually has nothing to do with Xcode 8. Building

malformed mach-o image: symbol table underruns __LINKEDIT

丶灬走出姿态 提交于 2020-01-13 17:06:37
问题 Using the new Xcode 8 GM build on the GM of macOS Sierra, I've recompiled a Qt 5.7 C++ project and I'm getting the following error message when trying to launch the app: Reason: no suitable image found. Did find: /path/to/my/lib/libio_core.dylib: malformed mach-o image: symbol table underruns __LINKEDIT This doesn't occur on debug builds, only release. Does anyone have an idea as to what this means and how to go about fixing it? Update: This actually has nothing to do with Xcode 8. Building

malformed mach-o image: symbol table underruns __LINKEDIT

时光总嘲笑我的痴心妄想 提交于 2020-01-13 17:05:40
问题 Using the new Xcode 8 GM build on the GM of macOS Sierra, I've recompiled a Qt 5.7 C++ project and I'm getting the following error message when trying to launch the app: Reason: no suitable image found. Did find: /path/to/my/lib/libio_core.dylib: malformed mach-o image: symbol table underruns __LINKEDIT This doesn't occur on debug builds, only release. Does anyone have an idea as to what this means and how to go about fixing it? Update: This actually has nothing to do with Xcode 8. Building

malformed mach-o image: symbol table underruns __LINKEDIT

三世轮回 提交于 2020-01-13 17:05:29
问题 Using the new Xcode 8 GM build on the GM of macOS Sierra, I've recompiled a Qt 5.7 C++ project and I'm getting the following error message when trying to launch the app: Reason: no suitable image found. Did find: /path/to/my/lib/libio_core.dylib: malformed mach-o image: symbol table underruns __LINKEDIT This doesn't occur on debug builds, only release. Does anyone have an idea as to what this means and how to go about fixing it? Update: This actually has nothing to do with Xcode 8. Building

xcode 8.3 error: The specified item could not be found in the keychain

≡放荡痞女 提交于 2020-01-13 08:31:09
问题 I can't sign apps on macOS 10.12.4 when I trying to run a project on xcode I get error: The specified item could not be found in the keychain. clearing keychain not fixing anything can you help please ? 回答1: I ran into the same problem. In my case the cause was a VPN auth token (SafeNet) that I had plugged into a USB port. When I removed it, suddenly the code signing worked again. It seems that the code signing process had some trouble (timeout?) accessing the keychain. So the hint is: remove

How do I disable the Show Tab Bar menu option in Sierra apps?

≡放荡痞女 提交于 2020-01-12 13:41:15
问题 I've got an app that uses a Toolbar in a NSWindow. I don't want users to be able to customize this toolbar for aesthetic reasons. In Sierra there's a new Menu option that gets inserted into "Menu > View" called Show Tab Bar . How do I disable this? Enabling it only seems to increase the tool bar's height as I don't have extra labels showing under the icons. 回答1: You can also do this on IB, on the Window’s attributes inspector 回答2: On 10.12, you need to now set the following when the window is

Windows SSTP VPN - connect from Mac [closed]

大兔子大兔子 提交于 2020-01-12 03:14:27
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 days ago . You may know that windows server VPN often can run on SSTP. Connecting from Windows 10 is pretty easy, but if you have to work remotely from your personal Mac? Mac OS does not support SSTP VPN out of the box. 回答1: Below is short instruction what to do if you want to connect Windows SSTP VPN from MacOS

Remove cached software update in macOS App Store

我只是一个虾纸丫 提交于 2020-01-07 09:22:50
问题 How can I remove cached software update in macOS? I assume downloaded files are corrupted (after restart the software update is stuck for hours), and would like to re-download it again. 回答1: cd $TMPDIR/../C/com.apple.appstore rm -rf * You can also try to download update from here: https://support.apple.com/kb/DL1941?viewlocale=en_US&locale=en_US And re-run it. 来源: https://stackoverflow.com/questions/47509324/remove-cached-software-update-in-macos-app-store