Post

Replies

Boosts

Views

Activity

Reply to Communication with Apple failed
The most crucial step! Enable "Wireless Debugging" on your Apple TV. On Apple TV: Go to Settings → Remotes and Devices → Remote Apps and Devices Keep this interface open. Your Apple TV will automatically enter "Waiting to Pair" mode. (A message will appear on screen: "Ready to connect using Xcode or Apple Configurator") Do not exit this screen! Otherwise, Xcode won't be able to detect the device.
Oct ’25
Reply to Communication with Apple failed
【Apple TV 4K (3rd generation)】 If you have a physical Apple TV, please follow these steps: Connect the device Open Xcode → Window → Devices and Simulators Ensure your Apple TV and Mac are on the same Wi-Fi network Click the "+" at the bottom left → "Pair Apple TV" Enter the pairing code displayed on your Apple TV as prompted Once completed, your Apple TV will appear in Xcode's device list Re-enable Xcode signing Select your tvOS target Open Signing & Capabilities Check "Automatically manage signing" Select your Team (developer account) Xcode will automatically: Register com.********.tv with Apple Create a tvOS Development Provisioning Profile Bind it to the Apple TV you just connected Issue resolved – Xcode will no longer report errors.
Oct ’25
Reply to Communication with Apple failed
I figured it out! When Xcode performs Automatic Signing, it: Communicates with the Apple Developer Center; Searches for registered devices under the account; Automatically generates or updates the corresponding Provisioning Profile. If there is no Apple TV (tvOS device) in the account, Xcode will fail because: Apple requires that development profiles must be bound to at least one physical device.
Oct ’25
Reply to SwiftUI 【After writing a good run, the final simulator program only shows Goodone. Swift, a single module. The ContentView.swift content cannot be displayed. Unable to use the program properly. Need help】
I wrote a separate agent module and it works fine. The combination is normal. It's normal in Xcode. Run the program to the simulator, or the real machine. There is only one agent module. The entire program cannot be displayed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to Create user notification issues using Swift UI
import UIKit import CoreData @UIApplicationMain class AppDelegate: UIResponder,UIApplicationDelegate{     func application(_ application:UIApplication,didFinishLaunchingWithOptions launchOptions:[UIApplication.LaunchOptionsKey:Any]?)-Bool{          //Cannot convert return expression of type 'Void' to return type 'Bool'         UNUserNotificationCenter.current().requestAuthorization(options: [.alert,.sound,.badge]){(granted,error)in             if granted{                 print("User notifications are allowed.")                              }else{                 print("User notifications are not allowed.")             }                      }              } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
Reply to Communication with Apple failed
The most crucial step! Enable "Wireless Debugging" on your Apple TV. On Apple TV: Go to Settings → Remotes and Devices → Remote Apps and Devices Keep this interface open. Your Apple TV will automatically enter "Waiting to Pair" mode. (A message will appear on screen: "Ready to connect using Xcode or Apple Configurator") Do not exit this screen! Otherwise, Xcode won't be able to detect the device.
Replies
Boosts
Views
Activity
Oct ’25
Reply to Communication with Apple failed
【Apple TV 4K (3rd generation)】 If you have a physical Apple TV, please follow these steps: Connect the device Open Xcode → Window → Devices and Simulators Ensure your Apple TV and Mac are on the same Wi-Fi network Click the "+" at the bottom left → "Pair Apple TV" Enter the pairing code displayed on your Apple TV as prompted Once completed, your Apple TV will appear in Xcode's device list Re-enable Xcode signing Select your tvOS target Open Signing & Capabilities Check "Automatically manage signing" Select your Team (developer account) Xcode will automatically: Register com.********.tv with Apple Create a tvOS Development Provisioning Profile Bind it to the Apple TV you just connected Issue resolved – Xcode will no longer report errors.
Replies
Boosts
Views
Activity
Oct ’25
Reply to Communication with Apple failed
I figured it out! When Xcode performs Automatic Signing, it: Communicates with the Apple Developer Center; Searches for registered devices under the account; Automatically generates or updates the corresponding Provisioning Profile. If there is no Apple TV (tvOS device) in the account, Xcode will fail because: Apple requires that development profiles must be bound to at least one physical device.
Replies
Boosts
Views
Activity
Oct ’25
Reply to Remote push notifications via Firebase not working on TestFlight
https://docs.getui.com/getui/mobile/ios/apns/ refer to this website Create a P12 certificate and upload it to Firebase Create Firebase with multiple server keys and use Testflight for notifications
Replies
Boosts
Views
Activity
Sep ’21
Reply to xcode-beta-13
My system version is Big Sur 11.3.1. Please make sure you have enough storage space. After I uninstalled Xcode12, I installed Xcode-beta-13 and it works fine
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How to download and install iPadOS?
After downloading, install the description file on the iPad, reboot, and you will receive the update of iPad OS15. Since the beta version is unstable, take a backup first. Updating iPad OS15
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to SwiftUI 【After writing a good run, the final simulator program only shows Goodone. Swift, a single module. The ContentView.swift content cannot be displayed. Unable to use the program properly. Need help】
I wrote a separate agent module and it works fine. The combination is normal. It's normal in Xcode. Run the program to the simulator, or the real machine. There is only one agent module. The entire program cannot be displayed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to The archived version number is showing up different than the one in xCode
Very effective help
Replies
Boosts
Views
Activity
Mar ’21
Reply to Create user notification issues using Swift UI
import UIKit import CoreData @UIApplicationMain class AppDelegate: UIResponder,UIApplicationDelegate{     func application(_ application:UIApplication,didFinishLaunchingWithOptions launchOptions:[UIApplication.LaunchOptionsKey:Any]?)-Bool{          //Cannot convert return expression of type 'Void' to return type 'Bool'         UNUserNotificationCenter.current().requestAuthorization(options: [.alert,.sound,.badge]){(granted,error)in             if granted{                 print("User notifications are allowed.")                              }else{                 print("User notifications are not allowed.")             }                      }              } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to Create user notification issues using Swift UI
Thank you very much
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to Create user notification issues using Swift UI
help
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’21