Skip to content

file system relative paths not allowed in hardened programs #2

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

Closed
xni06 opened this issue Aug 4, 2020 · 1 comment
Closed

file system relative paths not allowed in hardened programs #2

xni06 opened this issue Aug 4, 2020 · 1 comment

Comments

@xni06
Copy link

xni06 commented Aug 4, 2020

When running pub run test, libgodart.socannot be found and the stacktrace contains file system relative paths not allowed in hardened programs

git log --oneline
11fa11c (HEAD, origin/master, origin/HEAD, master) Update group session
dart --version
Dart VM version: 2.8.3 (stable) (Tue May 26 18:39:38 2020 +0200) on "macos_x64"
@xni06
Copy link
Author

xni06 commented Aug 4, 2020

This type of error has already been reported here

The solution is to run the following:

codesign --remove-signature `which dart`

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