user10733862
user10733862

Reputation:

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.

Upvotes: 2

Views: 3526

Answers (2)

joshua pogi 28
joshua pogi 28

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.enter image description here

Upvotes: 3

Paul Beusterien
Paul Beusterien

Reputation: 29572

Recording the answer discussed in the comments:

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

Upvotes: 0

Related Questions