WatchKit app submission failure; MinimumOSVersion

2019-02-17 04:16发布

问题:

Submitting WatchKit 1.2 companion app, fails during validation with this error:

ERROR ITMS-90455 "Invalid WatchKit App Bundle. The value '2.1' for the MinimumOSVersion key in info.plist in bundle 'redactedbundlename.watchkitapp' is not supported"

I do cannot find a MinimumOSVersion key in the watch app plist or settings, nor in build settings or plist for the phone app.

The only mention of anything "2.1" related is in my build settings:

Any ideas to diagnose this issue?

回答1:

Fixed it!

For some reason, you need to change WATCHOS_DEPLOYMENT_TARGET from 2.1 to 2.0.

You can find this in Project Settings -> "Watch App Target" -> Build Settings -> (null) - Deployment -> watchOS Deployment Target (or just search 2.1 in entire project and it should show up in the results)

I am guessing this is a bug, maybe watchOS 2.1 is still marked as 'beta' in Xcode/iTunes Connect, so that when you try to upload to iTunes Connect it rejects it due to bad version.



回答2:

This might not do it, but I would try looking at the project settings (OS version) for both the WatchKit extension and WatchKit app to ensure that they are what you want. Click on your project container, then at the top left of the menu with things like "General", "Capabilities", etc. Select all the options on that dropdown list and check the OS version.



标签: ios watchkit