When the project references an external class library or contains a child Lib project, the default generated Archive is Generic Xcode Archive format cannot publish and generate an IPA file.
This time you need to change the project settings in build setting, change the tag bit of skip install to Yes. Note that all external third-party static library engineering settings are modified.
Or you won't succeed.
A summary of the solution is as follows:
The works in all dependent libraries are handled as follows three points:
1. Set the build Settings->deployment->skip install to YES, but the Skip install for the project will remain no.
2. Pull all header files in build Phases->copy headers to project, that is, public and private cannot have files.
3. Empty the contents of the Build settings->deployment->installation directory option.
Xcode IPA cannot generate iOS APP ARCHIVE while packaging and generates Generic Xcode ARCHIVE