alpha0010 / react-native-file-access

Filesystem access for React Native
MIT License
298 stars 18 forks source link

After updating to 3.0.7 on iOS I get: Multiple commands produce '.../PrivacyInfo.xcprivacy' #81

Open lorenc-tomasz opened 3 months ago

lorenc-tomasz commented 3 months ago

react-native: 0.72.12 react-native-file-access: 3.0.7 Platform: iOS

Bug After updating to 3.0.7 on iOS I get: Multiple commands produce '.../PrivacyInfo.xcprivacy'

To reproduce Update to 3.0.7

Details After updated to 3.0.7 iOS build started to fail with message that Multiple commands produce '.../PrivacyInfo.xcprivacy' in bundle. Reverting to 3.0.6 fixes the problem.

lorenc-tomasz commented 3 months ago

This PR in ZIPFoundation fixes the issue: https://github.com/weichsel/ZIPFoundation/pull/314

alpha0010 commented 3 months ago

Whoops, I was just preparing essentially the same PR. Guess I should have checked there first. If you want to fix it now, you should be able to override locally by adding the following line to your ios/Podfile.

pod 'ZIPFoundation', :git => 'https://github.com/Westacular/ZIPFoundation.git', :commit => '7b8b9c9cb0'