From 1a597c307f7892d31ac492426d1d0794552d8311 Mon Sep 17 00:00:00 2001 From: Abdelaziz Mahdy Date: Mon, 14 Oct 2024 13:19:43 -0300 Subject: [PATCH] fixes --- .github/workflows/integration_tests.yml | 3 ++- example/ios/Runner.xcodeproj/project.pbxproj | 1 - example/lib/run_model_by_camera_demo.dart | 3 +++ example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig | 3 +-- example/macos/Flutter/ephemeral/flutter_export_environment.sh | 3 +-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 7f1acb5..6b73726 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -22,7 +22,8 @@ jobs: matrix: # api-level: [21, 23, 24, 26, 28, 29] api-level: [33] - target: [google_apis] + # target: [google_apis] + target: [default] steps: - uses: actions/checkout@v4 with: diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 1e6c4f4..fb90a98 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -654,7 +654,6 @@ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 9PAX4P9578; ENABLE_BITCODE = NO; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "pytorch example"; IPHONEOS_DEPLOYMENT_TARGET = 12.0; diff --git a/example/lib/run_model_by_camera_demo.dart b/example/lib/run_model_by_camera_demo.dart index 8c3e7de..c56eb21 100644 --- a/example/lib/run_model_by_camera_demo.dart +++ b/example/lib/run_model_by_camera_demo.dart @@ -27,6 +27,9 @@ class _RunModelByCameraDemoState extends State { return Scaffold( key: scaffoldKey, backgroundColor: Colors.black, + appBar: AppBar( + title: const Text('Run model with Camera'), + ), body: Stack( children: [ // Camera View diff --git a/example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig b/example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig index 2b6d1bd..7d575cf 100644 --- a/example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig +++ b/example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig @@ -2,11 +2,10 @@ FLUTTER_ROOT=/Users/AbdelazizMahdy/Developer/flutter FLUTTER_APPLICATION_PATH=/Users/AbdelazizMahdy/flutter_projects/pytorch_lite/example COCOAPODS_PARALLEL_CODE_SIGN=true -FLUTTER_TARGET=/Users/AbdelazizMahdy/flutter_projects/pytorch_lite/example/lib/main.dart FLUTTER_BUILD_DIR=build FLUTTER_BUILD_NAME=1.0.0 FLUTTER_BUILD_NUMBER=1 DART_OBFUSCATION=false TRACK_WIDGET_CREATION=true TREE_SHAKE_ICONS=false -PACKAGE_CONFIG=/Users/AbdelazizMahdy/flutter_projects/pytorch_lite/example/.dart_tool/package_config.json +PACKAGE_CONFIG=.dart_tool/package_config.json diff --git a/example/macos/Flutter/ephemeral/flutter_export_environment.sh b/example/macos/Flutter/ephemeral/flutter_export_environment.sh index f0be1ea..e14c321 100755 --- a/example/macos/Flutter/ephemeral/flutter_export_environment.sh +++ b/example/macos/Flutter/ephemeral/flutter_export_environment.sh @@ -3,11 +3,10 @@ export "FLUTTER_ROOT=/Users/AbdelazizMahdy/Developer/flutter" export "FLUTTER_APPLICATION_PATH=/Users/AbdelazizMahdy/flutter_projects/pytorch_lite/example" export "COCOAPODS_PARALLEL_CODE_SIGN=true" -export "FLUTTER_TARGET=/Users/AbdelazizMahdy/flutter_projects/pytorch_lite/example/lib/main.dart" export "FLUTTER_BUILD_DIR=build" export "FLUTTER_BUILD_NAME=1.0.0" export "FLUTTER_BUILD_NUMBER=1" export "DART_OBFUSCATION=false" export "TRACK_WIDGET_CREATION=true" export "TREE_SHAKE_ICONS=false" -export "PACKAGE_CONFIG=/Users/AbdelazizMahdy/flutter_projects/pytorch_lite/example/.dart_tool/package_config.json" +export "PACKAGE_CONFIG=.dart_tool/package_config.json"