Comments (4)
I am also experiencing this issue on a Mac running macOS 10.14.6.
Speech/Speech.h is not found.
...
> node-gyp rebuild
CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
LIBTOOL-STATIC Release/nothing.a
CXX(target) Release/obj.target/permissions/permissions.o
../permissions.mm:11:9: fatal error: 'Speech/Speech.h' file not found
#import <Speech/Speech.h>
...
from node-mac-permissions.
This shouldn't be mediated by the version of macOS - you need to be building against the 10.15 SDK. You can run this on any version of macOS as long as you built against the right SDK i'm fairly certain 🤔
from node-mac-permissions.
@codebytere Thanks for the tip! I'm having some trouble finding those SDKs. I did some searching and found developer.apple.com/download/more/ and can't seem to find any "SDKs". I also only see "Kernal Debug Kits" referencing version # "10.15". I also tried finding ways to update/add sdk's in Xcode but no luck. Maybe I'm missing something.
Any idea where to get the sdk?
EDIT: Acutally the Kernal Debug Kits might be what I'm looking for. I'm going to try this now.
EDIT #2: The Kernal Debug Kit did not work unfortunately.
from node-mac-permissions.
Try setting this for targetting the latest MacOS SDK that is installed. Works locally for my electron mac universal builds
export SDKROOT="$(xcrun --show-sdk-path --sdk macosx)"
For Github actions, another potential route I've read of is:
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
I'd imagine a similar env setup would be possible on TravisCI
from node-mac-permissions.
Related Issues (20)
- Screen capture Access Prompt HOT 5
- Error: incompatible architecture issue while run the application HOT 7
- Incompatible architecture issue while run the application in MAC M2 Chip HOT 1
- askForInputMonitoringAccess is not included on npm install HOT 3
- Module not found: Error: Can't resolve 'fs' HOT 2
- Language
- Can I use this on Google Chrome? HOT 2
- Full Disk Access always return unauthorised on MacOS Ventura HOT 5
- Missing Input monitoring permission HOT 1
- [BUG] Requesting accessibility permission in Electron program is always denied. HOT 3
- installing Problem with node-gyp and installing issue facing from internal dependency "Binding" HOT 2
- Support for cross platform projects HOT 3
- Proposal to support Automation permissions HOT 2
- Universal Binary Doesn't Work
- Incorrect type definitions for askForScreenCaptureAccess HOT 1
- Folder access automatically denied on signed app HOT 6
- Contacts permissions not popping
- app that was built in macOS 14.5.2(intel silicon) crashes in macOS 11.x
- Calendar & Reminder Access changes in Sonoma HOT 1
- Release of v2.4.0 on NPM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-mac-permissions.