I engaged on a flutter app that interacts with an analogous smaller model as watch app.
For Android I am not faceing probelms. However I am nonetheless combating iOS.
After I created the default flutter app and added a watch as goal, I attempted to check validate this. I archived my challenge 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 challenge 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

Missing Info.plist value. A value for the key “WKApplication“, or “WKWatchKitApp“ if your project has a WatchKit App Extension target, is required in “Runner.app/Watch/XXXXX App.app“ bundle.

I don’t know how I can repair this.
My present setup is:

  • Flutter 3.3.2 – channel secure
  • 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 challenge with a traditional iOS App (not flutter) and added a watch as goal. This validated with none issues.

By admin

Leave a Reply

Your email address will not be published.