Reputation:
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'
If I remove one of them,then the header file can't be found.I can be debug but can not be archived.
Upvotes: 2
Views: 3526
Reputation: 532
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.
Upvotes: 3
Reputation: 29572
Recording the answer discussed in the comments:
Using the old Xcode build system is a workaround. Details here.
Upvotes: 0