1 Attachments New Build System's Archive Build does not properly namespace intermediate files
Originator: | paulbeusterien | ||
Number: | rdar://47116373 | Date Originated: | January 8, 2018 |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 10.1 (10B61) |
Classification: | Bug | Reproducible: | Always |
Summary: After development builds succeed, the archive build fails with "Multiple commands produce" errors when there are two intermediate builds with the same static framework name. Steps to Reproduce: (See also https://github.com/paulb777/ArchiveNamespaceCollision/blob/master/README.md) * git clone git@github.com:paulb777/ArchiveNamespaceCollision.git * cd ArchiveNamespaceCollision/ * open ./NewBuild-Extension-Subspec.xcworkspace/ * Build and run the app and extension schemes and notice error: Multiple commands produce '/Users/paulbeusterien/Library/Developer/Xcode/DerivedData/NewBuild-Extension-Subspec-dxwqxtrfbutjvtcttgjreepbbokc/Build/Intermediates.noindex/ArchiveIntermediates/NewBuild-Extension-Subspec/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework': 1) Target 'GoogleUtilities-NSData+zlib' has create directory command with output '/Users/paulbeusterien/Library/Developer/Xcode/DerivedData/NewBuild-Extension-Subspec-dxwqxtrfbutjvtcttgjreepbbokc/Build/Intermediates.noindex/ArchiveIntermediates/NewBuild-Extension-Subspec/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework' 2) Target 'GoogleUtilities-Environment' has create directory command with output '/Users/paulbeusterien/Library/Developer/Xcode/DerivedData/NewBuild-Extension-Subspec-dxwqxtrfbutjvtcttgjreepbbokc/Build/Intermediates.noindex/ArchiveIntermediates/NewBuild-Extension-Subspec/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework' ``` * Note that the archive operation will succeed with the old build system. Expected Results: Successful Archive. Actual Results: ``` error: Multiple commands produce '/Users/paulbeusterien/Library/Developer/Xcode/DerivedData/NewBuild-Extension-Subspec-dxwqxtrfbutjvtcttgjreepbbokc/Build/Intermediates.noindex/ArchiveIntermediates/NewBuild-Extension-Subspec/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework': 1) Target 'GoogleUtilities-NSData+zlib' has create directory command with output '/Users/paulbeusterien/Library/Developer/Xcode/DerivedData/NewBuild-Extension-Subspec-dxwqxtrfbutjvtcttgjreepbbokc/Build/Intermediates.noindex/ArchiveIntermediates/NewBuild-Extension-Subspec/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework' 2) Target 'GoogleUtilities-Environment' has create directory command with output '/Users/paulbeusterien/Library/Developer/Xcode/DerivedData/NewBuild-Extension-Subspec-dxwqxtrfbutjvtcttgjreepbbokc/Build/Intermediates.noindex/ArchiveIntermediates/NewBuild-Extension-Subspec/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework' ```
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Facing the same issue with version 12.1 (12A7403)
Faced with the same problem
Faced with the same problem
I'm still having the same problem. More than one year without any support.
I am experiencing this as well, and look forward to a solutiion