How to Debug "Invalid Bundle" Error Which Happens Only After Submitting to App Store

Invalid Bundle - App Store Rejection

I finally got it accepted by switching "Always Embed Swift Standard Libraries" to yes:

Sample Image

Invalid Bundle - App Store Rejection

I finally got it accepted by switching "Always Embed Swift Standard Libraries" to yes:

Sample Image

Invalid Bundle error from iTC, cannot submit app - because 4 swift dylibs fail to embed

It took 12 hours to figure this out, but this is what fixed it -- changing the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting like this:

App target (main target) -- set to NO (mine was YES)

Watch target -- set to YES (mine was NO)

Watch App Extension target -- set to NO (mine was YES)

Edit: I figured this out by creating a new, empty watch project in xcode 8, and cross-referencing the differences between build-settings in the new xcode 8 template project, and my crusty old ancient project. The settings above are what the xcode 8 template project has.



Related Topics



Leave a reply



Submit