Xcode 14 and skip install setting

I found strange behavior on Xcode 14.

Suppose you have a iOS project with two targets: app and a static library. Static library is in target dependencies of app, so when an app is built, static library is also automatically built and linked.

At this time, if the library's "skip install" is set to NO, the archived data will not be recognized as an iOS app and will be classified as Other Item in Organizer.(therefore, uploading is not possible)

I don't think this behavior existed in previous Xcode versions, is this a bug?

We've noticed this exact same behavior too. We were unable to create archives. They kept coming out as "Generic Archive" until we set Skip Install to "YES" on all of the external statically linked libraries in our project. This behavior seems to be a mix of CMake 3.25r2 and XCode 14 for us.

Xcode 14 and skip install setting
 
 
Q