NordicSemiconductor / IOS-nRF-Mesh-Library

Provision, configure and control Bluetooth mesh devices with nRF Mesh library.
https://www.nordicsemi.com/
BSD 3-Clause "New" or "Revised" License
313 stars 123 forks source link

nRFMeshProvision/iOSDFULibrary: "Multiple commands produce PrivacyInfo.bundle" when creating an archive. #611

Closed FluffyBunniesTasteTheBest closed 5 months ago

FluffyBunniesTasteTheBest commented 5 months ago

Version

4.2.0 (latest)

Ask the question

After updating nRFMeshProvision (4.2.0) and iOSDFULibrary (4.15.1), creating an archive now fails with:

Multiple commands produce '/Users/x/Library/Developer/Xcode/DerivedData/Runner-detzyouqxapgtmabgpoqdafgagau/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/PrivacyInfo.bundle'
Target 'iOSDFULibrary-PrivacyInfo' (project 'Pods') has create directory command with output '/Users/x/Library/Developer/Xcode/DerivedData/Runner-detzyouqxapgtmabgpoqdafgagau/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/PrivacyInfo.bundle'
Target 'nRFMeshProvision-PrivacyInfo' (project 'Pods') has create directory command with output '/Users/x/Library/Developer/Xcode/DerivedData/Runner-detzyouqxapgtmabgpoqdafgagau/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/PrivacyInfo.bundle'

Do you have any ideas how to fix or workaround this? Thank you.

Relevant log output

No response

philips77 commented 5 months ago

Oh.. no, I have no idea. I was hoping that Xcode should handle that. Now it is recommended for all libraries to provide their PrivacyInfo files, so they should be merged with the app's PrivacyInfo file.

Perhaps I could do similar as here: https://github.com/getsentry/sentry-cocoa/pull/3651

philips77 commented 5 months ago

Could you try updating Nordic DFU library to 4.15.2 and check if that's resolved?

FluffyBunniesTasteTheBest commented 5 months ago

Thank you for the quick response! I'll try with Nordic DFU library 4.15.2.

It will take a few days because my app uses Nordic DFU library through a Flutter wrapper...

FluffyBunniesTasteTheBest commented 5 months ago

The issue disappeared after updating iOSDFULibrary from 3.15.1 to 4.15.3.

Thank you very much for your help, and especially for providing those libraries!