We have discovered one or more issues with your recent delivery for
“XXX”. To process your delivery,the following issues must be
corrected: Invalid WatchKit Support – The bundle contains an invalid
implementation of WatchKit. The app may have been built or signed with
non-compliant or pre-release tools. Visit developer.apple.com for more
information. Once these issues have been corrected,you can then
redeliver the corrected binary. Regards,The App Store team
对不包含Apple Watch组件的项目进行的最小修改是什么,以便在以后想要添加它时可以使用它?
解决方法
通过在Xcode中使用正确的Scheme,只构建iPhone应用程序而不是手表应用程序.方案是如何控制在Xcode中构建的目标.
添加监视工具包目标后,会创建一个用于构建监视应用程序和移动应用程序的方案.
导出app for release时,只使用那里的移动应用程序方案,但不包括watch os目标.
来自apple的Scheme编辑器doc:
https://developer.apple.com/library/mac/recipes/xcode_help-scheme_editor/Articles/SchemeDialog.html