xcode 15.3 multiple commands preventing build - in ARCHIVE version only

The following exceptions occur when I try to archive a version of this app. It runs fine in DEBUG - ive bashed my head through all github forums and stack overflow posts trying all fixes:

  • deleting the duplicate pods in xcode - cause a hermes error which then fails ALL builds

the following all show the same symptoms (same error ONLY in an archive build)

  • adjusting pod file to eliminate duplicates
  • inserting a script in build phases
  • have checked info.plist, project.pbxproj and other key files

HELP... i need to get this published 4 weeks ago

Prepare build error: Multiple commands produce '/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle' note: Target 'React-Core-c704a495-RCTI18nStrings' (project 'Pods') has create directory command with output '/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle' note: Target 'React-Core.common-RCTI18nStrings' (project 'Pods') has create directory command with output '/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle'

Multiple commands produce '/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle'

Answered by ossnonlinear in 799548022

So I've fixed this ... with the jankiest fix imaginable... but it works:

Step 1: build in debug and test.

Step 2: Archive with both:

  • react-Core.common - RCTI18nStrings
  • react-Core-c704a495-RCTI18nStrings

This build will then error

Step 3: Navigate to the folder for derived data and then into:

  • <PROJECT NAME>/Build/Intermediates.noindex/ ArchiveIntermediates/WildtrackProReact/BuildProductsPath/Debug-iphoneos/React-Core.Common/

Leave this folder open (or a folder nearby in the tree)

Step 4: In Xcode navigate to the PODS; delete:

  • React-Core-c704a495-RCTI18nStrings

Step 5: Archive the project...

Do Step 6 QUICKLY or it will error

Step 6: Copy RCTI18nStrings.bundle from the folder navigated to in Step 3 and Paste it into:

  • <PROJECT NAME>/Build/Intermediates.noindex/ ArchiveIntermediates/WildtrackProReact/BuildProductsPath/Debug-iphoneos/React-Core-c704a495/

These folders will be adjacent in the build tree so you dont have to navigate far.

The project will then archive...

More Detail in deleting pods: if i delete react -core -RCTI18nStrings then i get the following error at 2761 of 2801 in the build process

/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/BuildProductsPath/Debug-iphoneos/RNImageCropPicker/QBImagePicker.bundle error: Resource "/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/BuildProductsPath/Debug-iphoneos/React-Core-c704a495/RCTI18nStrings.bundle" not found. Run 'pod install' to update the copy resources script.

if i delete react-core.common - RCTI18nStrings then i get a hermes failure at < 100 in the build steps

If i leave both in then i get the original error: Multiple commands produce '/Users/Library/Developer/Xcode/DerivedData/WildtrackProReact-ccekvzdhkorxtrauputwcraqedhf/Build/Intermediates.noindex/ArchiveIntermediates/WildtrackProReact/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle'

Accepted Answer

So I've fixed this ... with the jankiest fix imaginable... but it works:

Step 1: build in debug and test.

Step 2: Archive with both:

  • react-Core.common - RCTI18nStrings
  • react-Core-c704a495-RCTI18nStrings

This build will then error

Step 3: Navigate to the folder for derived data and then into:

  • <PROJECT NAME>/Build/Intermediates.noindex/ ArchiveIntermediates/WildtrackProReact/BuildProductsPath/Debug-iphoneos/React-Core.Common/

Leave this folder open (or a folder nearby in the tree)

Step 4: In Xcode navigate to the PODS; delete:

  • React-Core-c704a495-RCTI18nStrings

Step 5: Archive the project...

Do Step 6 QUICKLY or it will error

Step 6: Copy RCTI18nStrings.bundle from the folder navigated to in Step 3 and Paste it into:

  • <PROJECT NAME>/Build/Intermediates.noindex/ ArchiveIntermediates/WildtrackProReact/BuildProductsPath/Debug-iphoneos/React-Core-c704a495/

These folders will be adjacent in the build tree so you dont have to navigate far.

The project will then archive...

How long does it take to receive a refund from apple developer program.?

Does Apple Developer Program Refund help, how does it work and times?

Can you help me tell me how long it takes for the bank to receive the refund money and reflect it to your bank account? I request help please. Help is very urgent please.

It’s bad from to hijack threads that are completely unrelated to your issue.

Regarding your question, I have two suggestions:

I think the second option would be the best.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

xcode 15.3 multiple commands preventing build - in ARCHIVE version only
 
 
Q