Enumerating, and Communicating, with iPhone 14s connected to a MacStudio

I have a powered up, and logged in, iPhone 14 connected to a MacStudio by means of lightning cable.

This code snippet is being run in the MacStudio inside the XCode IDE:

    @Published var iPhones: [IPhone] = []
    var test: [EAAccessory] = []
    var count = 0;
    
    /// Update the iPhones list.
    func Update(){
        test = EAAccessoryManager.shared().connectedAccessories
        count = test.count
        iPhones = EAAccessoryManager.shared().connectedAccessories.map{ IPhone( Accessory: $0) } // ToDo: Filter for iPhone accessories only
    }

The variable test is set to a value of 0 in the the Update() method. The iPhone 14 is not showing up in the test array.

On this webpage: https://developer.apple.com/documentation/externalaccessory/eaaccessorymanager

I see this:

Important
iPhone and iPad apps running on Macs with Apple silicon never receive connection notifications.

In the XCode IDE I have target set to Mac. Since I am running this in a Mac, and I have XCode set to a Mac target, I expected the result would be a Mac app running in a Max, and so I expected the above Important notice would not apply. Is my expectation correct? If not what has gone wrong here?

Does a MacStudio receive a connection notification when an iPhone 14 is connected?

Can EAAccessory methods be used in a MacStudio to communicate with an iPhone 14?

Enumerating, and Communicating, with iPhone 14s connected to a MacStudio
 
 
Q