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

Unable to build the tvOS App on 0.60.5 #26341

Closed
SenthilKumar-J opened this issue Sep 5, 2019 · 6 comments
Closed

Unable to build the tvOS App on 0.60.5 #26341

SenthilKumar-J opened this issue Sep 5, 2019 · 6 comments
Labels
Bug Platform: tvOS tvOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@SenthilKumar-J
Copy link

SenthilKumar-J commented Sep 5, 2019

React native version 0.60.5
Created a fresh project using the steps mentioned in https://facebook.github.io/react-native/docs/getting-started with react-native init AwesomeProject command.
iOS code is working and tvOS is not building.
Screenshots attached below.

This issue didn't occur in 0.59.9 version.

React Native version:

System:
OS: macOS 10.14.5
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 354.59 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.9.1 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.10.3 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
IDEs:
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
react-native-cli: 2.0.1

Steps To Reproduce

  1. react-native init AwesomeProject
  2. Open project workspace
  3. Change target to tvOS
  4. Build the app.

Describe what you expected to happen:

tvOS target should build and be able to run on Simulator or device.

Snack, code example, screenshot, or link to a repository:

Screenshot 2019-09-05 at 3 11 03 PM

Screenshot 2019-09-05 at 3 11 20 PM

@react-native-bot react-native-bot added the Platform: tvOS tvOS applications. label Sep 5, 2019
@aparedes
Copy link
Contributor

aparedes commented Sep 6, 2019

You should use this if you want to use react-native on tvOS https://github.com/react-native-community/react-native-tvos

@SenthilKumar-J
Copy link
Author

As per this link https://facebook.github.io/react-native/docs/building-for-apple-tv, it is considered part of the Core repo. Why this is separated now?
Is this publicly announced that will be separated or support in the native is discontinued from the RN?

@aparedes
Copy link
Contributor

aparedes commented Sep 11, 2019

Yeah I only found out about it when i saw your issue. The docs are not updated or has been announced.
I think it got separated as it uses different pods but I have no more info.
Here it states that it has been separated since June https://dlowder-salesforce.github.io/react-native-apple-tv/

react-native-community/discussions-and-proposals#111

@TheoGit
Copy link

TheoGit commented Nov 15, 2019

@aparedes I'm maintaining an RN TV App running on RN 0.59 - runs good for the most part, aside from a few really odd bugs - I just found RN Tester, great idea! However, in the new RN TV repository it states there's a TV example but I can't find the example mentioned.

TVFocusGuideView: This component provides support for Apple's UIFocusGuide API, to help ensure that focusable controls can be navigated to, even if they are not directly in line with other controls. A new example is provided in RNTester.

@stale
Copy link

stale bot commented Feb 13, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 13, 2020
@stale
Copy link

stale bot commented Feb 20, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Feb 20, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: tvOS tvOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants