-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 15 is't able to identify Privacy file #12470
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @manohara347, can you confirm that the framework is added with the "embed and sign" option? |
Thanks for responce. I am able to see report after adding the Embed & Sign. But this is static framework why we have to Embed & Sign this results into bump in the App size? |
It shouldn't significantly affect app size because Xcode 15 introduced behavior to remove the static archive when embedding a static framework. If you inspect the app bundle, you may see a From https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes:
|
Thanks for the response i see its not adding complete binary, If we are integrating this using cocoapods then we don't have option to change to Embed & Sign how to solve for that scenarios? if distributed as static framework in cocoapods. |
For CocoaPods that vend a static framework, there is workaround where you can specify a resource bundle in the podspec and that will ensure the resource bundle is embedded in the app bundle. In this case, only the resource bundle in the podspec will be embedded as CocoaPods will not embed the static framework vended by the pod. |
Thanks for the response. Is Apple ok with adding resources in bundle? is any documentation from apple regarding this? How you guys taking care of this for Swift Package manager we don't have option to add resources in binary binaryTarget(name:path:), binaryTarget(name:url:checksum:)? |
From what I've heard, this approach is acceptable. I don't think there is official Apple documentation about privacy manifests and resource bundles though. I do not know anything about how Apple will enforce the specifics on a technical level.
There was an undocumented, subtle behavior change in Xcode 15.3 where binary targets vending static xcframeworks will be automatically embedded. |
Thanks @ncooke3, All my queries are resolved. |
Description
I have added GoogleDataTransport.xcframework to the project and generate privacy report I am still getting error like "The archive does not contain any PrivacyInfo.xcprivacy files"
Any solution for this? Also I noticed you guys have added "GoogleDataTransport_Privacy.bundle" but when I archive it's not added in the final bundle of the app. I am using Xcode 15.
some of the frameworks are distributed as static frameworks do we need to add privacy-file in the app for those?
Any recommendations?
Reproducing the issue
Firebase SDK Version
10.22.0
Xcode Version
15
Installation Method
Zip
Firebase Product(s)
Crashlytics
Targeted Platforms
iOS
Relevant Log Output
"The archive does not contain any PrivacyInfo.xcprivacy files"
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: