Shopify / react-native-skia

High-performance React Native Graphics using Skia
https://shopify.github.io/react-native-skia
MIT License
6.98k stars 452 forks source link

1.4.1 build issue — Undefined symbols for architecture arm64 #2670

Closed AndreasJJ closed 1 month ago

AndreasJJ commented 1 month ago

Description

Starting from version 1.4.0 and still happening in 1.4.1 i am getting the follow error at the end of building. It does not happen on 1.3.13.

❌  Undefined symbols for architecture arm64
┌─ Symbol: SkUnicodes::Libgrapheme::Make()
└─ Referenced from: skia::textlayout::ParagraphBuilder::make(skia::textlayout::ParagraphStyle const&, sk_sp<skia::textlayout::FontCollection>) in libskparagraph.a[arm64][6](libskparagraph.ParagraphBuilderImpl.o)

❌  ld: symbol(s) not found for architecture arm64

❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

› 3 error(s), and 2 warning(s)

CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65.

I am running:

Version

1.4.0 - 1.4.1

Steps to reproduce

start an iOS build with expo expo run:ios or npm run run:ios

Snack, code example, screenshot, or link to a repository

https://github.com/AndreasJJ/skia-repro-1.4.1

hamdij0maa commented 1 month ago

+1

github-actions[bot] commented 1 month ago

:tada: This issue has been resolved in version 1.4.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: