Shopify / flash-list

A better list for React Native
https://shopify.github.io/flash-list/
MIT License
5.6k stars 283 forks source link

tvOS Xcode error on start — abort with payload #595

Open crewtaylorfd opened 2 years ago

crewtaylorfd commented 2 years ago

Current behavior

I am trying to us FlashList on tvOS. I am getting this error in Xcode after running these commands.

Screen Shot 2022-09-13 at 8 35 38 AM

Node Version: v16.12.0 Xcode Version: 14.0

Expected behavior

It runs successfully

To Reproduce

Run the commands above on a tvOS project.

Platform:

Environment

x.y.z

https://github.com/Shopify/flash-list/issues/595#tasklist-block-bc0e3725-ca26-4691-a6de-674eac0711bb

fortmarek commented 1 year ago

Happy to accept a PR for this. You can try checking out this project and building it for the tvOS target.

account-mhj commented 1 year ago

I get same error on iOS12. And upgrade my phone to iOS15 , the error changes to dyld: Library not loaded: @rpath/libswiftCore.dylib. The reason may be that the native iOS code here(AutoLayoutView.swift,AutoLayoutViewManager.swift...) were written in Swift and my project never use Swift before. So just add /usr/lib/swift to Runpath Search Paths(from here) and it will work.