Closed Alvaro1dev closed 1 year ago
Hi Alvaro, try to do it from scratch, delete the project, check it out again, change debug_sim to debug and run. It should work. From my side, I will check what is wrong if you change the type after a successful launch on the simulator,
It worked, thank you!
Hi After successfully running the app in the simulator, I changed ‘debug_sim’ to ‘debug’ in the following line: sh ../scripts/copy_framework.sh debug FLUTTER_LOCAL_ENGINE inside ‘run_apple_tv.sh’ and run it again. Then, trying to run it on Xcode for a real TV throws the following error:
PathNotFoundException: Cannot open file, path = '/Users/alvaro/development/flutter_tv/build/ios/Debug- iphonesimulator/App.framework/Flutter_assets/kernel_blob.bin' (OS Error: No such file or directory, errno = 2)
0 _checkForErrorResponse (dart:io/common.dart:55:9)
1 _File.open. (dart:io/file_impl.dart:381:7)