WatchKit app submission failure; MinimumOSVersion

蹲街弑〆低调 提交于 2019-12-09 03:11:11

问题


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.



来源:https://stackoverflow.com/questions/34299847/watchkit-app-submission-failure-minimumosversion

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!