PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, September 29, 2022

[FIXED] What template can I use for a tvOS app system settings, since it's not included anymore?

 September 29, 2022     tvos, xcode     No comments   

Issue

I have a tvOS application that has some settings that can be set to change some parameters for the app. In older versions of Xcode, as this answer points out, there was a specific template for a Systems Settings bundle for tvOS. In Xcode 10, targeting tvOS 12, there is no such template anymore. The documentation for System Settings says it is no longer being maintained, but there's no link to the recommended replacement mechanism. How does one create a systems setting bundle for their tvOS application? Or if those are no longer supported, what's the replacement?


Solution

I spoke with someone at Apple who told me that while the documentation is no longer being updated, it is still the correct way to do what I need. However, they have changed how it is represented in Xcode. Now, instead of creating a new target, you simply create a new file, and under "Resource", there's a "System Settings" file type:

The "New File" sheet in Xcode showing the tvOS tab with the Resource file type "System Settings" selected.

If you select it, it puts a bundle into your project like this:

The project navigator showing a bundle and its contained files newly added by Xcode



Answered By - user1118321
Answer Checked By - Marie Seifert (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing