Skip to content

I cant take archive build in ios #49397

@micromen1986

Description

@micromen1986

Description

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

Steps to reproduce

Run the app in archive mode in xcode

React Native Version

0.76.7

Affected Platforms

Runtime - iOS

Output of npx react-native info

info Fetching system and libraries information...
(node:88732) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: macOS 15.2
  CPU: (8) arm64 Apple M1
  Memory: 122.02 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.11.0
    path: ~/.nvm/versions/node/v22.11.0/bin/node
  Yarn:
    version: 3.6.4
    path: /opt/homebrew/bin/yarn
  npm:
    version: 11.1.0
    path: ~/.nvm/versions/node/v22.11.0/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/arulselvam/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK:
    API Levels:
      - "28"
      - "31"
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 33.0.1
      - 34.0.0
      - 35.0.0
      - 36.0.0
    System Images:
      - android-29 | Google APIs ARM 64 v8a
      - android-34 | Google APIs ARM 64 v8a
      - android-34 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.12816248
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.14
    path: /usr/bin/javac
  Ruby:
    version: 3.3.1
    path: /Users/arulselvam/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.7
    wanted: 0.76.7
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: false

info React Native v0.77.0 is now available (your project is running on v0.76.7).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.77.0
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.76.7&to=0.77.0
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".

Stacktrace or Logs

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

Reproducer

https://github.com/micromen1986/BsfEss.git

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Triage 🔍Platform: iOSiOS applications.Type: InvalidThis issue does not belong here. Applying this label will cause issue to be closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions