dart-lang / dart-lang/native

Error (Xcode): Library not found for

Open
#478 10 comments 0 reactions 0 assignees View on GitHub
package:ffigen
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 10h
Merged PRs (30d)
47

Description

Opening dylib in dart :
`audioPlayerLibrary = AudioPlayerUtils(DynamicLibrary.open('lib/libaudioplayer.dylib'));`

Added dylib in Xcode :
```
Xcode -> Build Phases -> Link Binary With Libraries
Name - > libaudioplayer.dylib
Status-> Required
```

But while building the project getting following error.
```
Error (Xcode): Library not found for -laudioplayer
Could not build the application for the simulator.
```

Note : also tried with IOS and simulator dylib and both are not working.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.