Category "macos"

CSC on macos does not list C# 9

I have updated to the latest .NET 5 SDK 5.0.101 but it seems the CSC compiler is unaware of the existence of C# 9. I have tried using C# 9 features (like init-s

Read and write permission for user selected folder in Mac OS app?

I am developing MAC OS app which have functionality to create file on the behalf of your. First user select folder for storing file (One time at start of app) a

Show sheet when the main window first loads

I am trying to get a sheet to load when the main window first loads. This sheet is so that it asks the user for a file so that they are sort of forced to open a

How to make Brew show the size of the formula before installing it?

I'm looking for a way to make brew show the size of a formula without installing it. I've tried various options to brew info and brew install, but neither let m

FFmpeg package for Apple Silicon [closed]

I'm in the process of porting all of our code to Apple M1 (ARM), and some of our products use FFmpeg. Are there any library packages by FFmpeg

PyCharm has failed to load the environment from '/bin/zsh'

I wrote a program about a month ago, and it worked fine. I haven't touched it since than, until today. All of a sudden, I get the warning when opening Pycharm:

cronjob error in OSX: "no path for address"

I tried running a Python script using cronjob but I get the following error: cron[44405]: no path for address 0x10ff7a000 in grep cron /var/log/system.log Whe

(Mac OS) JAVA version does not change

I have 2 JAVA version on my Macbook. I want to change version from 14 to 11. I found 2 solutions on the internet but both are not working. My java -version resu

Big Sur clang "invalid version" error due to MACOSX_DEPLOYMENT_TARGET

I assume due to the fact Big Sur is sparkling new hotfixes for the new OS have not yet happen. When attempting to install modules that use clang for compilation

After I run docker compose up, my mac returns error stating that it can't find my mix phx.server. How do I show docker where my mix.exs file is?

When I'm running Docker Compose up, I receive an error ** (Mix) The task "phx.server" could not be found Note no mix.exs was found in the current directory I b

Unzipping an archive with zipfile turns an exe into text file (MacOS)

I'm using zipfile (Python 3.6) on a Mac to unzip a zip archive containing files, folders, and an executable. The executable was made with PyInstaller and zipped

How to handle macOS dock Quit action in QML app?

I have a simple ApplicationWindow that should prevent quitting by overriding onClosing signal. However, when the app is closed from macOS dock, the onClosing is

Open a FileDialog in SwiftUI on MacOs

In a SwiftUI app on MacOS I want to allow a users to select a file from the MacOS filesystem. I try to use AppKits NSOpenPanel . I tried like this, but I'm not

How to full (with all features - ACL support / Xattr support / xxhash library/ zstd library) install (compiling) rsync v3.2.3 on Mac?

I am trying to install rsync 3.2.3 on Mac by compiling it. But, I would like to install with all features. For that, it needs some libraries which in here (http

How to full (with all features - ACL support / Xattr support / xxhash library/ zstd library) install (compiling) rsync v3.2.3 on Mac?

I am trying to install rsync 3.2.3 on Mac by compiling it. But, I would like to install with all features. For that, it needs some libraries which in here (http

LSOpenURLsWithRole() failed with error -10810 for the file /Users/gb/myapp/dist/MyApplication.app

Environment: Python 3.8 Pyqt5 Mac OS X Catalina 10.15.6 I am trying to compile my python program in Mac OS application. I get this error message when I open the

Using .searchable on a macOS causes the focus to always jump back to the search field

I'm trying to move away from having a TextField in the toolbar by using the new .searchable. But there seems to be a problem I can't solve. When you type the te

How to access NSWindow from @main App using only SwiftUI?

At this answer the solution work for Scene plus swiftUI. However using @main like: @main struct MyApp: App { @StateObject private var model = MyModel()

Installing Angular on Mac OS 10.13

I'm trying to follow the quickstart on running Angular locally (on MacOS 10.13.6). With the first command, I already get some errors: npm install -g @angular/c

VSCode: how to automatically clear Python terminal output window before each run using VS Code tasks?

I'm on VS Code for Mac OS X. Is there a way that I can have VS Code automatically clear the terminal window that shows output from the Python program each time