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

libsksg.xcframework: No such file or directory #56

Open
stereodenis opened this issue Sep 10, 2024 · 2 comments
Open

libsksg.xcframework: No such file or directory #56

stereodenis opened this issue Sep 10, 2024 · 2 comments

Comments

@stereodenis
Copy link

Installing SSZipArchive (2.4.3)
Installing react-native-skia-skottie (2.1.4)
[!] /bin/bash -c 
set -e
mkdir -p libs/
rm -rf libs/ios
mkdir -p libs/ios
cp -r "/Users/GID/work/gid/gid-mobile/node_modules/react-native-skottie/../@shopify/react-native-skia/libs/ios/libsksg.xcframework" libs/ios/
cp -r "/Users/GID/work/gid/gid-mobile/node_modules/react-native-skottie/../@shopify/react-native-skia/libs/ios/libskottie.xcframework" libs/ios/

cp: /Users/GID/work/gid/gid-mobile/node_modules/react-native-skottie/../@shopify/react-native-skia/libs/ios/libsksg.xcframework: No such file or directory

Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: /bin/bash -c 
set -e
mkdir -p libs/
rm -rf libs/ios
mkdir -p libs/ios
cp -r "/Users/GID/work/gid/gid-mobile/node_modules/react-native-skottie/../@shopify/react-native-skia/libs/ios/libsksg.xcframework" libs/ios/
cp -r "/Users/GID/work/gid/gid-mobile/node_modules/react-native-skottie/../@shopify/react-native-skia/libs/ios/libskottie.xcframework" libs/ios/

cp: /Users/GID/work/gid/gid-mobile/node_modules/react-native-skottie/../@shopify/react-native-skia/libs/ios/libsksg.xcframework: No such file or directory
@darix795
Copy link

Same issue on Expo 52 and React Native Skia 1.5.0

@ShahoodHussain77
Copy link

I was having the same issue.
just found the workaround in react-native-skotie lib.
goto file inside -> node modules -> react-native-skottie -> react-native-skia-skottie.podspec
and change line 35 and 36 to
35 - cp -r "#{skiaPath}/libs/ios/libsksg.xcframework" libs/ios/ ---> cp -r "#{skiaPath}/libs/apple/libsksg.xcframework" libs/apple/
36- cp -r "#{skiaPath}/libs/ios/libskottie.xcframework" libs/ios/ ---> cp -r "#{skiaPath}/libs/apple/libskottie.xcframework" libs/apple/

Screenshot 2025-01-02 at 21 55 16
Screenshot 2025-01-02 at 21 57 54

use patching to persist changes after reinstalling node modules

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

3 participants