marmelroy / Localize-Swift

Swift friendly localization and i18n with in-app language switching
MIT License
3.08k stars 330 forks source link

Issue with: Pod - New build system - where different project targets have different deployment versions #163

Open Revanth-Kausikan opened 3 years ago

Revanth-Kausikan commented 3 years ago

We have different project targets that have different deployment versions.

When running pod install, different pod targets are created with different names in this format: Localize-Swift-iOS<version>. When archiving using the new build system, the compiler complains that multiple commands produce localize-swift.framework.

Full error description:

Multiple commands produce '/Users/me/Library/Developer/Xcode/DerivedData/<productName>-gqrwpkrplsfsnnfqokkumktsqfzn/Build/Intermediates.noindex/ArchiveIntermediates/<productName>-Production/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Localize_Swift.framework':
1) Target 'Localize-Swift-iOS12.1' has create directory command with output '/Users/me/Library/Developer/Xcode/DerivedData/<productName>-gqrwpkrplsfsnnfqokkumktsqfzn/Build/Intermediates.noindex/ArchiveIntermediates/<productName>-Production/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Localize_Swift.framework'
2) Target 'Localize-Swift-iOS14.0' has create directory command with output '/Users/me/Library/Developer/Xcode/DerivedData/<productName>-gqrwpkrplsfsnnfqokkumktsqfzn/Build/Intermediates.noindex/ArchiveIntermediates/<productName>-Production/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Localize_Swift.framework'