WatchKit app submission failure; MinimumOSVersion

2019-02-17 04:01发布

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:

enter image description here

Any ideas to diagnose this issue?

标签: ios watchkit
2条回答
混吃等死
2楼-- · 2019-02-17 04:25

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.

查看更多
贪生不怕死
3楼-- · 2019-02-17 04:49

Fixed it!

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

enter image description here

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.

查看更多
登录 后发表回答