[ad_1]
I engaged on a flutter app that interacts with an identical smaller model as watch app.
For Android I am not faceing probelms. However I am nonetheless battling iOS.
After I created the default flutter app and added a watch as goal, I attempted to check validate this. I archived my mission with
flutter construct ipa
and validated the created archive. For that I opened
My App > construct > ios > archive > Runner.xcarchive
by double clicking on it. That opend Xcode and the ‘archive supervisor’. Right here I clicked on ‘Validate’.
I additionally tried it by the ‘Transproter’ app.
Each validation methods are ending with this error:
Lacking Data.plist worth. A worth for the important thing “WKApplication“, or “WKWatchKitApp“ in case your mission has a WatchKit App Extension goal, is required in “Runner.app/Watch/XXXXX App.app“ bundle. For particulars, see: https://developer.apple.com/documentation/watchkit/creating_independent_watchos_apps/setting_up_a_watchos_project
I don’t know how I can repair this.
My present setup is:
- Flutter 3.3.2 – channel steady
- Dart 2.18.1
- DevTools 2.15.0
- Android Studio Dolphin | 2021.3.1
- Xcode Model 14.0
What I additionally tried is: I created a brand new mission with a traditional iOS App (not flutter) and added a watch as goal. This validated with none issues.
[ad_2]