This bundle is invalid - Your archive contains paths that are not allowed: ( "AppThinning.plist" )
Asked Answered
A

1

40

We made an archive with Xcode 9.
We exported this archive with Xcode 9.
We successfully uploaded the app to iTunes Connect with Application Loader. Yet, soon after, we got this message:

This bundle is invalid - Your archive contains paths that are not allowed: ( "AppThinning.plist" )

This was not happening with Xcode 8.

Agouti answered 22/9, 2017 at 9:49 Comment(0)
A
84

When you're exporting with Xcode 9 or later, they will ask you if you want to Strip Swift symbols:
enter image description here

Well, don't uncheck it! And the error will be gone.

Agouti answered 22/9, 2017 at 9:49 Comment(7)
But what if I don't wont to use this feature. As I understand, this increases build processing time.Diapause
@TimurBernikowich Did you fill a radar to ask Apple? Maybe they'll fix it in next Xcode release or iTunesConnect update.Exponential
@Coeur Not working for me, I am also facing this problem.Parrett
@Arunsharma please specify your version of Xcode (9.0 or 9.0.1) and... make sure you uploaded the correct exported archive, because it did work for so many others.Exponential
Why is the option to uncheck "Strip Swift symbols" even exist, if doing so causes the "bundle invalid error"?Overijssel
@Overijssel I could copy past my first comment: "Did you fill a radar to ask Apple? Maybe they'll fix it in next Xcode release or iTunesConnect update."Exponential
Looks like a bug to me. Correct me if I'm wrong but not striping the symbols should give me better (symbolicated swift part) if the crash occur.Signature

© 2022 - 2024 — McMap. All rights reserved.