zoontek / react-native-localize

🌍 A toolbox for your React Native app localization
MIT License
2.29k stars 212 forks source link

Error while compiling for 0.75 with new architecture iOS #275

Closed abrah4mr closed 1 month ago

abrah4mr commented 1 month ago

Before submitting a new issue

Bug summary

I'm having an issue with the library for iOS, every time I tried to run for iOS and Xcode, it breaks in the step in the screenshot:

Screenshot 2024-09-18 at 2 16 59 PM

Library version

3.2.1

Environment info

System:
  OS: macOS 14.6.1
  CPU: (8) arm64 Apple M1
  Memory: 306.72 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.4.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 3.6.4
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.2.4
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2023.12.04.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/maharba/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK:
    API Levels:
      - "28"
      - "29"
      - "30"
      - "31"
      - "32"
      - "33"
      - "34"
    Build Tools:
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 32.0.0
      - 33.0.0
      - 34.0.0
      - 35.0.0
    System Images:
      - android-33 | ARM 64 v8a
      - android-35 | Google Play ARM 64 v8a
    Android NDK: 22.1.7171670
IDEs:
  Android Studio: 2023.2 AI-232.10300.40.2321.11567975
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/maharba/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.3
    wanted: 0.75.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Steps to reproduce

  1. Install de library
  2. Do a pod install

Reproducible sample code

Nothing to show here, is a build error.
zoontek commented 1 month ago

@abrah4mr All I see in your screenshot is a warning, this is not an error and is probably not responsible for it.

abrah4mr commented 1 month ago

Yeah is a warning, but once I deleted the library it works.

This is the only information I could get from the build step.

@zoontek

abrah4mr commented 1 month ago

Any idea @zoontek?

zoontek commented 1 month ago

@abrah4mr I'm currently on holidays. Will update the example app to RN 0.75 when I'm back.

abrah4mr commented 1 month ago

@zoontek Sorry man, I didn't know, enjoy your holidays!

zoontek commented 1 month ago

Just updated the example app, absolutely no issue on my side. Must be something else than the library.

Screenshot 2024-09-26 at 16 25 33