Comments (4)
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](https://private-user-images.githubusercontent.com/1238030/254307190-e04e77e7-f18e-49ef-ab69-8352412d75e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyMDY4MjQsIm5iZiI6MTcyMjIwNjUyNCwicGF0aCI6Ii8xMjM4MDMwLzI1NDMwNzE5MC1lMDRlNzdlNy1mMThlLTQ5ZWYtYWI2OS04MzUyNDEyZDc1ZTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjhUMjI0MjA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmZiY2RmNWMxZjgyZDdkYmM3ZTM3MDhkYWY4YjkzNzI2NDc0NmZiN2YxNzE4NzQyNzk0YTYzY2UyNDNjMzJlMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.-t0oe14QdIa41l3pNF6_9qR0ZC-u8XyARDvE3QaybHs)
from progress-view.
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.
I'm facing this issue as well.
from progress-view.
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)
- Add CI for macOS
- React Native 0.71 support HOT 2
- npm package not published HOT 1
- ENV['RCT_NEW_ARCH_ENABLED'] == '1'
- Can't set the height of the progress bar
- Android release build assembling fails with [email protected] HOT 2
- Module not found: Can't resolve './ProgressView' HOT 3
- Incorrect runtime dependency on babel@6 HOT 3
- Build with windows
- "RNCProgressView" was not found HOT 5
- tvOS support?
- Version Sdk 21 HOT 2
- Xcode 12 compatibility HOT 1
- Fix Windows CI
- Take buildToolsVersion and compileSdkVersion from root project
- Example app is outdated/broken for Windows
- [Help needed] How to make a slopped progress bar view
- Support new React Native new architecture (TurboModules/Fabric) HOT 2
- Is this package still running actively? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from progress-view.