Fixed bug 5369 - iOS static library build copies public headers files into xcode archive

Dominik Reichardt

Trying to integrate the latest SDL2 changes into our iOS project of Exult I've stumbled over the fact that when I added the static iOS library the public header files were copied to the archive of our project when you let Xcode build the archive.
This makes the archive invalid for upload to the AppStore Connect.

To fix this you need to delete the public headers from the build phase:
Open the xcode project, select the target "Static Library-ios", got to build phases, and in "headers" delete all the headers in the "public" group. This is safe to do as this actually just copies the public headers for some odd counterintuitive reason.

I think this needs to be done for all the library build targets but likely not for the framework targets.
This commit is contained in:
Sam Lantinga 2020-12-01 14:01:12 -08:00
parent 4b35a18d8b
commit ebf315e0f2
1 changed files with 0 additions and 356 deletions

File diff suppressed because it is too large Load Diff