- integrate the app extension by using the guides from: https://developer.apple.com/documentation/callkit ;
- once the extension is created on our app and linked to the target and with the proper development certificate, we run the app;
- on system settings when we try to activate the extension we get the following error:
Error Enabling Extension - An error ocurred while attempting to enable <Extension name>. On Call Blocking & Identification system settings.
these are the system logs related to such error:
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: activate generator <_UIFeedbackImpactBehavior: 0x174110a10: prepared=1> with style: TurnOn; activationCount: 1 -> 0; styleActivationCount: 1 -> 0
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=0, numberOfClients=1, prewarmCount=0, _isSuspended=0> state changed: Inactive -> Activating
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 407: clientID: 0x1000119
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: activate generator <_UIFeedbackImpactBehavior: 0x174110a10: prepared=1> with style: TurnOn; activationCount: 2 -> 1; styleActivationCount: 2 -> 1
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Setting call directory extension (<private>) to ENABLED
Aug 11 16:08:07 iPhone Preferences(CallKit)[281] <Notice>: Setting enabled to 1 for extension <private>
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Getting extension enabled (<private>) as ENABLED
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: deactivate generator <_UIFeedbackImpactBehavior: 0x174110a10: prepared=0> with style: TurnOn; activationCount: 1 -> 2; styleActivationCount: 1 -> 2
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 339: synth was not running, starting now
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 194: AQME device AQDefaultDevice: client starting: <SynthNodeClient@0x1010c9008 mHaptic 0>; running count now 1
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 678: Client request to start IO proc ID 0x103a4e300 on VAD 173.
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 561: Starting IO type 0 on AggregateDevice 252.
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 252, IO type NonNullIOProc) running state is now running.
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:766:StartIOProcID: HALS_IOContext::StartIOProcID: 256 Speaker (VAD [vdef] AggDev 12):
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:772:StartIOProcID: starting ProcID 0x21 state: Prewarm: 0 Play: 0 State: Stopped IOProc 0x21: no
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(CallKit)[937] <Notice>: enabled 1 identifier <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Notice>: extension <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Notice>: Requested to set extension enabled status to 1 and current state of extension is 1, so attempting to load extension data
Aug 11 16:08:07 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Speaker: streaming audio
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 879: aqmeio@0x103b83650, device 0xad (AQDefaultDevice), AudioDeviceStart (err 0)
Aug 11 16:08:07 iPhone mediaserverd(CoreMotion)[27] <Notice>: fHasSeenACaseLatchCoverOnce, 0
Aug 11 16:08:07 iPhone mediaserverd(CoreMotion)[27] <Notice>: Starting orientation detection with accelFrequency 10.000000, isIpad, 0, decimationRate, 1
Aug 11 16:08:07 iPhone mediaserverd(CoreMotion)[27] <Notice>: Notify from, Unexpected -> FaceUp
Aug 11 16:08:07 iPhone mediaserverd(CoreMotion)[27] <Notice>: Received orientation. (Ambiguous to FaceUp) Timestamp 95273.375073
Aug 11 16:08:07 iPhone mediaserverd(CoreMotion)[27] <Notice>: Updating client handler: Orientation FaceUp, Callback mode: -1
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Call Directory Extension Manager extensions changed, getting the latest extensions now
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(CallKit)[937] <Notice>:
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(Foundation)[937] <Notice>: calling plugIn beginUsing:
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(PlugInKit)[937] <Error>: plug-in <private> pre-screen sees activating state
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Notice>: requested extensions
Aug 11 16:08:07 iPhone pkd[155] <Notice>: allowing host 937 <private> to use plug-in <private>(<private>) uuid=453FD637-B7A3-4F3D-9985-3CCDB25EB794 at <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Notice>: Retrieved extensions <private>
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Received call directory extensions <private>
Aug 11 16:08:07 iPhone Preferences(TelephonyUtilities)[281] <Notice>: CMFBlockListCopyItemsForAllServicesService = <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(PlugInKit)[937] <Notice>: connection to plug-in <private>(453FD637-B7A3-4F3D-9985-3CCDB25EB794) lost
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(PlugInKit)[937] <Error>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named <service-name>” UserInfo={NSDebugDescription=connection to service named <service-name>}
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(Foundation)[937] <Notice>: PlugInKit error in beginUsing:
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Error>: Request with requestIdentifier (null) failed to begin. Error: <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Error>: Error requesting data for extension with identifier <private>: <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(Foundation)[937] <Notice>: killing invalid plugIn
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(Foundation)[937] <Notice>: completed calling plugIn beginUsing: for pid: 0
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 678: Client request to start IO proc ID 0x103a7de70 on VAD 192.
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 561: Starting IO type 0 on AggregateDevice 160.
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 160, IO type NonNullIOProc) running state is now running.
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:766:StartIOProcID: HALS_IOContext::StartIOProcID: 163 Actuator (VAD [vzzz] AggDev 4):
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:772:StartIOProcID: starting ProcID 0x21 state: Prewarm: 0 Play: 0 State: Stopped IOProc 0x21: no
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Getting extension enabled (<private>) as DISABLED
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Error>: Error loading extension data: <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Error>: Error removing data from extension <private> with store <private>: <private>
Aug 11 16:08:07 iPhone Preferences(CallKit)[281] <Error>: Error setting enabled of extension with identifier <private> to 1: <private>
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Call Directory Extension Manager extensions changed, getting the latest extensions now
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Error>: Error setting enabled to 1 for call directory extension <private>: <private>
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory(CallKit)[937] <Notice>:
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Notice>: requested extensions
Aug 11 16:08:07 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Actuator: streaming audio
Aug 11 16:08:07 iPhone com.apple.CallKit.CallDirectory[937] <Notice>: Retrieved extensions <private>
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Received call directory extensions <private>
Aug 11 16:08:07 iPhone Preferences(TelephonyUtilities)[281] <Notice>: CMFBlockListCopyItemsForAllServicesService = <private>
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 879: aqmeio@0x103b3c280, device 0xc0 (VirtualAudioDevice_Actuator), AudioDeviceStart (err 0)
Aug 11 16:08:07 iPhone Preferences(CallDirectorySettings)[281] <Notice>: Getting extension enabled (<private>) as DISABLED
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 79: client ID 0x1000119 state 1 => 2
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=3, numberOfClients=1, prewarmCount=0, _isSuspended=0> state changed: Activating -> Running
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: playing feedback <_UIDiscreteFeedback 0x1704e1a80; player: 0x17442f540; delay: 0.000; effectiveSystemSoundID: 0; feedbackType: Micro Tap Medium; effectiveEventType: 17237> at time 95273.457798
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 1001 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 2001 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 1000 value: 1.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 2000 value: 0.70 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 1010 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 2010 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 1011 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 2011 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 1012 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 2012 value: 0.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 1020 value: 1.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 188: clientID: 0x1000119 type: 2020 value: 1.00 atTime: 0.000
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 141: clientID: 0x1000119 eventType: 17237 atTime: 95273.458
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: deactivate generator <_UIFeedbackImpactBehavior: 0x174110a10: prepared=0> with style: TurnOn; activationCount: 0 -> 1; styleActivationCount: 0 -> 1
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=4, numberOfClients=0, prewarmCount=0, _isSuspended=0> state changed: Running -> Deactivating
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 442: clientID: 0x1000119
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 79: client ID 0x1000119 state 2 => 3
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 79: client ID 0x1000119 state 3 => 2
Aug 11 16:08:07 iPhone Preferences(AudioToolbox)[281] <Notice>: 431: clientID: 0x1000119
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 79: client ID 0x1000119 state 2 => 1
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 349: Stopping synth and clearing command list
Aug 11 16:08:07 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 376: AQME device AQDefaultDevice: client stopping: <SynthNodeClient@0x1010c9008 mHaptic 0>; running count now 0
Aug 11 16:08:07 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=5, numberOfClients=0, prewarmCount=0, _isSuspended=0> state changed: Deactivating -> Inactive
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 751: Client request to stop IO proc ID 0x103a4e300 on VAD 173.
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 735: Stopping IO type 0 on AggregateDevice 252.
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:855:StopIOProcID: HALS_IOContext::StopIOProcID: 256 Speaker (VAD [vdef] AggDev 12):
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:861:StopIOProcID: HALS_IOContext::StopIOProcID: stopping 0x21 state: Prewarm: 0 Play: 1 State: Running IOProc 0x21: yes
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 252, IO type NonNullIOProc) running state is now not running.
Aug 11 16:08:07 iPhone mediaserverd(CoreMotion)[27] <Notice>: Stopping orientation detection.
Aug 11 16:08:07 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Speaker: off
Aug 11 16:08:07 iPhone kernel(AppleAE2Audio)[0] <Notice>: mca1: rx overflow
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 751: Client request to stop IO proc ID 0x103a7de70 on VAD 192.
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 735: Stopping IO type 0 on AggregateDevice 160.
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:855:StopIOProcID: HALS_IOContext::StopIOProcID: 163 Actuator (VAD [vzzz] AggDev 4):
Aug 11 16:08:07 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:861:StopIOProcID: HALS_IOContext::StopIOProcID: stopping 0x21 state: Prewarm: 0 Play: 1 State: Running IOProc 0x21: yes
Aug 11 16:08:07 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 160, IO type NonNullIOProc) running state is now not running.
Aug 11 16:08:07 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Actuator: off
Aug 11 16:08:07 iPhone UserEventAgent(ThermalMonitor)[22] <Notice>: <Notice> LSController: <private>, fraction 0.016273
Aug 11 16:08:09 iPhone Preferences(UIKit)[281] <Notice>: activate generator <_UIFeedbackRetargetBehavior: 0x1741106b0: prepared=1> with style: TurnOn; activationCount: 1 -> 0; styleActivationCount: 1 -> 0
Aug 11 16:08:09 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=0, numberOfClients=1, prewarmCount=0, _isSuspended=0> state changed: Inactive -> Activating
Aug 11 16:08:09 iPhone Preferences(AudioToolbox)[281] <Notice>: 407: clientID: 0x1000119
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 339: synth was not running, starting now
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 194: AQME device AQDefaultDevice: client starting: <SynthNodeClient@0x1010c9008 mHaptic 0>; running count now 1
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 678: Client request to start IO proc ID 0x103a4e300 on VAD 173.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 561: Starting IO type 0 on AggregateDevice 252.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 252, IO type NonNullIOProc) running state is now running.
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:766:StartIOProcID: HALS_IOContext::StartIOProcID: 256 Speaker (VAD [vdef] AggDev 12):
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:772:StartIOProcID: starting ProcID 0x21 state: Prewarm: 0 Play: 0 State: Stopped IOProc 0x21: no
Aug 11 16:08:09 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Speaker: streaming audio
Aug 11 16:08:09 iPhone Preferences(UIKit)[281] <Notice>: deactivate generator <_UIFeedbackRetargetBehavior: 0x1741106b0: prepared=0> with style: TurnOn; activationCount: 0 -> 1; styleActivationCount: 0 -> 1
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 879: aqmeio@0x103b83650, device 0xad (AQDefaultDevice), AudioDeviceStart (err 0)
Aug 11 16:08:09 iPhone mediaserverd(CoreMotion)[27] <Notice>: fHasSeenACaseLatchCoverOnce, 0
Aug 11 16:08:09 iPhone mediaserverd(CoreMotion)[27] <Notice>: Starting orientation detection with accelFrequency 10.000000, isIpad, 0, decimationRate, 1
Aug 11 16:08:09 iPhone mediaserverd(CoreMotion)[27] <Notice>: Notify from, Unexpected -> FaceUp
Aug 11 16:08:09 iPhone mediaserverd(CoreMotion)[27] <Notice>: Received orientation. (Ambiguous to FaceUp) Timestamp 95275.838080
Aug 11 16:08:09 iPhone mediaserverd(CoreMotion)[27] <Notice>: Updating client handler: Orientation FaceUp, Callback mode: -1
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 678: Client request to start IO proc ID 0x103a7de70 on VAD 192.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 561: Starting IO type 0 on AggregateDevice 160.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 160, IO type NonNullIOProc) running state is now running.
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:766:StartIOProcID: HALS_IOContext::StartIOProcID: 163 Actuator (VAD [vzzz] AggDev 4):
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:772:StartIOProcID: starting ProcID 0x21 state: Prewarm: 0 Play: 0 State: Stopped IOProc 0x21: no
Aug 11 16:08:09 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Actuator: streaming audio
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 879: aqmeio@0x103b3c280, device 0xc0 (VirtualAudioDevice_Actuator), AudioDeviceStart (err 0)
Aug 11 16:08:09 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=3, numberOfClients=0, prewarmCount=0, _isSuspended=0> state changed: Activating -> Running
Aug 11 16:08:09 iPhone Preferences(AudioToolbox)[281] <Notice>: 431: clientID: 0x1000119
Aug 11 16:08:09 iPhone Preferences(UIKit)[281] <Notice>: feedback engine <_UIFeedbackHapticEngine: 0x1744c4a60: state=4, numberOfClients=0, prewarmCount=0, _isSuspended=0> state changed: Running -> Inactive
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 1606: Fetch from haptic ring buffer returned err -1
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 79: client ID 0x1000119 state 1 => 2
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 79: client ID 0x1000119 state 2 => 1
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 349: Stopping synth and clearing command list
Aug 11 16:08:09 iPhone mediaserverd(AudioToolbox)[27] <Notice>: 376: AQME device AQDefaultDevice: client stopping: <SynthNodeClient@0x1010c9008 mHaptic 0>; running count now 0
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 751: Client request to stop IO proc ID 0x103a4e300 on VAD 173.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 735: Stopping IO type 0 on AggregateDevice 252.
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:855:StopIOProcID: HALS_IOContext::StopIOProcID: 256 Speaker (VAD [vdef] AggDev 12):
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:861:StopIOProcID: HALS_IOContext::StopIOProcID: stopping 0x21 state: Prewarm: 0 Play: 1 State: Running IOProc 0x21: yes
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 252, IO type NonNullIOProc) running state is now not running.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 751: Client request to stop IO proc ID 0x103a7de70 on VAD 192.
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 735: Stopping IO type 0 on AggregateDevice 160.
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:855:StopIOProcID: HALS_IOContext::StopIOProcID: 163 Actuator (VAD [vzzz] AggDev 4):
Aug 11 16:08:09 iPhone mediaserverd(CoreAudio)[27] <Notice>: HALS_IOContext.cpp:861:StopIOProcID: HALS_IOContext::StopIOProcID: stopping 0x21 state: Prewarm: 0 Play: 1 State: Running IOProc 0x21: yes
Aug 11 16:08:09 iPhone mediaserverd(VirtualAudio)[27] <Notice>: 352: IOProc (AggregateDevice 160, IO type NonNullIOProc) running state is now not running.
Aug 11 16:08:09 iPhone mediaserverd(CoreMotion)[27] <Notice>: Stopping orientation detection.
Aug 11 16:08:09 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Speaker: off
Aug 11 16:08:09 iPhone kernel(AppleAE2Audio)[0] <Notice>: mca1: rx overflow
Aug 11 16:08:09 iPhone kernel(AppleEmbeddedAudio)[0] <Notice>: Actuator: off
Aug 11 16:08:11 iPhone locationd[59] <Notice>: Incrementing METs -- mets:<private> metsFromGrade:<private>
Aug 11 16:08:12 iPhone UserEventAgent(ThermalMonitor)[22] <Notice>: <Notice> LSController: <private>, fraction 0.031200We tried already many different settings and we always have this issue.
When setting up CallKit with a project with only one target we can easily make it work though.
This is why we have a strong suspicion that this problem is directly related to our project having multiple targets. Maybe there is some special step that we are not doing and that is preventing the app extension to work?