Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMCKit does not open in Swift Cocoa Project #40

Open
raihan02 opened this issue Sep 17, 2019 · 1 comment
Open

SMCKit does not open in Swift Cocoa Project #40

raihan02 opened this issue Sep 17, 2019 · 1 comment

Comments

@raihan02
Copy link

Here I have faced a problem.
SMCKit library is opened console program but not in swift project. Please tell me how I recover this issues.
Thanks in advance.

@davidwernhart
Copy link

Hi, you have to disable the "App Sandbox" entitlement in the yourAppName.entitlements file. This is because Apple does not allow IOKit (which is used by SMCKit) to be used from inside a sandbox.
Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants