Invalid bundle structure: WatchKitStub/WK is not permitted

After Apple officially started allowing the Xcode 7 GM pre-seed to submit watchos2 apps, I attempted to submit my archive via the application loader tool and it failed with the following error:


  • ERROR ITMS-90171: "Invalid Bundle Structure - The binary file '***.app/Watch/XXXWatch.app/_WatchKitStub/WK' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at...

  • Is this a known issue for anyone? The app itself installs fine on my iPhone 6 plus running the iOS 9 GM as well as on my watch running watchos2.


    I also created a sample watch project from scratch and compared the build settings for the main app target, watch target and watch extension target and nothing stands out.


    Thanks in advance

    Same issue here. I can't upload to the store.

    Same issue here too 😟

    Same

    same here

    Same problem!


    Any guys get it worked? Or any workarounds?

    sounds like you need to update to the XCode 7 GM

    Even with xCode 7 GM it does not work for me


    Anyone is getting this to work ?

    Me too, I wonder any one submited watch os 2 app yet?

    Still waiting for apple to fix this.

    Same here.

    I guess it's because the app uses WatchOS 2 which is not available yet. I hope this will automatically fix when WatchOS 2 is released.

    EDIT: Downloading the latest non beta version of Xcode solved the problem for me.

    It finally worked for me when submitting ".xcarchive" package.

    But it still shows the same errors if I submit an ".ipa" package.

    Hi Guys,


    Regarding watchOS2 app, anybody ever made it when submitting an ipa package?

    I'm on the 7.0GM and still having the same issue. 😢

    Any luck with this issue?

    Invalid bundle structure: WatchKitStub/WK is not permitted
     
     
    Q