Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Error trying to build for iOS #2796

Closed
relez opened this issue Dec 7, 2024 · 15 comments
Closed

[iOS] Error trying to build for iOS #2796

relez opened this issue Dec 7, 2024 · 15 comments

Comments

@relez
Copy link

relez commented Dec 7, 2024

I got this error trying to compile for iOS.

I have tried multiple versions: 1.7.X, 1.6.X, 1.5.X and all of them throws the build error.

Image

@wcandillon
Copy link
Contributor

wcandillon commented Dec 7, 2024 via email

@tiagotedsky
Copy link

tiagotedsky commented Dec 8, 2024

Hello @relez

1.2.2 version works fine.

➜  mobile git:(develop) npm list --depth=0 | grep  @shopify/react-native-skia
├── @shopify/[email protected]

The latest 1.7.0 is failing
Image

Thank you

@wcandillon
Copy link
Contributor

let me know if you have a way to reproduce the issue.

@relez
Copy link
Author

relez commented Dec 8, 2024

I just do yarn install then install cocoapods and try to run the app using npx expo run:ios.

I copied the folder inside node_modules from another project and using locally works, seems like the issue is in the new updated code in github.

@wcandillon
Copy link
Contributor

We build paper and fabric iOS project on CI. If you could share a project that would allow us to reproduce the error that would be useful. You also mention copying the node_modules, which version of rn skia was there?

@relez
Copy link
Author

relez commented Dec 8, 2024

We build paper and fabric iOS project on CI. If you could share a project that would allow us to reproduce the error that would be useful. You also mention copying the node_modules, which version of rn skia was there?

This is the line I am using in the working project:

"@shopify/react-native-skia": "^1.5.0"

@wcandillon
Copy link
Contributor

Can you share a project where I can reproduce the issue?

@relez
Copy link
Author

relez commented Dec 9, 2024

Can you share a project where I can reproduce the issue?

Sorry @wcandillon I do not have permission to share the project, but basically what I do is:

  • Remove old node_modules folder.
  • Install the lates version of @shopify/react-native-skia also I have installed @shopify/flash-list too.
  • Install Cocoapods.
  • Run npm expo run:ios.

@AbeerAhmad
Copy link

I got the same error! did anyone find the solution?

@callmehallo
Copy link

same error on 1.7.0

1.6.0 works

@Adil-U
Copy link

Adil-U commented Dec 10, 2024

Same
"@shopify/flash-list": "1.6.4",
"@shopify/react-native-skia": "^1.3.8",
"expo": "~51.0.12",
"react": "^18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.2",

@Keoooo
Copy link

Keoooo commented Dec 10, 2024

Same "@shopify/flash-list": "1.6.4", "@shopify/react-native-skia": "^1.3.8", "expo": "~51.0.12", "react": "^18.2.0", "react-dom": "18.2.0", "react-native": "0.74.2",

I also had this issue

Remove the caret "^"

This will prevent package managers from automatically updating to newer versions like 1.7.0(which is not working)

@Adil-U
Copy link

Adil-U commented Dec 10, 2024

agers from automatically updating to newer versions like 1.7.0(which is not working)

thank you very much!

@callmehallo
Copy link

upgrading to 1.7.5 solved this issue for me

@wcandillon
Copy link
Contributor

indeed we fixed the issue, I forgot to link it to the proper PR. Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants