Skip to content

Commit

Permalink
fix ios
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Aug 18, 2023
1 parent 3f60355 commit 5fd71ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/flutter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
run: flutter pub get

- name: Run integration tests
run: flutter test integration_test
run: flutter drive --driver=integration_test/driver.dart --target=integration_test/app_test.dart
9 changes: 9 additions & 0 deletions example/integration_test/driver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,14 @@ Future<void> main() async {
'android.permission.RECORD_AUDIO'
],
);
} else if (Platform.isIOS) {
await Process.run('xcrun', [
'simctl',
'privacy',
'booted',
'grant',
'all',
'ai.picovoice.flutter.voiceprocessor.flutterVoiceProcessorExample'
]);
}
}

0 comments on commit 5fd71ab

Please sign in to comment.