mohesu / barcode_scanner

A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
Apache License 2.0
37 stars 27 forks source link

iOS 'GTMDefines.h' file not found #124

Open shichunlei opened 1 month ago

shichunlei commented 1 month ago

Failed to build iOS app Could not build the precompiled application for the device. Lexical or Preprocessor Issue (Xcode): 'GTMDefines.h' file not found /Users/mac104/workspace/***/ios/Pods/GoogleToolboxForMac/Foundation/GTMNSData+zlib.h:19:8

Error launching application on iPhone.

flutter doctor:

[✓] Flutter (Channel stable, 3.22.0, on macOS 14.1.1 23B81 darwin-x64, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1) [✓] Xcode - develop for iOS and macOS (Xcode 15.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1)