Skip to content

Conversation

@kieran-osgood-shopify
Copy link
Contributor

@kieran-osgood-shopify kieran-osgood-shopify commented Oct 31, 2025

What changes are you making?

The sample is failing to archive for iOS due to an error regarding duplicate outputs

error: Multiple commands produce '/Users/ko/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/ReactNative/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/React-Core_privacy.bundle'
    note: Target 'React-Core-f955c501-React-Core_privacy' (project 'Pods') has create directory command with output '/Users/ko/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/ReactNative/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/React-Core_privacy.bundle'
    note: Target 'React-Core.common-React-Core_privacy' (project 'Pods') has create directory command with output '/Users/ko/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/ReactNative/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/React-Core_privacy.bundle'

I fixed this by updating the sample Podfile to include the pod within the correct Target.
There is a nice by-product from this where the previous workaround to this on the "React-Core-RCTI18nStrings" and "React-Core-AccessibilityResources" are no longer necessary simplifying the Podfile

I also added in the correct merchant id entitlement which fails the xcode build every time


PR Checklist

Important

Releasing a new version of the kit?


Tip

See the Contributing documentation for instructions on how to publish a new version of the library.

@kieran-osgood-shopify kieran-osgood-shopify requested a review from a team as a code owner October 31, 2025 11:27
@github-actions
Copy link

Coverage Report

Lines Statements Branches Functions
Coverage: 99%
99.52% (209/210) 98.29% (115/117) 100% (61/61)

@kieran-osgood-shopify kieran-osgood-shopify changed the title Fix/archive Fix(Sample): Archiving failing due to duplicate build outputs Oct 31, 2025
@kieran-osgood-shopify kieran-osgood-shopify enabled auto-merge (squash) November 3, 2025 09:40
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from main to development November 5, 2025 11:29
@kieran-osgood-shopify kieran-osgood-shopify merged commit 32a34cd into development Nov 6, 2025
7 checks passed
@kieran-osgood-shopify kieran-osgood-shopify deleted the fix/archive branch November 6, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants