Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][IOS]: Error - Multiple commands produce React-Core-3e4f9a72-RCTI18nStrings | React-Core.common-RCTI18nStrings #1748

Closed
rettranksX opened this issue May 3, 2024 · 2 comments

Comments

@rettranksX
Copy link

Hello.
I recently got this error when I was trying to build app on iOS via Xcode:

error: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/Test-exffvuxnyqpfmxhdzauvmpdjfywh/Build/Intermediates.noindex/ArchiveIntermediates/Test/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle'

note: Target 'React-Core-3e4f9a72-RCTI18nStrings' (project 'Pods') has create directory command with output '/Users/user/Library/Developer/Xcode/DerivedData/Test-exffvuxnyqpfmxhdzauvmpdjfywh/Build/Intermediates.noindex/ArchiveIntermediates/Test/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle'

note: Target 'React-Core.common-RCTI18nStrings' (project 'Pods') has create directory command with output '/Users/user/Library/Developer/Xcode/DerivedData/Test-exffvuxnyqpfmxhdzauvmpdjfywh/Build/Intermediates.noindex/ArchiveIntermediates/Test/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCTI18nStrings.bundle'

Maybe you can help me to solve this issue?

These tasks did not help in solving the problem:
OneSignal/react-native-onesignal#1665
facebook/react-native#43610

image

Podfile:
image

Step to reproduce:

  1. Install react-i18next and i18next.
  2. Add to Podfile -> config = use_native_modules!
  3. pod install
  4. Try to build the project.

Thanks!

@adrai adrai transferred this issue from i18next/i18next May 3, 2024
@Jaydeep9963
Copy link

Jaydeep9963 commented May 4, 2024

Screenshot 2024-05-04 at 11 15 07 a m

Hello rettranksX,
Until this matter is resolved internally from package side, you might want to consider giving this solution a try.

Remove duplicate entry of RCTI18nStrings and stay with only one.

@rettranksX
Copy link
Author

Screenshot 2024-05-04 at 11 15 07 a m

Hello rettranksX, Until this matter is resolved internally from package side, you might want to consider giving this solution a try.

Remove duplicate entry of RCTI18nStrings and stay with only one.

Hello!
This solution worked for me.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants