Shopify / Shopify/react-native-skia
“library 'skia' not found” when build for macCatalyst
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 8.6k
- Forks
- 647
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 35
Description
Description
ld: library 'skia' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
React Native Skia Version
2.6.2
React Native Version
0.83.x
Using New Architecture
- Enabled
Steps to Reproduce
- install
@shopify/react-native-skia - set
:mac_catalyst_enabled => truein Podfile - build for Mac Catalyst in Xcode
- build failed with
library 'skia' not found
Note that build for android and iOS works fine
Snack, Code Example, Screenshot, or Link to Repository
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the related issue and the react-native-skia-binaries repository, then reproduce the failure with :mac_catalyst_enabled => true in the Podfile and a Mac Catalyst build in Xcode. Trace how the Skia library is supplied for Android and iOS versus Mac Catalyst. Done means a Mac Catalyst build completes without the “library 'skia' not found” linker error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100