Error (Xcode): Library not found for
Open
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
Assessment
This issue has not been assessed yet.