Code Monkey home page Code Monkey logo

Comments (4)

zabojad avatar zabojad commented on August 11, 2024

If I debug what codegen does with this:

node node_modules/react-native/scripts/generate-codegen-artifacts.js --path ./ --outputPath ./ios-debug

I indeed get slightly different filenames that what is imported in RNCProgressViewComponentView.mm:

Screenshot 2023-07-18 at 17 01 46

from progress-view.

zabojad avatar zabojad commented on August 11, 2024

Now if I "fix" those imports with the right pathes given by codegen debug, I get other errors:

/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:114:28: error: unknown type name 'ImageRequest'
  auto getCoordinator = [](ImageRequest const *request) -> ImageResponseObserverCoordinator const * {
                           ^
/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:122:33: error: no member named 'getProgressImageSource' in 'facebook::react::RNCProgressViewState'
  if (!havePreviousData || data.getProgressImageSource() != _oldState->getData().getProgressImageSource()) {
                           ~~~~ ^
/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:122:82: error: no member named 'getProgressImageSource' in 'facebook::react::RNCProgressViewState'
  if (!havePreviousData || data.getProgressImageSource() != _oldState->getData().getProgressImageSource()) {
                                                            ~~~~~~~~~~~~~~~~~~~~ ^
/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:123:58: error: no member named 'getProgressImageRequest' in 'facebook::react::RNCProgressViewState'
    self.progressImageCoordinator = getCoordinator(&data.getProgressImageRequest());
                                                    ~~~~ ^
/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:126:33: error: no member named 'getTrackImageSource' in 'facebook::react::RNCProgressViewState'
  if (!havePreviousData || data.getTrackImageSource() != _oldState->getData().getTrackImageSource()) {
                           ~~~~ ^
/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:126:79: error: no member named 'getTrackImageSource' in 'facebook::react::RNCProgressViewState'
  if (!havePreviousData || data.getTrackImageSource() != _oldState->getData().getTrackImageSource()) {
                                                         ~~~~~~~~~~~~~~~~~~~~ ^
/Users/thomasfetiveau/wksp_myproj/my-proj/node_modules/@react-native-community/progress-view/ios/Fabric/RNCProgressViewComponentView.mm:127:55: error: no member named 'getTrackImageRequest' in 'facebook::react::RNCProgressViewState'
    self.trackImageCoordinator = getCoordinator(&data.getTrackImageRequest());

😭😭😭

from progress-view.

stee1ix avatar stee1ix commented on August 11, 2024

I'm facing this issue as well.

from progress-view.

nutstick avatar nutstick commented on August 11, 2024

I just found that publish package is missing the common folder (which is where RNCProgressViewComponentView .mm located). I have created #136 for the fix.

from progress-view.

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.