Search code examples
xcodecocoapods

CocoaPods: Multiple commands produce


Showing Recent Messages
:-1: Multiple commands produce '/Users/coel/Library/Developer/Xcode/DerivedData/XXXXXX-ercdvkscrqvgfqhfocqthkuzinrp/Build/Intermediates.noindex/ArchiveIntermediates/XXXXXXXXXXX/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaLumberjack.framework':
1) Target 'CocoaLumberjack-Default-Swift' has create directory command with output '/Users/coel/Library/Developer/Xcode/DerivedData/XXXXXX-ercdvkscrqvgfqhfocqthkuzinrp/Build/Intermediates.noindex/ArchiveIntermediates/XXXXXXXX/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaLumberjack.framework'
2) Target 'CocoaLumberjack.default-Swift' has create directory command with output '/Users/coel/Library/Developer/Xcode/DerivedData/XXXXXXXX-ercdvkscrqvgfqhfocqthkuzinrp/Build/Intermediates.noindex/ArchiveIntermediates/XXXXXXXXX/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaLumberjack.framework'

enter image description here

If I remove one of them,then the header file can't be found.I can be debug but can not be archived.


Solution

  • Recording the answer discussed in the comments:

    Using the old Xcode build system is a workaround. Details here.