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
After tried everything that possible, finally I able to solved my problem. The last thing that I tried was :
Change Project Runner Configuration for Release to NONE
But, maybe this is not the final way to solve the similar problem. If above solutions don't work, the please try this solutions as well :
but don't forget to do Pod Update everytime you edit xcode component ( just to re-ensure everything is work )
I hope this solution can help other member who face the same issue.
Info, the issue come when i use this :