Shopify / Shopify/react-native-skia

“library 'skia' not found” when build for macCatalyst

Open
#3,838 2 comments 0 reactions 0 assignees View on GitHub

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 => true in 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

Related Issue

Image

react-native-skia-binaries

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.