macos-mojave

MacOS clang via Homebrew broken under Mojave `wchar.h`

会有一股神秘感。 提交于 2019-12-01 18:08:43
问题 Unsurprisingly the new update of OSX Mojave broke my llvm installation in Homebrew, these are the steps I tried: xcode-select --install # Complained, so I installed commandLineTools from here https://developer.apple.com/download/more/ xcode-select -p /Library/Developer/CommandLineTools xcode-select --install # Now says installed sudo xcodebuild -license # Fails, as it says I only have CommandLineTools installed in /Library/Developer/CommandLineTools not xcode # Try something else (all

Apache not working after macOS Mojave update

≡放荡痞女 提交于 2019-12-01 16:52:36
Ok, after update macOS from High Sierra to Mojave, Apache with PHP stop working properly, so I did everything as is said in this guide - https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions but after that, still apache not working properly, sometimes working, sometimes not, and its says in browsers ERR_CONNECTION_REFUSED or other errors like 404 or 500. In apache log is: [Tue Oct 02 15:02:23.209423 2018] [mpm_prefork:notice] [pid 14579] AH00173: SIGHUP received. Attempting to restart [Tue Oct 02 15:02:23.255957 2018] [mpm_prefork:notice] [pid 14579] AH00163: Apache/2.4.35 (Unix)

Apache not working after macOS Mojave update

爱⌒轻易说出口 提交于 2019-12-01 15:30:48
问题 Ok, after update macOS from High Sierra to Mojave, Apache with PHP stop working properly, so I did everything as is said in this guide - https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions but after that, still apache not working properly, sometimes working, sometimes not, and its says in browsers ERR_CONNECTION_REFUSED or other errors like 404 or 500. In apache log is: [Tue Oct 02 15:02:23.209423 2018] [mpm_prefork:notice] [pid 14579] AH00173: SIGHUP received. Attempting to

Hardened runtime for Java and Mojave

孤街醉人 提交于 2019-12-01 07:07:53
I currently distribute a Java application, packaged and signed using pkgbuild on macOS. Recently, Apple warns developers: "In an upcoming release of macOS, Gatekeeper will require Developer ID–signed software to be notarized by Apple." Upon reading the notarizing docs, apple warns developers : "You must enable hardened runtime for your app to be notarized by Apple." Which goes into some details about how to toggle these settings on within Xcode. But what about apps not developed with Xcode? Xamarin/Mono have some back and forth about how they're tackling this but the commits so far seem to

Updated to Xcode 10.1 on Mojave and now my app always asks to use the microphone

♀尐吖头ヾ 提交于 2019-11-30 14:41:53
问题 I am running a AVAudioSession which I suspect is activating the microphone request, but I only use it for sounds and music. When running Xcode 10.1 Simulator on macOS Mojave , why does it activate a request to access the microphone? I haven't written a single line to even ask access to it. My app doesn't need access to it nor do I want it to. Here's the code to play the music: AVAudioSession *title = [AVAudioSession sharedInstance]; [title setCategory:AVAudioSessionCategoryAmbient error:nil];

Button text of tkinter does not work in mojave

若如初见. 提交于 2019-11-30 12:04:26
问题 It is very simple program. import tkinter tkinter.Button(None, text='button').pack() tkinter.mainloop() I expect this program shows me such as a below picture. But it shows a below picture actually. When it is resized on GUI it seems working well. It didn't occur this problem in High Sierra. My environment is following: macOS Mojave 10.14 Python 3.7.0 Could you advice to me? I found out same problem on here. 回答1: Changing Appearance to Light Mode fixed this problem for me. To change

Updated to Xcode 10.1 on Mojave and now my app always asks to use the microphone

廉价感情. 提交于 2019-11-30 11:25:30
I am running a AVAudioSession which I suspect is activating the microphone request, but I only use it for sounds and music. When running Xcode 10.1 Simulator on macOS Mojave , why does it activate a request to access the microphone? I haven't written a single line to even ask access to it. My app doesn't need access to it nor do I want it to. Here's the code to play the music: AVAudioSession *title = [AVAudioSession sharedInstance]; [title setCategory:AVAudioSessionCategoryAmbient error:nil]; [title setActive:YES error:nil]; //MUSIC NSString *path = [[NSBundle mainBundle] pathForResource:@

iOS Simulator would like to access microphone every time

柔情痞子 提交于 2019-11-30 11:15:52
问题 Since the update to macOS Mojave, I get this alert every time I run on the simulator: "<AppName>" would like to access the microphone. It is stopping the simulator from running! How can I stop it? 回答1: What worked for me was to change the Hardware Audio Input to Internal Microphone . What I believe happen is that when you give access it changes the audio input to your headphones or macbook. My concern was that I am watching a tutorial and it keeps changing the audio frequency and it kept

Pybind11 doesn't work or C++ doesn't compile after upgrading to Mojave: -lstdc++ not found

两盒软妹~` 提交于 2019-11-30 09:47:31
问题 I was able to install the pybind11 example here before I upgraded my MacOS. However, after I upgraded my MacOS to Mojave, when I compile the same example on that link, I see the following error: clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated] ld: library not found for -lstdc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'g++' failed with exit status 1 Am I missing a linker

iOS Simulator Crash on Xcode 10

﹥>﹥吖頭↗ 提交于 2019-11-30 06:47:12
问题 Today, I've updated my iMac to macOS Mojave from macOS High Sierra. Since then I'm not able to open simulator. Every time I tried to open the simulator that crashes immediately. Whenever I tried to run the simulator via Xcode then Xcode shows this error Timed out waiting for the simulator application for iphonesimulator to become ready Also, I tried to open the simulator directly and it's crash immediately. Here the gif (gif is a little bit slow) - System CPU & Memory Status - Here some