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

tvOS Support in Detox #836

Closed
Ljo2017 opened this issue Jul 17, 2018 · 3 comments
Closed

tvOS Support in Detox #836

Ljo2017 opened this issue Jul 17, 2018 · 3 comments

Comments

@Ljo2017
Copy link

Ljo2017 commented Jul 17, 2018

Description

Currently AppleTV is listed as one of the supported devices by applesimutils but when I tried running on Apple TV simulator, I get following error:

dyld: warning: could not load inserted library '/Users/Lewina/Library/Detox/ios/6835fdc9621ba06e099f505790cc7b06d2e6c1b5/Detox.framework/Detox' because no suitable image found. Did find:
/Users/Lewina/Library/Detox/ios/6835fdc9621ba06e099f505790cc7b06d2e6c1b5/Detox.framework/Detox: mach-o, but not built for tvOS simulator

Is there any plans to support Apple TV/Android TV in the future?

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 8.0.0
  • React Native: 51
  • Node: 8.9.4
  • Device: Apple TV 4K 1080
  • Xcode: 9.4.1
  • macOS: 10.13.5
@LeoNatan
Copy link
Contributor

LeoNatan commented Jul 18, 2018

Detox is not built currently with tvOS platform binary. We haven't looked into that yet. Since iOS and tvOS have very familiar APIs and SPIs, the support should not be hard to achieve. Further requirements would arise, such as supporting the Apple TV remote as Detox API to call in tests, as well as perhaps matchers and assertions for the focus system that exists in tvOS.

This is not on our focus right now, but if someone wants to help us achieve it, PRs are welcome. I will provide guidance and assistance as needed.

@LeoNatan
Copy link
Contributor

I don’t think Earl Grey supports tvOS, in which case this will not happen any time soon.

@lock
Copy link

lock bot commented Jul 25, 2018

This thread has been automatically locked to prevent bumping of old threads. Instead, if you believe the issue still reproduces, please open a new issue and provide all the required information.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants