Я пытаюсь использовать флаттер MlKit для создания приложения распознавания текста на устройстве. Я следовал инструкциям github page и тестирую пример проекта.
Я создал приложения IOS и Android на консоли Firebase и pod установил все необходимые зависимости.
Я закомментировал строку use_frameworks
из файла подфайла как состояние инструкций на странице glub MlKit.
target 'Runner' do
# use_frameworks!
use_modular_headers!
Однако это это ошибка, которую я получаю:
fatal error: module map file '/development/AndroidStudioProjects/imagetextidentifer/ios/Pods/Headers/Private/TFLTensorFlowLite/TensorFlowLiteObjC.modulemap' not found
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'GTMSessionFetcher' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'image_picker_modern' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'nanopb' from project 'Pods')
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'FirebaseMLModelInterpreter' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'FirebaseMLModelInterpreter' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'Protobuf' from project 'Pods')
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'TensorFlowLiteObjC' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'TensorFlowLiteObjC' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'GoogleAPIClientForREST' from project 'Pods')
Как я могу решить эту проблему?
Любая помощь будет наиболее ценной.