Closed EkponborObehi closed 3 months ago
Also, a follow up to the above, I had to clone the solution again and just ran the IOSFramework.sh script and then added the IOS Calling UI dll file to the communicationsample project.
The setup view displayed but when joining the call, it just stops... This is the debug log
Thread started: #2
Thread started: #3
Thread started: #4
Loaded assembly: /Users/user251330/Library/Developer/CoreSimulator/Devices/694DD08D-41C5-499F-949F-22D5DE75A740/data/Containers/Bundle/Application/6F0237CB-1DD0-492A-B817-F9462DFE729C/CommunicationCallingSampleMauiApp.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /Users/user251330/Library/Developer/CoreSimulator/Devices/694DD08D-41C5-499F-949F-22D5DE75A740/data/Containers/Bundle/Application/6F0237CB-1DD0-492A-B817-F9462DFE729C/CommunicationCallingSampleMauiApp.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /Users/user251330/Library/Developer/CoreSimulator/Devices/694DD08D-41C5-499F-949F-22D5DE75A740/data/Containers/Bundle/Application/6F0237CB-1DD0-492A-B817-F9462DFE729C/CommunicationCallingSampleMauiApp.app/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /Users/user251330/Library/Developer/CoreSimulator/Devices/694DD08D-41C5-499F-949F-22D5DE75A740/data/Containers/Bundle/Application/6F0237CB-1DD0-492A-B817-F9462DFE729C/CommunicationCallingSampleMauiApp.app/System.Runtime.Serialization.Primitives.dll [External]
2024-07-23 17:59:09.392999+0200 CommunicationCallingSampleMauiApp[47850:855682] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=47850
2024-07-23 17:59:09.393164+0200 CommunicationCallingSampleMauiApp[47850:855682] SecTaskCopyDebugDescription: CommunicationCal[47850]/0#-1 LF=0
2024-07-23 17:59:10.501765+0200 CommunicationCallingSampleMauiApp[47850:854051] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <_UIMoreListTableView: 0x7f83ed54be00; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600002d6c570>; backgroundColor = <UIDynamicSystemColor: 0x60000365bf80; name = tableBackgroundColor>; layer = <CALayer: 0x60000261d820>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <UIMoreListController: 0x7f83ecb47c40>>
Thread started: .NET Timer #5
Thread started:
Will attempt to recover by breaking constraint <NSLayoutConstraint:0x60000009e8a0 TUIPressAndHoldView:0x7f83ecc336b0.trailing == UILayoutGuide:0x600001a22300'UIViewSafeAreaLayoutGuide'.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. 2024-07-23 18:01:34.655286+0200 CommunicationCallingSampleMauiApp[47850:858069] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000028d43e0> F8BB1C28-BAE8-11D6-9C31-00039315CD46 2024-07-23 18:01:36.156254+0200 CommunicationCallingSampleMauiApp[47850:854051] CallStateCode none 2024-07-23 18:01:36.156486+0200 CommunicationCallingSampleMauiApp[47850:854051] onCallStateChanged none 2024-07-23 18:01:36.816889+0200 CommunicationCallingSampleMauiApp[47850:854051] [Orientation] BUG IN CLIENT OF UIKIT: Setting UIDevice.orientation is not supported. Please use UIWindowScene.requestGeometryUpdate(_:) 2024-07-23 18:01:45.860297+0200 CommunicationCallingSampleMauiApp[47850:858583] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.860466+0200 CommunicationCallingSampleMauiApp[47850:857963] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.860952+0200 CommunicationCallingSampleMauiApp[47850:857963] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.860990+0200 CommunicationCallingSampleMauiApp[47850:858583] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.861300+0200 CommunicationCallingSampleMauiApp[47850:857963] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.861322+0200 CommunicationCallingSampleMauiApp[47850:858583] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.955834+0200 CommunicationCallingSampleMauiApp[47850:858583] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:45.955965+0200 CommunicationCallingSampleMauiApp[47850:858583] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.011791+0200 CommunicationCallingSampleMauiApp[47850:858594] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.011873+0200 CommunicationCallingSampleMauiApp[47850:857963] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.012179+0200 CommunicationCallingSampleMauiApp[47850:858594] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.012178+0200 CommunicationCallingSampleMauiApp[47850:857963] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.012486+0200 CommunicationCallingSampleMauiApp[47850:858594] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.012562+0200 CommunicationCallingSampleMauiApp[47850:857963] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.013248+0200 CommunicationCallingSampleMauiApp[47850:858594] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:46.013312+0200 CommunicationCallingSampleMauiApp[47850:858594] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.} 2024-07-23 18:01:53.181706+0200 CommunicationCallingSampleMauiApp[47850:858690] [Calling] Join call failed 2024-07-23 18:01:54.242298+0200 CommunicationCallingSampleMauiApp[47850:854051] onDismissed callJoin
Hello @EkponborObehi
Could you please provide more details about the IOS.CallingUI.Binding solution you added?
Thanks
Good day @ShaunaSong, I cloned this project on GitHub ->
cloned https://github.com/Azure-Samples/communication-services-ui-library-maui.git to my visual studio Mac 2022.
By following the instructions on the readme file,
Then I rebuilt the solution and ran the CommunicationCallingSampleMauiApp on the IOS Simulator
Hello @EkponborObehi ,
Added the IOSMauiBindings DLL file that was generated as a .NET Assembly by right-clicking on dependencies, add as a project reference and so on…
For the steps you shared, this step is not required. Please double-check without the above step.
Thanks,
Shauna
Hello @EkponborObehi
Please let me know if you have further questions.
Close the ticket for now.
Bests,
Shauna
I followed the readme file instructions for IOS Bindings. Although i couldn't find the CommunicationUIProxy.Binding.sln solution file as explained on the binding library section, i added the native reference in the IOS.CallingUI.Binding solution file.. I also copied the contents in the APIDefinition file that was generated and pasted in the API Definition file in the IOS.CallingUI.Binding directory but i'm getting this error when i try to rebuild the solution. Secondly, i want to test with IOS simulator. What am i doing wrong?
/Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(7,7): Error CS0246: The type or namespace name 'CommunicationUI_Proxy' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (iOS.CallingUI.Binding) /Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(10,10): Error CS0246: The type or namespace name 'VerifyAttribute' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (iOS.CallingUI.Binding) /Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(10,10): Error CS0246: The type or namespace name 'Verify' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (iOS.CallingUI.Binding) /Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(17,17): Error CS0103: The name 'MethodToProperty' does not exist in the current context (CS0103) (iOS.CallingUI.Binding) /Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(10,10): Error CS0246: The type or namespace name 'VerifyAttribute' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (iOS.CallingUI.Binding) /Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(10,10): Error CS0246: The type or namespace name 'Verify' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (iOS.CallingUI.Binding) /Users/user251330/Documents/communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/ApiDefinitions.cs(17,17): Error CS0103: The name 'MethodToProperty' does not exist in the current context (CS0103) (iOS.CallingUI.Binding)
Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful