Privacy manifest for xcframework with .a library

Hello.

We provide our software in the form of static libraries (.a) wrapped in xcframework. Therefore, the final app will not include the embed framework.

In such a case, should the manifest content required for the library be written as part of the application's xcprivacy file? Or can I provide xcprivacy as part of the xcframework?

we meet the same issue. Have you solved it ?

likewise, what is the direction relating to this?

We have obtained information on how to resolve this issue.

Solution: static embeded framework

Embeded framework with static library copy own to app bundle, but the main binary will be replaced by some sort of stub from the original and remove unneeded resources(e.g. Headers). This allows you to tie a static library to a specific necesserary resource on framework form.

Thus, the solution steps are as follows:

  1. transform our static library to static embeded framework.(framework target but "Mach-O Type: static Library" in Xcode setting)
  2. putting them together in xcframework.

I hope Apple makes this well known...

[@K. Hiroshi](https://developer.apple.com/forums/profile/K. Hiroshi) [@K. Hiroshi](https://developer.apple.com/forums/profile/K. Hiroshi)

Hi. So your team re-created all the static libraries with static frameworks??

I think this work will be very airlift.. Can you give me more information?

Hi. So your team re-created all the static libraries with static frameworks??

Yes. Our library is not that large, so it wasn't that big of a deal. Sorry, but I don't have any better information myself.

Privacy manifest for xcframework with .a library
 
 
Q