Skip to content

Unable to build iOS codegen in latest version: 0.44.2Β #703

@shubhamguptadream11

Description

@shubhamguptadream11

Description

In iOS I am getting following error by simply running fresh package build using

npx create-react-native-library@latest react-native-performance-tracker

Android is working fine.

Screenshot of error:
Image

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

Steps to reproduce:

  • Create a new package: npx create-react-native-library@latest react-native-performance-tracker
  • Provide all details
  • Select Fabric backward compatible mode
  • Create package
  • Run yarn install and cd example/ios && pod install
  • Either run yarn example ios or Try to run it on Xcode

Image

Link to repro

https://github.com/callstack/react-native-builder-bob

Environment

System:
  OS: macOS 14.6.1
  CPU: (12) arm64 Apple M2 Pro
  Memory: 493.97 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.20.2
    path: ~/.nvm/versions/node/v18.20.2/bin/node
  Yarn:
    version: 3.6.1
    path: ~/.nvm/versions/node/v18.20.2/bin/yarn
  npm:
    version: 10.9.1
    path: ~/.nvm/versions/node/v18.20.2/bin/npm
  Watchman:
    version: 2024.08.26.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/shubhamgupta/.rvm/gems/ruby-3.2.2/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 1.8.0_292
    path: /Users/shubhamgupta/.sdkman/candidates/java/current/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/shubhamgupta/.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.3
    wanted: 0.76.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions