When archiving my current iOS project, I ran into a problem of several products .
Basically, this happens when Xcode cannot recognize your project as a single product and, therefore, cannot present it as an iOS application archive that you send to the App Store.
In my case, the workaround removed all Public headers from some reference static libraries (changing them to Project headers),
This is bad because these headers must be publicly available for some reason.
Why is this necessary? Is this an Xcode bug or am I missing something? Why do some static libraries need this and some not?
And finally, is there any other way to solve this problem that does not require changing the visibility of the header?
source share