First, you need to update the extension Info.plist
files with Flutter params:
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
Now you need to have these Flutter parameters available for the widget. To do so, you need to include Flutter/Generated.xcconfig
file in the Extension configuration file. On Xcode, select Project->Runner-, under “info” open “configurations”, [image2] Look for the Extension configuration file, and add the following: #include “Generated.xcconfig” Run ‘flutter clean
; flutter run
’ and the version should be updated
xcconfig
files for my extension, but your answer saved me. Thank you! – Fein