Closed dimirey closed 4 months ago
Don't know why, but it works for me! I did enable Screen Recording and Accessibility permissions in macOS Settings > Privacy & Security. Wasn't sure if it was required. It paired without me even entering a code once apps on vOS and macOS were open at the same time, probably because it's paired via xcode anyways. Then Ensemble on vOS shows all my windows on my mac, then I can add them as single windows on my Vision Pro. Limited testing, but it's working great so far!
I've updated my mac to the latest version of macOS, and i have a different stacktrace:
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x28118eee0 UILayoutGuide:0x280b297a0'TitleViewGuide(0x10602e920)'.trailing <= UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'.trailing (active)>",
"<NSLayoutConstraint:0x28118ee90 UILayoutGuide:0x280b297a0'TitleViewGuide(0x10602e920)'.leading >= UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'.leading (active)>",
"<NSLayoutConstraint:0x2811e1b80 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x10602e5a0'Available Macs'.width == 0 (active)>",
"<NSLayoutConstraint:0x28118ed00 'UIView-leftMargin-guide-constraint' H:|-(24)-[UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UINavigationBarContentView:0x10602e5a0'Available Macs' )>",
"<NSLayoutConstraint:0x28118eda0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide']-(24)-|(LTR) (active, names: '|':_UINavigationBarContentView:0x10602e5a0'Available Macs' )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x28118eee0 UILayoutGuide:0x280b297a0'TitleViewGuide(0x10602e920)'.trailing <= UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'.trailing (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x28118dd10 UILayoutGuide:0x280b28b60'TitleViewGuide(0x106023650)'.trailing <= UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'.trailing (active)>",
"<NSLayoutConstraint:0x28118dcc0 UILayoutGuide:0x280b28b60'TitleViewGuide(0x106023650)'.leading >= UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'.leading (active)>",
"<NSLayoutConstraint:0x2811e36b0 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x10601f540.width == 0 (active)>",
"<NSLayoutConstraint:0x28118db30 'UIView-leftMargin-guide-constraint' H:|-(24)-[UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UINavigationBarContentView:0x10601f540 )>",
"<NSLayoutConstraint:0x28118dbd0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide']-(24)-|(LTR) (active, names: '|':_UINavigationBarContentView:0x10601f540 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x28118dd10 UILayoutGuide:0x280b28b60'TitleViewGuide(0x106023650)'.trailing <= UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'.trailing (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
nw_socket_initialize_socket [C1:2] setsockopt SO_NECP_CLIENTUUID failed [22: Invalid argument]
nw_socket_initialize_socket setsockopt SO_NECP_CLIENTUUID failed [22: Invalid argument]
nw_socket_copy_info [C1:2] getsockopt TCP_INFO failed [102: Operation not supported on socket]
nw_socket_copy_info getsockopt TCP_INFO failed [102: Operation not supported on socket]
AggregateDictionary is deprecated and has been removed. Please migrate to Core Analytics.
Class for component AccessibilityComponent already registered
Class for component ImageBasedLightComponent already registered
Component Shadow already registered
Component Shadow already registered
[USDImportService] RealityIO USDImportService instantiated. RealityIO will be used to service load requests from USDImportService.
I've updated my mac to the latest version of macOS, and i have a different stacktrace:
Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. ( "<NSLayoutConstraint:0x28118eee0 UILayoutGuide:0x280b297a0'TitleViewGuide(0x10602e920)'.trailing <= UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'.trailing (active)>", "<NSLayoutConstraint:0x28118ee90 UILayoutGuide:0x280b297a0'TitleViewGuide(0x10602e920)'.leading >= UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'.leading (active)>", "<NSLayoutConstraint:0x2811e1b80 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x10602e5a0'Available Macs'.width == 0 (active)>", "<NSLayoutConstraint:0x28118ed00 'UIView-leftMargin-guide-constraint' H:|-(24)-[UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UINavigationBarContentView:0x10602e5a0'Available Macs' )>", "<NSLayoutConstraint:0x28118eda0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide']-(24)-|(LTR) (active, names: '|':_UINavigationBarContentView:0x10602e5a0'Available Macs' )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x28118eee0 UILayoutGuide:0x280b297a0'TitleViewGuide(0x10602e920)'.trailing <= UILayoutGuide:0x280b29b20'UIViewLayoutMarginsGuide'.trailing (active)> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. ( "<NSLayoutConstraint:0x28118dd10 UILayoutGuide:0x280b28b60'TitleViewGuide(0x106023650)'.trailing <= UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'.trailing (active)>", "<NSLayoutConstraint:0x28118dcc0 UILayoutGuide:0x280b28b60'TitleViewGuide(0x106023650)'.leading >= UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'.leading (active)>", "<NSLayoutConstraint:0x2811e36b0 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x10601f540.width == 0 (active)>", "<NSLayoutConstraint:0x28118db30 'UIView-leftMargin-guide-constraint' H:|-(24)-[UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UINavigationBarContentView:0x10601f540 )>", "<NSLayoutConstraint:0x28118dbd0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide']-(24)-|(LTR) (active, names: '|':_UINavigationBarContentView:0x10601f540 )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x28118dd10 UILayoutGuide:0x280b28b60'TitleViewGuide(0x106023650)'.trailing <= UILayoutGuide:0x280b28ee0'UIViewLayoutMarginsGuide'.trailing (active)> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. nw_socket_initialize_socket [C1:2] setsockopt SO_NECP_CLIENTUUID failed [22: Invalid argument] nw_socket_initialize_socket setsockopt SO_NECP_CLIENTUUID failed [22: Invalid argument] nw_socket_copy_info [C1:2] getsockopt TCP_INFO failed [102: Operation not supported on socket] nw_socket_copy_info getsockopt TCP_INFO failed [102: Operation not supported on socket] AggregateDictionary is deprecated and has been removed. Please migrate to Core Analytics. Class for component AccessibilityComponent already registered Class for component ImageBasedLightComponent already registered Component Shadow already registered Component Shadow already registered [USDImportService] RealityIO USDImportService instantiated. RealityIO will be used to service load requests from USDImportService.
Same here
I just added an entitlement to the Mac app that might help with this. Can you try pulling the latest code and seeing if that does anything?
I had these same issues and the latest update resolved them. (Now stuck at Loading Windows forever.)
Yep working for me too!
I think that's enough for me to feel comfortable closing this. If anyone else is seeing this let me know and I'll reopen it :)
I've got the build running on both my macbook and my AVP. When i use the emulator the application runs fine. When I try to connect to the actual device, I can see my macbook show up in the application on the AVP. I try selecting the macbook from the menu, but i then see these errors in the xcode stack trace while nothing happens on the AVP.
Let me know if i can provide you any more details and i'll be happy to.