You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all! I (my work) has a React Native app that uses the lovely react-native-turbo-image library which has a dependency on this library (and NukeUI).
Everything builds fine for iOS, but our build for Mac Catalyst fails with these relevant lines:
warning: [CP] Nuke.xcframework: Unable to find matching slice in 'ios-arm64 ios-arm64_x86_64-simulator' for the current build architectures (arm64 x86_64) and platform (-maccatalyst).
node_modules/react-native-turbo-image/ios/Utilities/CachePolicy.swift:2:8: error: Unable to find module dependency: 'Nuke'
import Nuke
Our current workaround is simply removing and stubbing the turbo-image dependency on our catalyst builds, because the feature we use react-native-turbo-image for isn't available on that platform anyway (don't ask me why our repo isn't forked then...)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! I (my work) has a React Native app that uses the lovely react-native-turbo-image library which has a dependency on this library (and NukeUI).
Everything builds fine for iOS, but our build for Mac Catalyst fails with these relevant lines:
Our current workaround is simply removing and stubbing the turbo-image dependency on our catalyst builds, because the feature we use react-native-turbo-image for isn't available on that platform anyway (don't ask me why our repo isn't forked then...)
Any advice for a better solution here?
Beta Was this translation helpful? Give feedback.
All reactions