Adding Live Activities to Flutter iOS App
I have spent weeks troubleshooting errors with the supposedly simple task of adding a Live Activity to my Flutter iOS app. I hope my experience can get you through this process in minutes instead of weeks.
After adding the Widget Extension and enabling “Supports Live Activities” in my Info.plist files (both for Runner and Widget), I am greeted with this “Cycle Inside Runer” error.
It was caused by the default order of the Build Phases:
Default Build Phases after adding widget extension
‼️ Thin Binary needs to be AFTER Embed Foundation Extensions
Moved Thin Binary AFTER Embed Foundation Extensions