-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Description
iOS Build Fails with Undefined Symbols When Using Extension in ios with flutter_gemma
When I try to build my iOS app that includes a Share Extension and uses the flutter_gemma package, the build fails with numerous undefined symbol linker errors. These are primarily related to:
Flutter.framework (e.g., _FlutterMethodNotImplemented, OBJC_CLASS$_FlutterMethodChannel)
TensorFlowLiteC.framework (e.g., _TfLiteXNNPackDelegateCreate)
absl C++ symbols (e.g., absl::StrCat, absl::Mutex, etc.)
Xcode build done. 13.9s
Failed to build iOS app
Error (Xcode): Undefined symbol: _AbslInternalSpinLockWake
Error (Xcode): Undefined symbol: _FlutterMethodNotImplemented
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_FlutterEventChannel
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_FlutterMethodChannel
Error (Xcode): Undefined symbol: _TfLiteIntArrayCopy
Error (Xcode): Undefined symbol: _TfLiteIntArrayCreate
Error (Xcode): Undefined symbol: _TfLiteIntArrayFree
Error (Xcode): Undefined symbol: _TfLiteXNNPackDelegateCreate
Error (Xcode): Undefined symbol: _TfLiteXNNPackDelegateDelete
Error (Xcode): Undefined symbol: _TfLiteXNNPackDelegateOptionsDefault
Error (Xcode): Undefined symbol: absl::ToUnixMicros(absl::Time)
Metadata
Metadata
Assignees
Labels
No labels