I updated my Mac to Mojave and updated Xcode to 10. I added a WatchKit framework to my project. When I upload my project to the App Store, there are some errors occurring.
ERROR ITMS-90680: “The binary you uploaded was invalid.”
ERROR ITMS-90171: “Invalid Bundle Structure - The binary file ‘XXXX.app/Watch.app/_WatchKitStub/WK’ is not permitted. Your app can’t contain standalone executable or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at http://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.”
It seems that my WatchKit isn’t in this bundle. Or what should I do after adding WatchKit? I don’t know why I get this error.