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

Issue with running on Apple M1 #17

Open
Vrungel322 opened this issue May 24, 2023 · 1 comment
Open

Issue with running on Apple M1 #17

Vrungel322 opened this issue May 24, 2023 · 1 comment

Comments

@Vrungel322
Copy link

As "Installation" bloc requires - I launch bouth commands. But while launch test - has error
dart:ffi new DynamicLibrary.open

package:pact_dart/src/ffi/dylib.dart 29:25           openLibrary
package:pact_dart/src/bindings/bindings.dart 78:15   new PactFFIBindings
package:pact_dart/src/bindings/bindings.dart 173:53  bindings
package:pact_dart/src/pact_mock_service.dart 23:5    new PactMockService
test/Pact_test.dart 10:17                            main.<fn>.<fn>

Invalid argument(s): Failed to load dynamic library '/usr/local/lib/libpact_ffi.dylib': dlopen(/usr/local/lib/libpact_ffi.dylib, 0x0001): tried: '/usr/local/lib/libpact_ffi.dylib' (code signature in <74A29074-0E83-3779-B194-CBE75F011DC6> '/usr/local/lib/libpact_ffi.dylib' not valid for use in process: library load disallowed by system policy), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libpact_ffi.dylib' (no such file), '/usr/local/lib/libpact_ffi.dylib' (code signature in <74A29074-0E83-3779-B194-CBE75F011DC6> '/usr/local/lib/libpact_ffi.dylib' not valid for use in process: library load disallowed by system policy)

As I understand issue in Apple M1 ?

@MartinStorz
Copy link

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