ios – Do Static Libraries need a PrivacyInfo.xcprivacy file? or they use the App-Level one?


I have a project that generates a fat Static Library (NOT a Static XC Framework), and the output of that project would be a single static library file let us say: “libProject.a”
We are distributing this “libProject.a” to our clients and we are not using XC Frameworks yet.

For this specific case of having Static Library, do we need PrivacyInfo.xcprivacy file to be distributed with it? and in case it is required, how is it supposed to be distributed with the Static Library? is it enough for the ones who are using this library in their projects to add the missing XCPrivacy entries to their app “PrivacyInfo.xcprivacy” file ?

PS: I know ideally it would be better to use Static Framework instead of Static Library but that is still planned in our schedule for a future release, Since “Static Library” target type is still supported by Xcode 15.2 that means there must be a solution.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img