Closed Rahil-Griphhy closed 6 months ago
Hi Rahil, could you please give me more details? Flutter version, device type
Flutter version : 3.10.5 device type: tvOS
Follow your example of flutter tv
of course tvOS, we are running the Flutter app for Apple TV :) I mean simulator or real device, if the real device which version of OS, and if simulator which version of CPU and macOS do you have
currently running in simulator Xcode version -> Version 14.3.1 (14E300c) Mac mini 2023 / Apple M2 (8 core) Mac OS -> 13.4 tv OS -> 16.4
On Wed, 6 Dec 2023 at 14:29, Sasha Denisov @.***> wrote:
of course tvOS, we are running the Flutter app for Apple TV :) I mean simulator or real device, if the real device which version of OS, and if simulator which version of CPU and macOS do you have
— Reply to this email directly, view it on GitHub https://github.com/DenisovAV/flutter_tv/issues/17#issuecomment-1842459988, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDA32MRQRM33NQXFSVU73LTYIAXWBAVCNFSM6AAAAABAFLTZ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGQ2TSOJYHA . You are receiving this because you modified the open/close state.Message ID: @.***>
Could you yry to delete the project folder, clone it again, launch the script and send me the stack trace, your trace is not from the first launch
sure wait a min
rahilgriphhy@Rahils-Mac-mini flutter_tv % sh scripts/run_apple_tv.sh
fvm flutter clean
╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝
Cleaning Xcode workspace... 2,298ms Cleaning Xcode workspace... 1,554ms
[!] A license was specified in podspec custom_shared_preferences_ios
but the file does not exist - /Users/rahilgriphhy/Desktop/flutter_tv/ios/.symlinks/plugins/custom_shared_preferences_ios/LICENSE
[!] Unable to read the license file ../LICENSE
for the spec custom_shared_preferences_ios (0.0.1)
[!] Unable to read the license file ../LICENSE
for the spec custom_shared_preferences_ios (0.0.1)
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner
to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig
or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig
in your build configuration (Flutter/Release.xcconfig
).
Faced the issue
As I see, you didn't change the path in scripts, the second step in the manual.
You need to change /Aleksandr_Denisov/Work/engine to your path
already changed
this is because of this,
need to change in this file too?? also tvos folder have the same file
It should be changed automatically by script. But there was exception, have no idea why:
sed -i 's#FLUTTER_LOCAL_ENGINE[[:space:]]=[[:space:]].*;#FLUTTER_LOCAL_ENGINE = "/Users/rahilgriphhy/Desktop";#g' Runner.xcodeproj/project.pbxproj sed: 1: "Runner.xcodeproj/projec ...": invalid command code R
Ok, let's change it manually. You can do it in XCode directly, or in pbxproj file.
And can you show me your run_appletv.sh file?
========================================
output after changing manually
can you send full stack trace
rahilgriphhy@Rahils-Mac-mini flutter_tv % sh scripts/run_apple_tv.sh
fvm flutter clean
╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝
Cleaning Xcode workspace... 1,595ms Cleaning Xcode workspace... 1,548ms
[!] A license was specified in podspec custom_shared_preferences_ios
but the file does not exist - /Users/rahilgriphhy/Desktop/flutter_tv/ios/.symlinks/plugins/custom_shared_preferences_ios/LICENSE
[!] Unable to read the license file ../LICENSE
for the spec custom_shared_preferences_ios (0.0.1)
[!] Unable to read the license file ../LICENSE
for the spec custom_shared_preferences_ios (0.0.1)
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner
to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig
or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig
in your build configuration (Flutter/Release.xcconfig
).
iOS error video uploaded on we transfer you can checkout from there => https://we.tl/t-O4LhGswn2K
@DenisovAV any update?
Looks like something wrong with your flutter and dart versions
../lib/main.dart: Warning: Interpreting this as package URI, 'package:flutter_tv/main.dart'. ../lib/main.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.16. import 'package:flutter/material.dart';
Check flutter doctor and dart -version commands
i use flutter 3.10.5 & dart 3.0.5 (stable)
I was able to reproduce this error message, it happens when your engine version is lower than your Flutter version. Please check your version of engine and flutter version
hello i'm trying to integrate flutter tv example and follow the all the steps but still facing the issues. can anyone help me to to integrate flutter tv?
@aleksandr-denisov-epam , @alde0615-zz & @DenisovAV