Hadharm Hiidee
Hadharm Hiidee

Reputation: 89

Xcode 13.2.1: Multiple commands produce problem

I ran my app on simulator and everything works fine but I keep getting this error on flutter build ipa. Pls anyone help with how to fix it?? I think this is caused by ImageNotification extension.

Error (Xcode): Multiple commands produce '/Users/hiidee/Library/Developer/Xcode/DerivedData/Runner-afelnukxgwdlvvdqgngpnpmsfmoc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':

  1. Target 'GoogleUtilities-00567490' has create directory command with output '/Users/hiidee/Library/Developer/Xcode/DerivedData/Runner-afelnukxgwdlvvdqgngpnpmsfmoc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
  2. Target 'GoogleUtilities-54e75ca4' has create directory command with output '/Users/hiidee/Library/Developer/Xcode/DerivedData/Runner-afelnukxgwdlvvdqgngpnpmsfmoc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'

Encountered error while archiving for device.

Upvotes: 2

Views: 2816

Answers (1)

Hadharm Hiidee
Hadharm Hiidee

Reputation: 89

I was able to solve it by adding below line to my podfile inside ios folder

pod 'GoogleUtilities'

Upvotes: 3

Related Questions