I added Notification Extension Service for push notification image purpose. It can running on read device as expected
but when I tried to archive it, some errors appears, look like the following :
The error message :
Could not find or use auto-linked framework 'Flutter'
Undefined symbol: _FlutterMethodNotImplemented
Undefined symbol: _OBJC_CLASS_$_FlutterBasicMessageChannel
Undefined symbol: _OBJC_CLASS_$_FlutterError
Undefined symbol: _OBJC_CLASS_$_FlutterMethodChannel
Undefined symbol: _OBJC_CLASS_$_FlutterStandardMessageCodec
Undefined symbol: _OBJC_CLASS_$_FlutterStandardReader
Undefined symbol: _OBJC_CLASS_$_FlutterStandardReaderWriter
Undefined symbol: _OBJC_CLASS_$_FlutterStandardTypedData
Undefined symbol: _OBJC_CLASS_$_FlutterStandardWriter
Undefined symbol: _OBJC_METACLASS_$_FlutterStandardReader
Undefined symbol: _OBJC_METACLASS_$_FlutterStandardReaderWriter
Undefined symbol: _OBJC_METACLASS_$_FlutterStandardWriter
I have tried some solutions that provided on internet like :
1. TargetSettings -> Build Phases -> Compile Sources -> add your .m class ->Build and Run
2. Set development target of extension must equal to runner's development target
3. Clean and build folder for severals time, but still doesn't work
Those solutions above have no good result, still face the errors.
Just info, I got this after update to XCode 14 and add Notification Extension Services
If there's any solution that I have to try, please let me know, I appreciate it very much.
Thank you