openframeworks / openframeworks/openFrameworks

tvOS examples are all broken.

Open
#7,075 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Taking a look at the tvOS examples in Xcode 13, they all reference the iOS SDK and iOS Simulators.

Switching the SDK to tvOS and device type to Apple TV doesn't fix the issue as the interface / storyboards are also for iOS and Xcode errors saying it is not compatible.

I think what is happening is that the projectGenerator / packaging script is using the iOS templates for the tvOS examples.

As the actual tvOS template is using appletvos:
https://github.com/openframeworks/openFrameworks/blob/master/scripts/templates/tvOS/emptyExample.xcodeproj/project.pbxproj#L279

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the projectGenerator/packaging script that creates the tvOS examples and compare its output with scripts/templates/tvOS/emptyExample.xcodeproj/project.pbxproj, especially the appletvos setting. Verify that the generated Xcode projects use the tvOS SDK and device type with compatible tvOS interfaces and storyboards, and that the examples open and build in Xcode 13.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.