You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required by Apple to add my PrivacyInfo.xcprivacy into my project for NSPrivacyAccessedAPICategoryDiskSpace and NSPrivacyAccessedAPICategorySystemBootTime and once I've added it my build crashes with the below error:
❌ error: Multiple commands produce '/Users/builder/Library/Developer/Xcode/DerivedData/APP-astjpotccmrftsebuxjhqlzufvhq/Build/Intermediates.noindex/ArchiveIntermediates/APP/InstallationBuildProductsLocation/Applications/APP.app/PrivacyInfo.xcprivacy'
Error: ’Multiple commands produce PrivacyInfo.xcprivacy' (when using a third party library via cocoapods)
Solution: The problem seems to appear when using 3rd party cocoapods which include a PrivacyInfo.xcprivacy file.
The problem must be solved by the developer of the 3rd party lib by changing the podspec:
Change:
sp.resource = “Sources/Resources/PrivacyInfo.xcprivacy”
to
sp.resource_bundles = { “Podname” => “Sources/Resources/PrivacyInfo.xcprivacy” }
To be honest I'm not sure if this is the package that is causing my issue but looking at the build logs this is the only one I can see having a log like this:
What happened?
Required by Apple to add my PrivacyInfo.xcprivacy into my project for NSPrivacyAccessedAPICategoryDiskSpace and NSPrivacyAccessedAPICategorySystemBootTime and once I've added it my build crashes with the below error:
I've come across a Medium (https://jochen-holzer.medium.com/required-reason-api-troubleshooting-your-ios-privacy-manifest-file-privacyinfo-xcprivacy-c81084dc9d51) article stating:
To be honest I'm not sure if this is the package that is causing my issue but looking at the build logs this is the only one I can see having a log like this:
Version
^1.23.1
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
Trying to build the .ipa file for testing.
The text was updated successfully, but these errors were encountered: