Coder Social home page Coder Social logo

React 73.6 and Xcode 15.3 Multiple commands produce 'React-Core-60309c9c-RCTI18nStrings' (project 'Pods') and 'React-Core-RCTI18nStrings' (project 'Pods') about react-native HOT 11 CLOSED

nethusan avatar nethusan commented on April 27, 2024
React 73.6 and Xcode 15.3 Multiple commands produce 'React-Core-60309c9c-RCTI18nStrings' (project 'Pods') and 'React-Core-RCTI18nStrings' (project 'Pods')

from react-native.

Comments (11)

acb avatar acb commented on April 27, 2024 1

I was just having this same issue and deleting React-Core-RCTI18nStrings from the Pods list in Xcode fixed it for me. It doesn't seem to have affected the performance of the app in any way, so I guess it's ok.

from react-native.

github-actions avatar github-actions commented on April 27, 2024
⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

from react-native.

cortinico avatar cortinico commented on April 27, 2024

This feels like a local environment problems of yours.
Can you clean DerivedData and try again?

from react-native.

nethusan avatar nethusan commented on April 27, 2024

@cortinico Yes, I have tried cleaning and archiving the project again, but I still encounter the same problem. As mentioned earlier, I am able to build and run the project in debug mode without any issues. However, this problem seems to occur specifically when attempting to build in release mode.

I also tried to delete the project wihin the derviedData folder.
File > Workspace Settings Then clicked over the little grey arrow under Derived data section and selected the project folder to delete it.

from react-native.

cortinico avatar cortinico commented on April 27, 2024

We can't help you further sadly.
I suggest you seek support on StackOverflow or on other forum as we use the issue tracker only for issues with consistent reproducers.

from react-native.

siisee11 avatar siisee11 commented on April 27, 2024

I got exactly same problem, @nethusan Did you solve this issue?

from react-native.

jinxiaoman avatar jinxiaoman commented on April 27, 2024

I got exactly same problem, @nethusan Did you solve this issue?

from react-native.

hiriski avatar hiriski commented on April 27, 2024

Hi @nethusan, I got the same problem when trying to create an archive for ios, and i find a solution the issue I was having was caused by react-native-config package omitting the following line in the Podfile it worked for me.
Screenshot 2024-03-24 at 23 51 07

pod install after you eliminate both lines above

from react-native.

nethusan avatar nethusan commented on April 27, 2024

@hiriski i do not have such configs in my pods, so it can not be related to that.

# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

platform :ios, min_ios_version_supported
prepare_react_native_project!

# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
#   dependencies: {
#     ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
end

target 'ProjectName' do
  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    :flipper_configuration => flipper_config,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'ProjectNameTests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false
    )
  end
end

pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

from react-native.

nethusan avatar nethusan commented on April 27, 2024

@acb yes, but as i mentioned above, if I remove it, I am getting error on this:

Showing All Issues
Library 'RCT-Folly.common-Fabric' not found

But when i check within the Pods project, I can see it exist
image

Did you encounter this error and how did you solve it?

from react-native.

siisee11 avatar siisee11 commented on April 27, 2024

I solved it by modifying Podfile

    installer.pods_project.targets.each do |target|
    
    # Added below if-end statement
      if target.name == "React-Core-RCTI18nStrings"
       target.remove_from_project
      end
    end

from react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.