On Xcode 13.0, I can no longer pair with an Apple TV 4K (tvOS 15.0). Until now it has always worked but since the new update to tvOS 15.0 and Xcode 13.0 I can no longer connect.
I have gone through the following steps to connect:
Open remote app and devices settings on Apple TV 4K (tvOS 15.0).
Open Devices and Simulators in Xcode 13.0.
Select Apple TV in the list and press "Pair".
Code appears on the Apple TV and I can enter it in an Xcode window.
After the code input, there is a short loading sign that a connection is being established. After a few seconds, the whole thing stops without an error message and the "Pair" button is visible again.
Does anyone have the same problem? I would like to optimize my apps for tvOS 15 and test them on a physical device.
Post
Replies
Boosts
Views
Activity
After I updated Xcode 12 to Xcode 12.0.1 I can't download simulators anymore. Under Preferences->Components, the list of Simulators is blank. How can I still add an iOS 13 simulator?
I have in my project different code which is responsible for the blur effect in my app. In tvOS 13 this worked fine but in tvOS 14 I have to remove the code otherwise the app will crash. What exactly do I have to change in the code to make it run on tvOS 14. Thanks for the help.
private func sharedSetup(effect: UIBlurEffect, radius: CGFloat = 90) {			
let UICustomBlurEffect = NSClassFromString("_UICustomBlurEffect") as! UIBlurEffect.Type
let raw = effect.value(forKey: "_style") as! Int
let style = UIBlurEffect.Style(rawValue: raw)!
let effect = UICustomBlurEffect.init(style: style)						
effect.setValue(1.0, forKey: "scale")		
effect.setValue(radius, forKey: "blurRadius")			
effect.setValue(UIColor.clear, forKey: "colorTint")
self.blurEffect = effect	
}