Fix tests
diff --git a/pkgs/jni/example/macos/Podfile b/pkgs/jni/example/macos/Podfile
index dade8df..049abe2 100644
--- a/pkgs/jni/example/macos/Podfile
+++ b/pkgs/jni/example/macos/Podfile
@@ -1,4 +1,4 @@
-platform :osx, '10.11'
+platform :osx, '10.14'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
diff --git a/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart b/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart
index 96858b3..ad20b2c 100644
--- a/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart
+++ b/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart
@@ -718,6 +718,7 @@
JObject future, JObjType<$T> T) async {
final receivePort = ReceivePort();
await Isolate.spawn((sendPort) {
+ Jni.setDylibDir(dylibDir: join('build', 'jni_libs'));
final futureClass = JClass.forName('java/util/concurrent/Future');
final getMethod =
futureClass.instanceMethodId('get', '()Ljava/lang/Object;');