"Multiple commands produce" error on AccessibilityResources.bundle after upgrading to 0.63.2

See original GitHub issue

Environment

System:
    OS: macOS 10.15.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 964.21 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v12.18.3/bin/yarn
    npm: 6.14.6 - ~/.nvm/versions/node/v12.18.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.6/11E708 - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.2 => 0.63.2
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.63.2

Description

iOS Archive step fails on Generic iPhone Device.


Showing All Messages
Multiple commands produce '/Users/username/Library/Developer/Xcode/DerivedData/AppName-cpjutrymlhydfneedaklsmdyabol/Build/Intermediates.noindex/ArchiveIntermediates/AppName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle':

1) Target 'React-Core.common-AccessibilityResources' has create directory command with output '/Users/username/Library/Developer/Xcode/DerivedData/AppName-cpjutrymlhydfneedaklsmdyabol/Build/Intermediates.noindex/ArchiveIntermediates/AppName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'

2) Target 'React-Core.common-CoreModulesHeaders-AccessibilityResources' has create directory command with output '/Users/username/Library/Developer/Xcode/DerivedData/AppName-cpjutrymlhydfneedaklsmdyabol/Build/Intermediates.noindex/ArchiveIntermediates/AppName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:11
  • Comments:22

github_iconTop GitHub Comments

7reactions
mdrajibsk8commented, Oct 9, 2021

This works for me. After moving the react-native-permissions inside use_react_native. It’s working for me. Here is my Podfile - Screenshot 2021-10-09 at 10 45 09 PM

5reactions
Benjybencommented, Mar 22, 2021

In my case, I had this problem when I wanted to archive my application but i resolved adding in Podfile this line inside post_install and installer.pods_project.target.each do |target| :

if target.name == "React-Core.common-AccessibilityResources" target.remove_from_project end

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple commands produce AccessibilityResources.bundle ...
Building my react native project from Xcode gives the error below; Multiple commands produce '/Users/ ...
Read more >
xcode 10 error: multiple commands produce - react native
Close Xcode project. Upgrade cocoapods to latest version - run "sudo gem install cocoapods"; Follow steps here to remove existing pods; Run "pod...
Read more >
Xcode 12.5 Multiple commands produ… - Apple Developer
Build SasquatchPuppet target (it uses AppCenter iOS Framework and AppCenter Analytics Framework targets). After the issue happened only Product > Clean build ...
Read more >
React Native Xcode Archive エラー(Multiple commands ...
React Native Xcode Archive エラー(Multiple commands produce) ... error on AccessibilityResources.bundle after upgrading to 0.63.2 · Issue.
Read more >
Solve Xcode11 "Multiple commands produce" error - YouTube
The problem seems to be caused by the new autolinking feature in React Native 0.60 - the line use_native_modules! in ios/Podfile means when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found