Questions tagged [macos]

macOS (formerly known as OS X or Mac OS X) is the desktop operating system from Apple, found on Macintosh computers. Use this tag only if your question relates to using macOS APIs or macOS-specific behavior, not because you happen to run your code on macOS. Questions relating to using or troubleshooting macOS are off-topic and belong in the Ask Different community instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

SwiftUI: How to override a TextField's value from within itself macOS

I'm trying to limit the text entry of a TextField based on existing values to eliminate duplicate entries. I'm changing the entered value if I detect a duplicate. My code works. If I detect a wrong ...
  • 6,683
0 votes
0 answers
10 views

I want to use XCode but need mac os so i Used Oracle Virtual Box and Mac OS Monterey issues ( I do not know how to describe - see below)

I have tried to use oracle's VM virtual box and run mac OS monterey on it. I have an issue so far that I have come across where once i start the box it wont load past this point: The screen that I see ...
0 votes
1 answer
8 views

Possible to configure volume using 'play -n synth' in Python? (mac)

Found this code to play tones at frequencies of my choice for a specified duration. Is it possible to also configure volume here? Can't seem to find the solution. import os duration_sec = 7 frequency ...
0 votes
0 answers
13 views

Error When Building Docker Image: `The following packages have unmet dependencies`

I am trying to add some packages to my existing docker image and I keep getting the error The following packages have unmet dependencies. I was also able to reproduce the error on a fresh build with a ...
0 votes
0 answers
8 views

I can not run macOs in flutter project

Launching lib/main.dart on macOS in debug mode... main.dart:1 Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that ...
  • 1
0 votes
0 answers
13 views

Build Xcode framework of OpenCV

I'm trying to build a Mac framework of OpenCV. I'm using the build script for apple found here: https://github.com/opencv/opencv/tree/4.6.0/platforms/apple I'm running the following command to build: ...
-2 votes
0 answers
13 views

Bogomips value for Mac M1 Pro chip? [closed]

I know that BogoMIPS is a linux concept roughly used as a performance/benchmark index for a processor. It seems that you can easily find Bogomips values for most of processor models, but from what I'...
  • 1,568
0 votes
1 answer
16 views

Safe to set CGEvent user data field?

The CGEvent type allows setting integer values for a specified list CGEventFields, one of which is the eventSourceUserData field. Is it safe to set this field to any value as determined by the program ...
0 votes
1 answer
10 views

Mac terminal directory issues

I previously had a bootcamp that I input labs in one folder but i made them all directories in my macOs terminal. I can't delete them. I tired to (rm -r) all but when I override them, they were all ...
0 votes
0 answers
27 views

Dir function in VBA is not working on MAC Excel 2016

I'm using the following VBA code to apply a sub-procedure shopBorder to all excel files in the results folder on MAC. The path to the results folder is getting set correctly, but looking for excel ...
  • 197
0 votes
0 answers
7 views

Updating Tcl/Tk in MacOs Ventura 13.2.1

I am trying to use dawn for Geant4 visualisation of .prim fils and I have managed to get the package. However, when I use it to visualise my files, the FUKUI Render DAWN (GUI ver.1Di) is mostly white ...
  • 1
0 votes
0 answers
12 views

How to workaround Mac Silicon (tested on M2) limitations for conda-python packages? [duplicate]

How to workaround Mac Silicon (tested on M2) limitations for conda-python packages? Example 1: This simple environment won't work because Pandas is too old. name: my-model-env channels: - conda-...
  • 645
0 votes
0 answers
6 views

Rubymine - Run / Debug Configurations Modal Appears When Pressing Keyboard Number

I am using Rubymine on a Macbook and the following modal pops up every time I press the number 4 on my keyboard. I am assuming this is a keymap shortcut, but I am unable to find it to disable it. How ...
  • 35.3k
0 votes
1 answer
35 views

-bash: python: command not found on mac

I've tried a number of approaches: brew install python ==> Downloading https://formulae.brew.sh/api/formula.jws.json ######################################################################## 100.0% =...
  • 8,088
0 votes
2 answers
14 views

Unable to launch firebase emulators ui

Hello everybody: i can't launch my emulators , firebase init ok , ports ok , the problem seems to come from the ui . Anybody could help me ? (base) jean-charlesdubien@airdejencharles firebase-demo-...
3 votes
0 answers
59 views

How to run a program on a MacBook Pro with M1 chip at a stable CPU frequency?

I am doing an experiment on a C++ program and want to test the program's performance. My laptop is MacBook Pro 21 with M1 Pro chip. Is there any command or method to specify a program run at a ...
0 votes
0 answers
11 views

Finding all files and folders related to an app (Mac) [closed]

Is there a way (or an app) that will show or list all files and folders (regardless of location, ie library or elsewhere) related to a specific app? This would be similar to the way uninstallers (...
0 votes
0 answers
18 views

How to fix "TypeError: expected str, bytes or os.PathLike object, not NoneType" when packaging py2app

I am making a simple application that counts how many times an application (Minecraft) has been opened. I know that my way of approaching this problem is pretty rudimentry in behavior but I would ...
0 votes
0 answers
6 views

When connecting windows keyboards to my mac, the keys for ^° (circumflex/degree) and <> (angle brackets) are wrong/swapped. How to correct that? [closed]

When I connect my windows usb keyboards to my mac (one is the Microsoft Ergonomic Keyboard, one is by Ducky) the key next to my left shift key and the key next to the number 1 are exchanged. Normally,...
  • 348
0 votes
0 answers
12 views

Can't run on MacOS with RswiftLibrary installed through SPM

I was trying to run my app on MacOS, but there seems to be an issue with the Rswift library. This is the full error: unsupported configuration: the aggregate target 'RswiftGenerateInternalResources' ...
0 votes
0 answers
11 views

How to build dart library libserialport for MacOS?

How do you bundle and/or deploy the dart library libserialport in MacOS? The readme makes mention of the need to bundle and/or deploy if one is to use this library in their dart code (as opposed to ...
-2 votes
0 answers
52 views

command return too many argument

I tried running the command cd .\filename\ npm install --legacy-peer-deps but it didn't run trying to install a particular package on react
-1 votes
0 answers
20 views

psql postgres fails with no such file or directory [closed]

I am trying to run psql postgres on my mac terminal, suddenly it started to fail with the following error: $ psql postgres ...
  • 785
0 votes
0 answers
24 views

Trying to create working VPN Extension with WireGuard inside MacOS Swift App

I'm using the TunnelKit library to create a VPN macOS app. I have this code for configuring/creating the connection: func connectToVPN() async { guard let cfg = WireGuard.Configuration.make( ...
  • 2,949
0 votes
1 answer
61 views

Java Virtual Machines deleted

I accidently deleted the Java Virtual Machines folder, via terminal? I have checked the trash, I can't find it there. Is there anyway to bring it back? I need that folder back for my intellJ to work ...
  • 11
0 votes
0 answers
16 views

How can I use CoreAudio in order to record audio from specific input device? [closed]

Problem I am writing a macOS UI agent application using SwiftUI, in which I need to implement audio recording from a device that I specify through my application and not the default system input from ...
-1 votes
0 answers
25 views

Mac Terminal occur when i open

Hey guys i got error when i open the terminal on my macbook like below Last login: Mon Mar 20 10:57:24 on ttys001 /Users/egecanmac/.zshrc:20: command not found: Building /Users/egecanmac/.zshrc:21: ...
-1 votes
1 answer
19 views

Can't run a GUI from docker on macos [closed]

On a MacBook Pro (M1 Pro) host machine, I have a docker container running ubuntu 22.04 with ROS2 installed. The container is run using the following command (ros2 image is already built from a custom ...
-2 votes
0 answers
9 views

Trying to Install Yeoman Generator to create Office add-in projects

I am running into issues and need some help. I am trying to install yeoman generator to create office add-in projects on MBP M1. I have performed the following already but keep receiving "zsh: ...
0 votes
1 answer
32 views

Pandas not working in VSC after updating Python

After updating Python in Visual Studio Code (VSC), I'm trying to run: import pandas as pd And getting the following error message: Python 3.9.6 (default, Oct 18 2022, 12:41:40) [Clang 14.0.0 (clang-...
-2 votes
0 answers
21 views

Install tensorflow on Mac M1 [closed]

Hey I am following this post from Apple to install tensorflow: https://developer.apple.com/metal/tensorflow-plugin/ I am stuck in the 3rd step: python -m pip install tensorflow-metal (ml) ➜ Documents ...
  • 1
0 votes
1 answer
38 views

Unable to generate assembly code in intel format on OS X

why is this? gcc-8 -masm=intel -m32 -S -fverbose-asm main.c cc1: error: -masm=intel not supported in this configuration I want to generate intel assembly code for learning。
0 votes
0 answers
10 views

How do I get a SceneKit SCNTechnique to work with includeCategoryBitmask?

I want to use SCNTechnique to make many SCNNodes (angle joint Gizmos) with a assigned categoryBitmask draw on top of other SCNNodes. I used the exact approach by Simeon on this SO thread (see Gizmo....
  • 1,276
-1 votes
0 answers
24 views

How does java_home and java version installations work?

I'm on Mac M1 Pro Ventura 13.1 I've been struggling understanding how Java home works and how to install multiple versions of JDK and were to find them, and messed too much with my java versions, now ...
-1 votes
0 answers
24 views

Tensorflow macOS Universal Binary

I’m new to tensorflow and I would like to use it in my project. I was wondering if there is a way to build tensorlfow C++ libraries universal binary for both arm64 and x86_64 for macOS. I find the ...
0 votes
1 answer
40 views

When i try to make a textured rectangle my SDL program just goes into black screen

I've tried to create a textured rectangle but when i trying to run the program it's just goes into a black screen: #include <SDL2/SDL.h> #include "dinoHeader.h" int main(int argc, ...
0 votes
0 answers
28 views

How to create a zip from command line that preserves macOS metadata but also passes validation tests when > 4GB?

I am looking for a method of creating zip archives of files and folders on macOS that meets the following requirements: Creates zips from command line (not GUI such as Finder or Archive Utility) ...
  • 9
0 votes
0 answers
11 views

Module not found: Error: Package path ./jsx-runtime.js is not exported from package

I'm getting the following error when trying to compile my project Module not found: Error: Package path ./jsx-runtime.js is not exported from package /Users/markforcina/eclipse-workspace/loanBid/...
-2 votes
0 answers
15 views

How to convert Windows EXE file to a Mac file (any app file that works on Mac, I prefer disk file dmg) [closed]

There you have it in the title. I use The Unarchiver to open some files but it does not support EXE.
1 vote
1 answer
22 views

How to share state between Multiple windows of the same SwiftUI MacOS app

I want to share state between multiple windows of the same SwiftUI app on Mac. According to the documentation, @State and @Stateobject are not shared, as my example shows. What to do, to share state ...
  • 3,696
-1 votes
0 answers
31 views

There's no such file: /usr/local/git/bin/git.exe [closed]

I installed git but git.exe file is not showing, now I can't setup Global Tool Configurations in Jenkins Should I need to reinstall Git? ? I installed Git through Home brew, when i run git version in ...
  • 1
-3 votes
0 answers
25 views

Reduce the number of available threads after starting a program [closed]

I have a C++ program running with access up to 10 threads. The program repeatedly checks the number of available threads (for this instance, I've made sure that it always has access to atleast 10 ...
0 votes
0 answers
26 views

Run-Time Error "429" Active X Component Can't Create Object

Looking for some help to get my excel VBA script working to select a folder of files and select a set of rename pair in .csv format and rename the file accordling in MacOs, not sure what I am doing ...
1 vote
0 answers
30 views

Bounce the Downloads Stack in Dock programmatically …

How can I make the dock Downloads stack bounce programmatically? I don't want to bounce my app's icon. I found this Solution for Objective-C on the Web: [[NSDistributedNotificationCenter defaultCenter]...
  • 29
-1 votes
1 answer
11 views

Cannot install John the Ripper Jumbo on macOS Ventura 13.2.1

I'm currently running macOS Ventura 13.2.1, and I can't install John the Ripper Jumbo on my device. The installation process always fails at ./configure with the error below. I've tried running git ...
-1 votes
0 answers
15 views

Is it possible to make an arbitrary View in SwiftUI to behave like the macOS title bar or toolbar, meaning, when dragging it moves the window?

I'm looking for creating a View in my application, such that when I drag inside the window moves alongside it, exactly the same as if I dragged the title bar. I can achieve this effect using a ...
  • 1,380
-1 votes
0 answers
23 views

curl doesn't work with .netrc, but works with -u with same credentials [closed]

I'm trying to run curl command in iTerm(and also in simple terminal) from Mac. curl -u "mapbox:<SECRET_TOKEN>" https://api.mapbox.com/downloads/v2/mobile-maps/releases/ios/packages/6.4....
-2 votes
0 answers
17 views

What is the problem? I try to run my server by localhost in laravel * I use mac [closed]

enter image description here There is no existing directory at "/home/alraedclub/alraedsc/public/store.alraedclub.sa/storage/logs" and it could not be created: Operation not supported
0 votes
0 answers
40 views

fatal error: 'GL/glu.h' file not found although path included

I installed OpenGL through brew install mesa and brew install freeglut on my m1 mac and wrote this hello_opengl.cpp: #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> void ...
-1 votes
1 answer
44 views

MAUI: How can I change the title bar color on macOS?

How to change the title bar color on .NET MAUI (.NET 7.0)? I've changed styles.xaml, colors.xaml, shell color but none of these things worked well, there are many questions like this but none of them ...

1
2 3 4 5
2305