dart-lang / dart-lang/native

Mac OS support

Open
#780 1 comment 2 reactions 0 assignees View on GitHub
package:jni package:jnigen
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 10h
Merged PRs (30d)
47

Description

I don't have a Mac OS setup. Therefore unable to build dartjni for macos on desktop.

It's build system is different (podspec), and it may take more effort than porting same CMake config to windows.

I searched through github and sourcegraph, and unfortunately not able to find a single podspec that makes use of JNI libraries.

So this would involve finding JNI libraries and listing them in podspec then fixing os-specific errors / warnings..

edit @dcharkes list of tasks that we should do

- [x] run package:jni tests on MacOS (on CI)
- [x] run package:jnigen tests on MacOS (on CI)
- [x] MacOS CLI apps using some jnigen'ed code working (on CI)
- [x] MacOS Flutter desktop app using some jnigen'ed code working
- [x] MacOS as host for running jnigen on some Java sources (on CI)
- [ ] MacOS as host for Android Flutter app working

Not all of these can be run on the CI unfortunately (e.g. Flutter apps can be build, but not run).

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.