Azure-Samples / communication-services-ui-library-maui

UI sample library on how to create .NET MAUI bindings
MIT License
17 stars 7 forks source link

Error when building IOS.CallingUI.Binding #38

Closed EkponborObehi closed 3 months ago

EkponborObehi commented 4 months ago

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?

IOS

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

EkponborObehi commented 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: #6 Thread started: .NET TP Gate #7 Thread started: #8 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.Xml.XmlSerializer.dll [External] Thread started: #9 Thread started: #10 Loaded assembly: /Users/user251330/Library/Developer/CoreSimulator/Devices/694DD08D-41C5-499F-949F-22D5DE75A740/data/Containers/Bundle/Application/6F0237CB-1DD0-492A-B817-F9462DFE729C/CommunicationCallingSampleMauiApp.app/mscorlib.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.dll [External] Thread finished: #10 Thread finished: #9 2024-07-23 18:00:43.354642+0200 CommunicationCallingSampleMauiApp[47850:854051] [unspecified] container_query_get_single_result: error = 2→(98) NOT_CODESIGNED 2024-07-23 18:00:43.354967+0200 CommunicationCallingSampleMauiApp[47850:854051] [unspecified] container_system_group_path_for_identifier: error = ((container_error_t)98) NOT_CODESIGNED 2024-07-23 18:00:43.355046+0200 CommunicationCallingSampleMauiApp[47850:854051] [MC] Error getting system group container for systemgroup.com.apple.configurationprofiles: 98 2024-07-23 18:00:43.355588+0200 CommunicationCallingSampleMauiApp[47850:854051] [MC] Failed to get profile system group container path. Overriding with expected path: /Users/user251330/Library/Developer/CoreSimulator/Devices/694DD08D-41C5-499F-949F-22D5DE75A740/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2024-07-23 18:00:48.371778+0200 CommunicationCallingSampleMauiApp[47850:857619] [Query] Error for queryMetaDataSync: 2 2024-07-23 18:00:48.373832+0200 CommunicationCallingSampleMauiApp[47850:857619] [Query] Error for queryMetaDataSync: 2 2024-07-23 18:00:53.947287+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.947457+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.947528+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.947582+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.947653+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.947736+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.947792+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.947851+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.947894+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.947956+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.948012+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.948069+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.948555+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.948615+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.948670+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.948742+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.948795+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.948854+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.948899+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.948939+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.948986+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.949029+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:53.949074+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:53.949109+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.002704+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.002786+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.002844+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.002881+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.002935+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.002974+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.003016+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.003059+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.003094+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.003130+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.003169+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.003203+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.005745+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.005821+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.005873+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.005917+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.005968+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.006013+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.006082+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.006134+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.006181+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.006225+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:54.006267+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 2024-07-23 18:00:54.006312+0200 CommunicationCallingSampleMauiApp[47850:854051] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 2024-07-23 18:00:55.482416+0200 CommunicationCallingSampleMauiApp[47850:854051] WARNING: This app's CFBundleDevelopmentRegion is not a string value. This can lead to unexpected results at runtime. Please change CFBundleDevelopmentRegion in your Info.plist to a string value. 2024-07-23 18:01:25.314691+0200 CommunicationCallingSampleMauiApp[47850:854051] [LayoutConstraints] 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. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x6000000a6120 h=--& v=--& TUIPressAndHoldView:0x7f83ecc336b0.width == 390 (active)>", "<NSLayoutConstraint:0x60000009d7c0 TUIPressAndHoldView:0x7f83ecc336b0.leading == UILayoutGuide:0x600001a22300'UIViewSafeAreaLayoutGuide'.leading (active)>", "<NSLayoutConstraint:0x60000009e8a0 TUIPressAndHoldView:0x7f83ecc336b0.trailing == UILayoutGuide:0x600001a22300'UIViewSafeAreaLayoutGuide'.trailing (active)>", "<NSLayoutConstraint:0x6000000a5cc0 'UIView-Encapsulated-Layout-Width' UIView:0x7f83f4939960.width == 282 (active)>", "<NSLayoutConstraint:0x60000009e440 'UIViewSafeAreaLayoutGuide-left' H:|-(0)-UILayoutGuide:0x600001a22300'UIViewSafeAreaLayoutGuide' (active, names: '|':UIView:0x7f83f4939960 )>", "<NSLayoutConstraint:0x60000009c050 'UIViewSafeAreaLayoutGuide-right' H:[UILayoutGuide:0x600001a22300'UIViewSafeAreaLayoutGuide']-(0)-|(LTR) (active, names: '|':UIView:0x7f83f4939960 )>" )

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

ShaunaSong commented 3 months ago

Hello @EkponborObehi

Could you please provide more details about the IOS.CallingUI.Binding solution you added?

Thanks

EkponborObehi commented 3 months ago

Good day @ShaunaSong, I cloned this project on GitHub ->

  1. cloned https://github.com/Azure-Samples/communication-services-ui-library-maui.git to my visual studio Mac 2022.

  2. By following the instructions on the readme file,

    • Navigate to communication-services-ui-library-maui/iOSMauiBindings/ProxyLibs/CommunicationUI-Proxy and in this directory in terminal run ./iOSFramework.sh -d.
    • Rebuild the solution, iOSMauiBindings dll is generated on communication-services-ui-library-maui/iOSMauiBindings/iOS.CallingUI.Binding/bin/Debug/net8.0-ios folder
    • Open CommunicationCallingSampleMauiApp/CommunicationCallingSampleMauiApp.sln in Visual Studio
    • 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…
  3. Then I rebuilt the solution and ran the CommunicationCallingSampleMauiApp on the IOS Simulator

ShaunaSong commented 3 months ago

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

ShaunaSong commented 3 months ago

Hello @EkponborObehi

Please let me know if you have further questions.

Close the ticket for now.

Bests,

Shauna