2
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.

Cœur
  • 37,241
  • 25
  • 195
  • 267

2 Answers2

3

I encounter this problem when I have multiple targets.

Please make sure that your targets have the same IOS Version under General -> Deployment Info and run pod install again.enter image description here

joshua pogi 28
  • 521
  • 1
  • 6
  • 15
0

Recording the answer discussed in the comments:

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

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139