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

Operation not permitted when running on macos #96

Open
nevishs opened this issue Jan 25, 2024 · 1 comment
Open

Operation not permitted when running on macos #96

nevishs opened this issue Jan 25, 2024 · 1 comment

Comments

@nevishs
Copy link

nevishs commented Jan 25, 2024

When running dartssh2 on MacOS, I get SocketException with
message: 'Connection failed'
osError.message: 'Operation not permitted'
osError.errorCode: 1

Any suggestions?

@Naighu
Copy link

Naighu commented Feb 21, 2024

If you want to run executable in a MacOS flutter context, you need to disable sandbox mode.
go to macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements and change the below lines to

<dict>
	<key>com.apple.security.app-sandbox</key>
	<false/>
</dict>

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