AudioCookBook: pesky problem: IsFormatSampleRateAndChannelCountValid(format) error in IOS simulator - audiokit

Apologies for the 'almost' duplicate question. AudioCookBook sample app crashes in my IOS simulator when I choose Channel/Device routing. The error is 'IsFormatSampleRateAndChannelCountValid(format). Here is the entire log. Please help
Adding more info. Below is the code related to crash and the crash log
Error shows up here:
private func createEngineMixer() {
guard mainMixerNode == nil else { return }
let mixer = Mixer(name: "AudioKit Engine Mixer")
avEngine.attach(mixer.avAudioNode)
avEngine.connect(mixer.avAudioNode, to: avEngine.outputNode, format: Settings.audioFormat) <------ crash is from here
mainMixerNode = mixer
}
---- log ---------
0 18:30:45.519218-0800 Cookbook[2216:8171322] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000031e15a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-02-20 18:30:45.520038-0800 Cookbook[2216:8171322] AudioObjectSetPropertyData: no object with given ID 0
2022-02-20 18:30:45.520222-0800 Cookbook[2216:8171322] AudioSessionSimulatorClientManager.cpp:83 Failed to set processVolumeScalar on device. Error: 560947818
2022-02-20 18:30:45.652544-0800 Cookbook[2216:8171322] [UIFocus] Focus system enabled
2022-02-20 18:30:48.166409-0800 Cookbook[2216:8171322] [general] AVAudioFile+Utilities.swift:toAVAudioPCMBuffer():39:Created buffer with format <AVAudioFormat 0x6000012ee260: 2 ch, 44100 Hz, Float32, non-inter> (AVAudioFile+Utilities.swift:toAVAudioPCMBuffer():39)
2022-02-20 18:30:48.781631-0800 Cookbook[2216:8171322] throwing -10878
2022-02-20 18:30:48.787880-0800 Cookbook[2216:8171527] [ddagg] AggregateDevice.mm:878 couldn't get default output device, ID = 0, err = 0!
2022-02-20 18:30:48.788269-0800 Cookbook[2216:8171527] [ddagg] AggregateDevice.mm:878 couldn't get default input device, ID = 0, err = 0!
2022-02-20 18:30:48.788446-0800 Cookbook[2216:8171527] AudioDeviceStop: no device with given ID
2022-02-20 18:30:48.788680-0800 Cookbook[2216:8171527] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:48.788809-0800 Cookbook[2216:8171322] [aurioc] AURemoteIO.cpp:1128 failed: -10851 (enable 2, outf< 2 ch, 0 Hz, Int16, interleaved> inf< 2 ch, 0 Hz, Int16, interleaved>)
2022-02-20 18:30:48.788839-0800 Cookbook[2216:8171519] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:48.789037-0800 Cookbook[2216:8171519] CA_UISoundClient.cpp:123 * * * NULL AQIONode object
2022-02-20 18:30:48.789281-0800 Cookbook[2216:8171519] CA_UISoundClient.cpp:880 Can't make UISound Renderer
2022-02-20 18:30:48.809033-0800 Cookbook[2216:8171527] AudioDeviceStop: no device with given ID
2022-02-20 18:30:48.809312-0800 Cookbook[2216:8171527] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:48.809461-0800 Cookbook[2216:8171322] [aurioc] AURemoteIO.cpp:1128 failed: -10851 (enable 2, outf< 2 ch, 0 Hz, Int16, interleaved> inf< 2 ch, 0 Hz, Int16, interleaved>)
2022-02-20 18:30:58.880400-0800 Cookbook[2216:8171673] AudioDeviceStop: no device with given ID
2022-02-20 18:30:58.880765-0800 Cookbook[2216:8171673] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:58.881015-0800 Cookbook[2216:8171322] [aurioc] AURemoteIO.cpp:1128 failed: -10851 (enable 1, outf< 2 ch, 0 Hz, Int16, interleaved> inf< 2 ch, 0 Hz, Int16, interleaved>)
2022-02-20 18:30:58.882141-0800 Cookbook[2216:8171673] AudioDeviceStop: no device with given ID
2022-02-20 18:30:58.882738-0800 Cookbook[2216:8171673] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:58.882903-0800 Cookbook[2216:8171322] [aurioc] AURemoteIO.cpp:1128 failed: -10851 (enable 1, outf< 2 ch, 0 Hz, Int16, interleaved> inf< 2 ch, 0 Hz, Int16, interleaved>)
2022-02-20 18:30:58.883414-0800 Cookbook[2216:8171322] throwing -10878
2022-02-20 18:30:58.934781-0800 Cookbook[2216:8171519] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:58.934920-0800 Cookbook[2216:8171519] AudioDeviceStop: no device with given ID
2022-02-20 18:30:58.935184-0800 Cookbook[2216:8171519] [aqme] AQMEIO.cpp:377 error -66680 finding/initializing Default-InputOutput
2022-02-20 18:30:58.935341-0800 Cookbook[2216:8171322] [aurioc] AURemoteIO.cpp:1128 failed: -10851 (enable 3, outf< 2 ch, 0 Hz, Int16, interleaved> inf< 2 ch, 0 Hz, Int16, interleaved>)
2022-02-20 18:30:58.935824-0800 Cookbook[2216:8171322] [avae] AVAEInternal.h:76 required condition is false: [AVAudioEngineGraph.mm:2128:_Connect: (IsFormatSampleRateAndChannelCountValid(format))]
2022-02-20 18:30:59.019001-0800 Cookbook[2216:8171322] *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: IsFormatSampleRateAndChannelCountValid(format)'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff203feba4 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff201a1be7 objc_exception_throw + 48
2 CoreFoundation 0x00007fff203fe9cd +[NSException raise:format:] + 0
3 AVFAudio 0x00007fff5a59254e _Z19AVAE_RaiseExceptionP8NSStringz + 156
4 AVFAudio 0x00007fff5a5dd543 _ZN18AVAudioEngineGraph8_ConnectEP19AVAudioNodeImplBaseS1_jjP13AVAudioFormat + 323
5 AVFAudio 0x00007fff5a5e4cf8 _ZN18AVAudioEngineGraph7ConnectEP11AVAudioNodeS1_mmP13AVAudioFormat + 586
6 AVFAudio 0x00007fff5a65b37f _ZN17AVAudioEngineImpl7ConnectEP11AVAudioNodeS1_mmP13AVAudioFormat + 1041
7 AVFAudio 0x00007fff5a655ae0 -[AVAudioEngine connect:to:format:] + 114
8 Cookbook 0x000000010b4c28ac $s8AudioKit0A6EngineC06createC5Mixer33_BBA7C59B6014A6A2181272B002E0697ELLyyF + 524
9 Cookbook 0x000000010b4c227a $s8AudioKit0A6EngineC6outputAA4Node_pSgvW + 1770
10 Cookbook 0x000000010b4c2559 $s8AudioKit0A6EngineC6outputAA4Node_pSgvs + 233
11 Cookbook 0x000000010b37277b $s8Cookbook29ChannelDeviceRoutingConductorCACycfc + 1499
12 Cookbook 0x000000010b372191 $s8Cookbook29ChannelDeviceRoutingConductorCACycfC + 33
13 Cookbook 0x000000010b373898 $s8Cookbook24ChannelDeviceRoutingViewV10_conductor33_AF54AAB306277EF7AAE12FA1F3DA8269LL7SwiftUI11StateObjectVyAA0bcD9ConductorCGvpfiAJycfu_AJycfu0_ + 24
14 SwiftUI 0x00007fff5cbc26f2 $s7SwiftUI11StateObjectV3Box33_26399901AD247149EF526863F9AAF7C4LLV6update8property5phaseSbACyxGz_AA12_GraphInputsV5PhaseVtF + 74
15 SwiftUI 0x00007fff5d177bb5 $s7SwiftUI9BoxVTable33_68550FF604D39F05971FE35A26EE75B0LLC6update3ptr8property5phaseSbSv_SvAA12_GraphInputsV5PhaseVtFZ + 207
16 SwiftUI 0x00007fff5d176fe4 $s7SwiftUI22_DynamicPropertyBufferV6update9container5phaseSbSv_AA12_GraphInputsV5PhaseVtF + 72
17 SwiftUI 0x00007fff5ce5da31 $s7SwiftUI11DynamicBody33_49D2A32E637CD497C6DE29B8E060A506LLV11updateValueyyF + 296
18 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
19 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
20 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
21 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
22 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
23 SwiftUI 0x00007fff5ce5d5b1 $s7SwiftUI10StaticBody33_49D2A32E637CD497C6DE29B8E060A506LLV9container9ContainerQzvg + 67
24 SwiftUI 0x00007fff5ce5d675 $s7SwiftUI10StaticBody33_49D2A32E637CD497C6DE29B8E060A506LLV11updateValueyyF + 142
25 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
26 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
27 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
28 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
29 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
30 SwiftUI 0x00007fff5c761be4 $s7SwiftUI26MakeResolvedRepresentation33_AC03956538119E2820390436C305EBF1LLV5value4BodyQzvgAA0D11ButtonStyleV_Tg5 + 30
31 SwiftUI 0x00007fff5c7eab41 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_7SwiftUI19ResolvedButtonStyleV4bodyQrvpQOy_Qo__AK04MakeH14Representation33_AC03956538119E2820390436C305EBF1LLVyAMGTg5 + 37
32 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
33 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
34 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
35 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
36 SwiftUI 0x00007fff5c79b315 $s7SwiftUI10StaticBody33_49D2A32E637CD497C6DE29B8E060A506LLV11updateValueyyFAA04ViewD8AccessorVyAA6ButtonVyAA09PrimitiveR18StyleConfigurationV5LabelVGG_AA15MainThreadFlagsACLLVTg5 + 64
37 SwiftUI 0x00007fff5c814510 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_7SwiftUI6ButtonV4bodyQrvpQOyAK09PrimitiveI18StyleConfigurationV5LabelV_Qo__AK10StaticBody33_49D2A32E637CD497C6DE29B8E060A506LLVyAK04ViewP8AccessorVyAMyARGGAK15MainThreadFlagsAULLVGTg5TA + 15
38 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
39 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
40 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
41 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
42 SwiftUI 0x00007fff5c7eaacb $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_7SwiftUI15ModifiedContentVyAK19ResolvedButtonStyleVAK0kL8ModifierVyAK07DefaultkL0VGG_AK04MakeN14Representation33_AC03956538119E2820390436C305EBF1LLVyAOGTg5 + 29
43 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
44 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
45 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
46 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
47 SwiftUI 0x00007fff5ce5d5b1 $s7SwiftUI10StaticBody33_49D2A32E637CD497C6DE29B8E060A506LLV9container9ContainerQzvg + 67
48 SwiftUI 0x00007fff5ce5d675 $s7SwiftUI10StaticBody33_49D2A32E637CD497C6DE29B8E060A506LLV11updateValueyyF + 142
49 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
50 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
51 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
52 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
53 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
54 SwiftUI 0x00007fff5ce5d9eb $s7SwiftUI11DynamicBody33_49D2A32E637CD497C6DE29B8E060A506LLV11updateValueyyF + 226
55 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
56 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
57 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
58 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
59 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
60 SwiftUI 0x00007fff5ce5d9eb $s7SwiftUI11DynamicBody33_49D2A32E637CD497C6DE29B8E060A506LLV11updateValueyyF + 226
61 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
62 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
63 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
64 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
82 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
83 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
84 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
85 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
86 SwiftUI 0x00007fff5d0bc11a $s7SwiftUI15_ViewList_GroupV4InitV5valueAA0cD0_pvg + 183
87 SwiftUI 0x00007fff5c7e717a $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_7SwiftUI8ViewList_p_AK01_hI6_GroupV4InitVTg5 + 37
88 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
89 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
90 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
91 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
92 SwiftUI 0x00007fff5cb91711 $s7SwiftUI24DynamicLayoutViewAdaptor33_8B9C7F39264416187A895085215951BCLLV12updatedItemsAA0E4List_pSgyF + 59
93 SwiftUI 0x00007fff5c6f4d91 $s7SwiftUI20DynamicContainerInfoV11updateItems33_023AA827B8A8D39774F7A0C281455FEELL18disableTransitionsSb7changed_Sb8hasDepthtSb_tFAA0C17LayoutViewAdaptor33_8B9C7F39264416187A895085215951BCLLV_Tg5 + 53
94 SwiftUI 0x00007fff5c6f3453 $s7SwiftUI20DynamicContainerInfoV11updateValueyyFAA0C17LayoutViewAdaptor33_8B9C7F39264416187A895085215951BCLLV_Tg5 + 460
95 SwiftUI 0x00007fff5c80a7a5 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_7SwiftUI16DynamicContainerV4InfoV_AK0ijK0VyAK0I17LayoutViewAdaptor33_8B9C7F39264416187A895085215951BCLLVGTg5TA + 15
96 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
97 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
98 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
99 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
100 SwiftUI 0x00007fff5c961b29 $s7SwiftUI25DynamicPreferenceCombiner33_023AA827B8A8D39774F7A0C281455FEELLV4infoAA0C9ContainerV4InfoVSgvg + 62
101 SwiftUI 0x00007fff5c961cae $s7SwiftUI25DynamicPreferenceCombiner33_023AA827B8A8D39774F7A0C281455FEELLV5value5ValueQzvg + 128
102 SwiftUI 0x00007fff5c962105 $s7SwiftUI25DynamicPreferenceCombiner33_023AA827B8A8D39774F7A0C281455FEELLVyxG14AttributeGraph4RuleAafGP5value5ValueQzvgTW + 23
103 AttributeGraph 0x00007fff4ffbbbe7 $s14AttributeGraph4RuleP5value5ValueQzvgTj + 7
104 SwiftUI 0x00007fff5c885800 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_ + 109
105 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
106 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
107 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
108 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
109 SwiftUI 0x00007fff5cdb0e7b $s7SwiftUI24HostPreferencesTransform33_5EC2B8E51282B711F818D51701767C64LLV11updateValueyyF + 83
110 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
111 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
112 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
113 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
114 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
115 SwiftUI 0x00007fff5cdb0e7b $s7SwiftUI24HostPreferencesTransform33_5EC2B8E51282B711F818D51701767C64LLV11updateValueyyF + 83
116 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
117 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
118 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
119 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
120 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
121 SwiftUI 0x00007fff5cdb0e7b $s7SwiftUI24HostPreferencesTransform33_5EC2B8E51282B711F818D51701767C64LLV11updateValueyyF + 83
122 SwiftUI 0x00007fff5d04f428 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_TA + 26
123 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
124 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
125 AttributeGraph 0x00007fff4ffa1d18 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 554
126 AttributeGraph 0x00007fff4ffb8729 AGGraphGetValue + 210
127 SwiftUI 0x00007fff5c961f49 $s7SwiftUI25DynamicPreferenceCombiner33_023AA827B8A8D39774F7A0C281455FEELLV5value5ValueQzvg + 795
128 SwiftUI 0x00007fff5c962105 $s7SwiftUI25DynamicPreferenceCombiner33_023AA827B8A8D39774F7A0C281455FEELLVyxG14AttributeGraph4RuleAafGP5value5ValueQzvgTW + 23
129 AttributeGraph 0x00007fff4ffbbbe7 $s14AttributeGraph4RuleP5value5ValueQzvgTj + 7
130 SwiftUI 0x00007fff5c885800 $s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufcADSPyqd__GXEfU_ySv_So11AGAttributeatcyXEfU_ySv_AJtcqd__mcfu_ySv_AJtcfu0_ + 109
131 AttributeGraph 0x00007fff4ff9b37b _ZN2AG5Graph11UpdateStack6updateEv + 553
132 AttributeGraph 0x00007fff4ff9b971 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 411
133 AttributeGraph 0x00007fff4ffa1656 _ZN2AG5Graph9value_refENS_11AttributeIDEPK15AGSwiftMetadataRh + 128
134 AttributeGraph 0x00007fff4ffb877a AGGraphGetValue + 291
135 SwiftUI 0x00007fff5d16cd4e $s7SwiftUI9GraphHostC17updatePreferencesSbyF + 39
136 SwiftUI 0x00007fff5cac8448 $s7SwiftUI9ViewGraphC13updateOutputs33_D63C4EB7F2B205694B6515509E76E98BLLyyF + 293
137 SwiftUI 0x00007fff5c7c72cb $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtFyyXEfU_AA010_UIHostingC0CyAA15ModifiedContentVyAA01_cj1_C0VAA0J17TableCellModifierVGG_Tg5Tm + 2021
138 SwiftUI 0x00007fff5c6b9499 $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtFAA010_UIHostingC0CyAA15ModifiedContentVyAA03AnyC0VAA24NavigationColumnModifierVGG_Tg5 + 491
139 SwiftUI 0x00007fff5cc04546 $s7SwiftUI24NavigationBridge_PhoneTVC4push_4onto8animatedyAA0C18DestinationContentV_AA10PushTargetVSbtF011withUpdatedC3BarL_7performyyyc_tAA4ViewRzlFyycfU_ + 625
140 SwiftUI 0x00007fff5cc05c15 $s7SwiftUI24NavigationBridge_PhoneTVC4push_4onto8animatedyAA0C18DestinationContentV_AA10PushTargetVSbtF011withUpdatedC3BarL_7performyyyc_tAA4ViewRzlFyycfU_TA + 66
141 SwiftUI 0x00007fff5cb3575b $sIeg_ytIegr_TR + 12
142 SwiftUI 0x00007fff5cc0599c $sIeg_ytIegr_TRTA + 17
143 SwiftUI 0x00007fff5cc05f5a $sIeg_ytIegr_TRTA.34 + 9
144 SwiftUI 0x00007fff5d07620b $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtFyyXEfU_ + 2368
145 SwiftUI 0x00007fff5d06d9d8 $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtF + 345
146 SwiftUI 0x00007fff5d2cad1b $s7SwiftUI14_UIHostingViewC14layoutSubviewsyyF + 296
147 SwiftUI 0x00007fff5d2cad61 $s7SwiftUI14_UIHostingViewC14layoutSubviewsyyFTo + 21
148 UIKitCore 0x00007fff2561d2b1 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2962
149 QuartzCore 0x00007fff289e2d2e _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 548
150 QuartzCore 0x00007fff289edebf _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
151 QuartzCore 0x00007fff28929c86 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 700
152 QuartzCore 0x00007fff28961853 _ZN2CA11Transaction6commitEv + 699
153 UIKitCore 0x00007fff2508c831 _afterCACommitHandler + 105
154 CoreFoundation 0x00007fff2036bc67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
155 CoreFoundation 0x00007fff2036648c __CFRunLoopDoObservers + 541
156 CoreFoundation 0x00007fff20366a3c __CFRunLoopRun + 1126
157 CoreFoundation 0x00007fff203660f3 CFRunLoopRunSpecific + 567
158 GraphicsServices 0x00007fff2c995cd3 GSEventRunModal + 139
159 UIKitCore 0x00007fff25059f42 -[UIApplication _run] + 928
160 UIKitCore 0x00007fff2505eb5e UIApplicationMain + 101
161 Cookbook 0x000000010b239b7f main + 63
162 dyld 0x000000010ca96ee9 start_sim + 10
163 ??? 0x00000001166c84fe 0x0 + 4671177982
)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_ROOT_PATH=/Users/vittalk/Documents/Vittal/Xcode/XCode_Versions/13.2/Xcode_13_2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/vittalk/Library/Developer/Xcode/DerivedData/Cookbook-dsisqbaepepfucghbmspweyxdwqi/Build/Products/Debug-iphonesimulator:/Users/vittalk/Documents/Vittal/Xcode/XCode_Versions/13.2/Xcode_13_2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Users/vittalk/Documents/Vittal/Xcode/XCode_Versions/13.2/Xcode_13_2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Users/vittalk/Documents/Vittal/Xcode/XCode_Versions/13.2/Xcode_13_2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/Users/vittalk/Documents/Vittal/Xcode/XCode_Versions/13.2/Xcode_13_2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMTLCapture.dylib DYLD_FRAMEWORK_PATH=/Users/vittalk/Library/Developer/Xcode/DerivedData/Cookbook-dsisqbaepepfucghbmspweyxdwqi/Build/Products/Debug-iphonesimulator:/Users/vittalk/Library/Developer/Xcode/DerivedData/Cookbook-dsisqbaepepfucghbmspweyxdwqi/Build/Products/Debug-iphonesimulator/PackageFrameworks
*** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: IsFormatSampleRateAndChannelCountValid(format)'
terminating with uncaught exception of type NSException
CoreSimulator 783.5 - Device: iPad Pro (9.7-inch) (473C9914-33AC-43B0-BA02-F18081906489) - Runtime: iOS 15.2 (19C51) - DeviceType: iPad Pro (9.7-inch)

Related

Xcode crashes when I try to change the build version in the target

Hello, my xcode crashes when I try to change the build version in the target or add new capabilities to the target
I am using cocoa pods dependencies
mapbox and moya
I already recreated the project, added new files and crashed again
Min version IOS 15
Using SwiftUI
Please tell me what could be the problem
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [70735]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.4.1 (20504)
Build Info: IDEFrameworks-20504000000000000~2 (13F100)
App Item ID: 497799835
App External ID: 849405240
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 502
Date/Time: 2022-08-02 01:33:29.0104 +0300
OS Version: macOS 12.4 (21F79)
Report Version: 12
Bridge OS Version: 3.0 (14Y910)
Anonymous UUID: 26D63ACB-658A-6CE0-1948-1A30209E23FB
Sleep/Wake UUID: 99B7552F-2B7B-4BF1-BEA3-9DC37E74F959
Time Awake Since Boot: 100000 seconds
Time Since Wake: 3344 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Application Specific Signatures:
0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff81606300e __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff8160991ff pthread_kill + 263
2 libsystem_c.dylib 0x7ff815fe4d24 abort + 123
3 IDEKit 0x1116ec69d +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1216
4 IDEKit 0x1116ecba8 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1075
5 DVTFoundation 0x10e62624e _DVTAssertionHandler + 464
6 DVTFoundation 0x10e62645a _DVTAssertionFailureHandler + 306
7 DVTFoundation 0x10e3ce9e9 -[DVTMacroDefinitionTable _setLiteralValue:forMacroName:conditionSet:wantsCheckForDVTMacroExpansionConformance:] + 515
8 DVTFoundation 0x10e3ce7e4 -[DVTMacroDefinitionTable setLiteralValue:forMacroName:conditionSet:] + 23
9 DVTFoundation 0x10e3d0810 -[DVTMacroDefinitionTable setObject:forKeyedSubscript:] + 241
10 DevToolsCore 0x128404af7 __52-[PBXTarget _adjustBuildSettingsForProductSettings:]_block_invoke + 809
11 CoreFoundation 0x7ff816126967 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 7
12 CoreFoundation 0x7ff816161bde -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 255
13 DevToolsCore 0x128404739 -[PBXTarget _adjustBuildSettingsForProductSettings:] + 189
14 DevToolsCore 0x1284050cc -[PBXTarget writeProductSettings:configuration:] + 348
15 DevToolsCore 0x1284059a5 -[PBXTarget setProductSettings:configuration:] + 307
16 DevToolsCore 0x128406f37 -[PBXTarget setProductSetting:forKey:configuration:] + 416
17 DevToolsCore 0x12866fe7d -[Xcode3TargetInfoPlistCoordinator setValue:forPlistSetting:] + 158
18 Xcode3UI 0x137cc92ee -[Xcode3TargetEditor setValue:forPlistSetting:] + 93
19 IDEiPhoneSupport 0x137283fd2 -[IDEiOSTargetEditor setValue:forPlistSetting:withAssociatedBuildSetting:] + 207
20 Foundation 0x7ff816f88c84 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 668
21 Foundation 0x7ff816fb4172 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 68
22 Foundation 0x7ff816fd1c47 _NSSetObjectValueAndNotify + 269
23 Foundation 0x7ff816f9420a -[NSObject(NSKeyValueCoding) setValue:forKey:] + 353
24 AppKit 0x7ff818ddc5e8 -[NSBinder _setValue:forKeyPath:ofObject:mode:validateImmediately:raisesForNotApplicableKeys:error:] + 445
25 AppKit 0x7ff818ddc3dc -[NSBinder setValue:forBinding:error:] + 238
26 AppKit 0x7ff819402f3e -[NSValueBinder _applyObjectValue:forBinding:canRecoverFromErrors:handleErrors:typeOfAlert:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:] + 215
27 AppKit 0x7ff81940324d -[NSValueBinder applyDisplayedValueHandleErrors:typeOfAlert:canRecoverFromErrors:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:error:] + 541
28 AppKit 0x7ff8194033b4 -[NSValueBinder _applyDisplayedValueIfHasUncommittedChangesWithHandleErrors:typeOfAlert:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:error:] + 106
29 AppKit 0x7ff818f12ebd -[NSValueBinder validateAndCommitValueInEditor:editingIsEnding:errorUserInterfaceHandled:] + 461
30 AppKit 0x7ff818f12cc9 -[_NSBindingAdaptor _validateAndCommitValueInEditor:editingIsEnding:errorUserInterfaceHandled:bindingAdaptor:] + 175
31 AppKit 0x7ff818f12bfa -[_NSBindingAdaptor validateAndCommitValueInEditor:editingIsEnding:errorUserInterfaceHandled:] + 244
32 AppKit 0x7ff818daf3e3 -[NSTextField textDidChange:] + 163
33 CoreFoundation 0x7ff81615575c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
34 CoreFoundation 0x7ff8161f2b52 ___CFXRegistrationPost_block_invoke + 49
35 CoreFoundation 0x7ff8161f2ad0 _CFXRegistrationPost + 496
36 CoreFoundation 0x7ff816127398 _CFXNotificationPost + 735
37 Foundation 0x7ff816f6b80e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
38 AppKit 0x7ff818daeec8 -[NSTextView(NSSharing) didChangeText] + 406
39 AppKit 0x7ff818dac34b -[NSTextView _insertText:replacementRange:] + 2981
40 UIFoundation 0x7ff819ac14fd -[NSTextContentManager performEditingTransactionUsingBlock:] + 39
41 AppKit 0x7ff818dab789 -[NSTextView insertText:replacementRange:] + 112
42 AppKit 0x7ff818dab283 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 176
43 AppKit 0x7ff819559e6e __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.354 + 102
44 AppKit 0x7ff818dab1c5 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105
45 AppKit 0x7ff818dab08c -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 310
46 AppKit 0x7ff819559568 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.310 + 2235
47 AppKit 0x7ff818daacc8 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 74
48 AppKit 0x7ff818daac49 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 87
49 AppKit 0x7ff818daa24e -[NSTextInputContext handleTSMEvent:completionHandler:] + 1821
50 AppKit 0x7ff818da9ac0 _NSTSMEventHandler + 299
51 HIToolbox 0x7ff81eddf34d DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1365
52 HIToolbox 0x7ff81edde79c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 333
53 HIToolbox 0x7ff81edde63d SendEventToEventTargetWithOptions + 45
54 HIToolbox 0x7ff81ee397e3 SendTSMEvent_WithCompletionHandler + 442
55 HIToolbox 0x7ff81ee39c53 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 393
56 HIToolbox 0x7ff81ee39aa5 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 182
57 HIToolbox 0x7ff81ee39831 SendTSMEvent_WithCompletionHandler + 520
58 HIToolbox 0x7ff81ee395fc SendFilterTextEvent_WithCompletionHandler + 219
59 HIToolbox 0x7ff81ee392dd SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 274
60 HIToolbox 0x7ff81ee39086 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 281
61 HIToolbox 0x7ff81ee38ee6 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 362
62 HIToolbox 0x7ff81ee38d4e TSMKeyEvent_WithCompletionHandler + 609
63 HIToolbox 0x7ff81ee38ad2 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 250
64 HIToolbox 0x7ff81ee38951 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 257
65 HIToolbox 0x7ff81ee3871d __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 285
66 HIToolbox 0x7ff81ee384cd __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 274
67 HIToolbox 0x7ff81ee2776a TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3490
68 AppKit 0x7ff81955d7e0 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.838 + 110
69 AppKit 0x7ff81955d532 __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.799 + 120
70 AppKit 0x7ff818da858e -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:] + 245
71 AppKit 0x7ff818da7f88 -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 1422
72 AppKit 0x7ff818da79bf -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 105
73 AppKit 0x7ff818da7836 -[NSView interpretKeyEvents:] + 209
74 AppKit 0x7ff818da767c -[NSTextView keyDown:] + 706
75 AppKit 0x7ff818d101a6 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 7150
76 AppKit 0x7ff818d0e39e -[NSWindow(NSEventRouting) sendEvent:] + 352
77 IDEKit 0x11172e1ba -[IDEWorkspaceWindow sendEvent:] + 156
78 AppKit 0x7ff818d0d1c8 -[NSApplication(NSEvent) sendEvent:] + 2996
79 IDEKit 0x11176e92b -[IDEApplication sendEvent:] + 830
80 AppKit 0x7ff818fc559b -[NSApplication _handleEvent:] + 65
81 AppKit 0x7ff818b8df8e -[NSApplication run] + 623
82 DVTKit 0x10d5d5ea9 -[DVTApplication run] + 54
83 AppKit 0x7ff818b61ee7 NSApplicationMain + 817
84 dyld

Xamarin-iOS crash: Since iOS 13 our app has been crashing whenever voice over is turned on

I've been able te reproduce it while using the Xcode accessibility inspector.
The concerning page holds numerous UI elements which used to work fine with voice over.
I've been looking all over the internet but up to now it feels like we're the only one with this problem.
`Foundation.MonoTouchException: Objective-C exception thrown. Name: NSRangeException Reason: NSConcreteAttributedString attributedSubstringFromRange:: Out of bounds
Native stack trace:
0 CoreFoundation 0x00007fff23e3de6e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff512539b2 objc_exception_throw + 48
2 Foundation 0x00007fff25a0dfb6 -[NSAttributedString attributedSubstringFromRange:replacingCharactersInRanges:numberOfRanges:withString:] + 0
3 UIKit 0x000000011a6595c2 __58-[UITextViewAccessibility _accessibilityParagraphElements]_block_invoke + 216
4 Foundation 0x00007fff25966dc3 -[NSString enumerateSubstringsInRange:options:usingBlock:] + 2104
5 UIKit 0x000000011a6593e9 -[UITextViewAccessibility _accessibilityParagraphElements] + 436
6 UIKit 0x000000011a6577a8 -[UITextViewAccessibility accessibilityElements] + 45
7 UIAccessibility 0x00007fff486f8d9a -[NSObject(AXPrivCategory) _accessibilityElements] + 69
8 UIAccessibility 0x00007fff4871b602 -[NSObjectAccessibility accessibilityElementCount] + 81
9 UIAccessibility 0x00007fff486f8821 -[NSObject(AXPrivCategory) _accessibilityHasOrderedChildren] + 46
10 UIAccessibility 0x00007fff486ef186 -[UIView(UIAccessibilityElementTraversal) _accessibilityShouldBeAddedToViewChildrenWithOptions:] + 214
11 UIAccessibility 0x00007fff486efabb -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 164
12 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
13 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
14 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
15 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
16 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
17 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
18 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
19 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
20 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
21 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
22 UIAccessibility 0x00007fff486eff45 -[UIView(UIAccessibilityElementTraversal) _addAccessibilityElementsAndOrderedContainersWithOptions:toCollection:] + 1326
23 UIAccessibility 0x00007fff486f03de +[UIView(UIAccessibilityElementTraversal) _accessibilityElementsAndContainersDescendingFromViews:options:sorted:] + 507
24 UIAccessibility 0x00007fff486f0b2d -[UIApplication(UIAccessibilityElementTraversal) _accessibilityViewChildrenWithOptions:referenceWindow:] + 561
25 UIKit 0x000000011a618588 -[UIApplicationAccessibility _accessibilityElementFirst:last:forFocus:allowScrolling:] + 206
26 UIKit 0x000000011a61cb2a -[UIApplicationAccessibility _iosAccessibilityAttributeValue:] + 728
27 UIAccessibility 0x00007fff486e40da _copyAttributeValueCallback + 432
28 AXRuntime 0x00007fff2e735816 ___AXXMIGCopyAttributeValue_block_invoke + 46
29 AXRuntime 0x00007fff2e7356e3 _handleNonMainThreadCallback + 55
30 AXRuntime 0x00007fff2e7355a6 _AXXMIGCopyAttributeValue + 286
31 AXRuntime 0x00007fff2e72e0f3 _XCopyAttributeValue + 269
32 AXRuntime 0x00007fff2e745ba6 mshMIGPerform + 237
33 CoreFoundation 0x00007fff23da2449 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41
34 CoreFoundation 0x00007fff23da1a48 __CFRunLoopDoSource1 + 472
35 CoreFoundation 0x00007fff23d9c474 __CFRunLoopRun + 2228
36 CoreFoundation 0x00007fff23d9b8a4 CFRunLoopRunSpecific + 404
37 GraphicsServices 0x00007fff38c39bbe GSEventRunModal + 139
38 UIKitCore 0x00007fff49325968 UIApplicationMain + 1605
39 ??? 0x0000000109b53095 0x0 + 4457836693
40 ??? 0x0000000109b52de3 0x0 + 4457836003
41 ??? 0x00000001093c69f3 0x0 + 4449921523
42 Mono 0x0000000103204641 mono_jit_runtime_invoke + 1569
43 Mono 0x00000001033f8cd8 mono_runtime_invoke_checked + 136
44 Mono 0x00000001033ff045 mono_runtime_exec_main_checked + 117
45 Mono 0x000000010325f16c mono_jit_exec + 364
46 MHMobileAppsNewsAppiOS 0x0000000102c958cd xamarin_main + 2685
47 MHMobileAppsNewsAppiOS 0x0000000102c52237 main + 71
48 libdyld.dylib 0x00007fff520ce1fd start + 1
at ObjCRuntime.Runtime.ThrowNSException (System.IntPtr ns_exception) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.3.2/src/Xamarin.iOS/ObjCRuntime/Runtime.cs:406
at ObjCRuntime.Runtime.throw_ns_exception (System.IntPtr exc) [0x00000] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/runtime/Delegates.generated.cs:128
at at (wrapper native-to-managed) ObjCRuntime.Runtime.throw_ns_exception(intptr)
at at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.3.2/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.3.2/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at MH.MobileApps.NewsApp.iOS.Application.Main (System.String[] args) [0x0001c] in /Users/erland/Projects/Mediahuis/projects/NewsApp/NewsApp.iOS/Main.cs:15`

Error: DiskCookieStorage changing policy from 2 to 0, cookie file

I've got an error while compiling in Xcode (Release/Debug)
DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
I tried to install cordova-sqlite-storage and remove ios platform and reinstall ios platform and build project for IOS
I have no code to show because is terminating with uncaught exception error.
My app build successful for IOS in ionic.
After that I open the project in Xcode and run the project in simulator device then stuff I get an error in main.m
what I see in console:
2019-09-27 15:19:14.943154+0530 myApp[3086:93649] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
2019-09-27 15:19:14.954425+0530 myApp[3086:93649] Apache Cordova native platform version 5.0.1 is starting.
2019-09-27 15:19:14.954596+0530 myApp[3086:93649] Multi-tasking -> Device: YES, App: YES
2019-09-27 15:19:14.972439+0530 myApp[3086:93649] -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900
2019-09-27 15:19:14.981981+0530 myApp[3086:93649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 myApp 0x000000010a028723 -[CDVViewController viewDidLoad] + 227
6 myApp 0x000000010a004433 -[MainViewController viewDidLoad] + 51
7 UIKitCore 0x00007fff46af87c2 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 83
8 UIKitCore 0x00007fff46afd6d3 -[UIViewController loadViewIfRequired] + 1084
9 UIKitCore 0x00007fff46afdaf0 -[UIViewController view] + 27
10 UIKitCore 0x00007fff47199b55 -[UIWindow addRootViewControllerViewIfPossible] + 150
11 UIKitCore 0x00007fff4719920b -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 232
12 UIKitCore 0x00007fff4719a2c9 -[UIWindow _setHidden:forced:] + 362
13 UIKitCore 0x00007fff471ad46d -[UIWindow _mainQueue_makeKeyAndVisible] + 42
14 myApp 0x000000010a01ef3f -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 703
15 myApp 0x000000010a0041ab -[AppDelegate application:didFinishLaunchingWithOptions:] + 187
16 UIKitCore 0x00007fff4715994f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
17 UIKitCore 0x00007fff4715b2e7 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
18 UIKitCore 0x00007fff47160c05 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1281
19 UIKitCore 0x00007fff468b58b1 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
20 UIKitCore 0x00007fff46d96cd5 _UIScenePerformActionsWithLifecycleActionMask + 83
21 UIKitCore 0x00007fff468b63c3 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
22 UIKitCore 0x00007fff468b5e84 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
23 UIKitCore 0x00007fff468b61f3 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 821
24 UIKitCore 0x00007fff468b5a85 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
25 UIKitCore 0x00007fff468b9e70 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 159
26 UIKitCore 0x00007fff46cbdf8b +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
27 UIKitCore 0x00007fff46db51cf _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
28 UIKitCore 0x00007fff468b9b9e __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
29 UIKitCore 0x00007fff46db50d2 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
30 UIKitCore 0x00007fff468b9a0c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
31 UIKitCore 0x00007fff46717c96 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
32 UIKitCore 0x00007fff4671681b -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
33 UIKitCore 0x00007fff467179c0 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
34 UIKitCore 0x00007fff4715f262 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
35 UIKitCore 0x00007fff46cdf774 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
36 FrontBoardServices 0x00007fff362e1d43 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
37 FrontBoardServices 0x00007fff3630a00c __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
38 FrontBoardServices 0x00007fff362ecd21 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
39 FrontBoardServices 0x00007fff36309c9d __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
40 libdispatch.dylib 0x000000010a387d64 _dispatch_client_callout + 8
41 libdispatch.dylib 0x000000010a38acd5 _dispatch_block_invoke_direct + 300
42 FrontBoardServices 0x00007fff3633108a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
43 FrontBoardServices 0x00007fff36330d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
44 FrontBoardServices 0x00007fff36331287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
45 CoreFoundation 0x00007fff23afbac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
46 CoreFoundation 0x00007fff23afb9ec __CFRunLoopDoSource0 + 76
47 CoreFoundation 0x00007fff23afb1c4 __CFRunLoopDoSources0 + 180
48 CoreFoundation 0x00007fff23af5ecf __CFRunLoopRun + 1263
49 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
50 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
51 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
52 myApp 0x000000010a0040d1 main + 65
53 libdyld.dylib 0x00007fff5123bcf5 start + 1
54 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Error Terminating app due to uncaught exception 'NSInvalidArgumentException'

I've got an error while compiling (Release/Debug)
Terminating app due to uncaught exception NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x600003ea6ae0'
After build successfully myProject. I was open my project in Xcode and click the run button on Xcode. the project build successfully and display the lunch screen in simulator device. After that stuff I get an error in main.m, and this is what I see in console:
#import <UIKit/UIKit.h>
int main(int argc, char* argv[])
{
#autoreleasepool {
int retVal = UIApplicationMain(argc, argv, nil, #"AppDelegate"); Thread 1: signal SIGABRT
return retVal;
}
}
2019-09-27 15:19:14.943154+0530 myApp[3086:93649] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
2019-09-27 15:19:14.954425+0530 myApp[3086:93649] Apache Cordova native platform version 5.0.1 is starting.
2019-09-27 15:19:14.954596+0530 myApp[3086:93649] Multi-tasking -> Device: YES, App: YES
2019-09-27 15:19:14.972439+0530 myApp[3086:93649] -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900
2019-09-27 15:19:14.981981+0530 myApp[3086:93649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 myApp 0x000000010a028723 -[CDVViewController viewDidLoad] + 227
6 myApp 0x000000010a004433 -[MainViewController viewDidLoad] + 51
7 UIKitCore 0x00007fff46af87c2 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 83
8 UIKitCore 0x00007fff46afd6d3 -[UIViewController loadViewIfRequired] + 1084
9 UIKitCore 0x00007fff46afdaf0 -[UIViewController view] + 27
10 UIKitCore 0x00007fff47199b55 -[UIWindow addRootViewControllerViewIfPossible] + 150
11 UIKitCore 0x00007fff4719920b -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 232
12 UIKitCore 0x00007fff4719a2c9 -[UIWindow _setHidden:forced:] + 362
13 UIKitCore 0x00007fff471ad46d -[UIWindow _mainQueue_makeKeyAndVisible] + 42
14 myApp 0x000000010a01ef3f -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 703
15 myApp 0x000000010a0041ab -[AppDelegate application:didFinishLaunchingWithOptions:] + 187
16 UIKitCore 0x00007fff4715994f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
17 UIKitCore 0x00007fff4715b2e7 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
18 UIKitCore 0x00007fff47160c05 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1281
19 UIKitCore 0x00007fff468b58b1 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
20 UIKitCore 0x00007fff46d96cd5 _UIScenePerformActionsWithLifecycleActionMask + 83
21 UIKitCore 0x00007fff468b63c3 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
22 UIKitCore 0x00007fff468b5e84 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
23 UIKitCore 0x00007fff468b61f3 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 821
24 UIKitCore 0x00007fff468b5a85 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
25 UIKitCore 0x00007fff468b9e70 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 159
26 UIKitCore 0x00007fff46cbdf8b +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
27 UIKitCore 0x00007fff46db51cf _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
28 UIKitCore 0x00007fff468b9b9e __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
29 UIKitCore 0x00007fff46db50d2 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
30 UIKitCore 0x00007fff468b9a0c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
31 UIKitCore 0x00007fff46717c96 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
32 UIKitCore 0x00007fff4671681b -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
33 UIKitCore 0x00007fff467179c0 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
34 UIKitCore 0x00007fff4715f262 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
35 UIKitCore 0x00007fff46cdf774 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
36 FrontBoardServices 0x00007fff362e1d43 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
37 FrontBoardServices 0x00007fff3630a00c __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
38 FrontBoardServices 0x00007fff362ecd21 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
39 FrontBoardServices 0x00007fff36309c9d __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
40 libdispatch.dylib 0x000000010a387d64 _dispatch_client_callout + 8
41 libdispatch.dylib 0x000000010a38acd5 _dispatch_block_invoke_direct + 300
42 FrontBoardServices 0x00007fff3633108a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
43 FrontBoardServices 0x00007fff36330d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
44 FrontBoardServices 0x00007fff36331287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
45 CoreFoundation 0x00007fff23afbac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
46 CoreFoundation 0x00007fff23afb9ec __CFRunLoopDoSource0 + 76
47 CoreFoundation 0x00007fff23afb1c4 __CFRunLoopDoSources0 + 180
48 CoreFoundation 0x00007fff23af5ecf __CFRunLoopRun + 1263
49 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
50 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
51 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
52 myApp 0x000000010a0040d1 main + 65
53 libdyld.dylib 0x00007fff5123bcf5 start + 1
54 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist .
Are you using notificayion in your app ,if so make what they are asking else check your app if there is a method that have un ended loop so that it is causing the app to throw execption of rebound.

MonoTouch random crash on device, not on simulator

I am thinking this is somehow memory related, but I have done everything I can think of. I have made sure classes are disposed property. Maintained hard references at the class level instead of function scope, for things that might be getting GC'd while I am using them, etc.
Basically the app works fine in the simulator, but crashes at the same spot on a real device. Seems like I get a few different stacks, but they are all around the same place.
I am using a large amount of events in my application. Too many threads?
Stacktrace:
at Newtonsoft.Json.JsonWriter.WriteValue (object) at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.WriteMemberInfoProperty
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonObjectContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList
(Newtonsoft.Json.JsonWriter,Newtonsoft.Json.Utilities.IWrappedCollection,Newtonsoft.Json.Serialization.JsonArrayContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.WriteMemberInfoProperty
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonObjectContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue
(Newtonsoft.Json.JsonWriter,object,Newtonsoft.Json.Serialization.JsonContract,Newtonsoft.Json.Serialization.JsonProperty,Newtonsoft.Json.Serialization.JsonContract)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize
(Newtonsoft.Json.JsonWriter,object) at
Newtonsoft.Json.JsonSerializer.SerializeInternal
(Newtonsoft.Json.JsonWriter,object) at
Newtonsoft.Json.JsonSerializer.Serialize
(Newtonsoft.Json.JsonWriter,object) at
RestSharp.Serializers.JsonSerializer.Serialize (object) [0x0001c] in
/Users/sonmez56/Projects/TrackAbout.Mono/RestSharp/RestSharp/Serializers/JsonSerializer.cs:64
at RestSharp.RestRequest.AddBody (object,string) [0x00019] in
/Users/sonmez56/Projects/TrackAbout.Mono/RestSharp/RestSharp/RestRequest.cs:203
at RestSharp.RestRequest.AddBody (object) [0x00000] in
/Users/sonmez56/Projects/TrackAbout.Mono/RestSharp/RestSharp/RestRequest.cs:232
at
TrackAboutMonoCore.Services.TrackAboutAPIRequestBuilder/TARestRequest.WithBody
(T) <0x00097> at
TrackAboutMonoCore.Services.ActionsService.CustomerSetVolume
(int,System.Collections.Generic.List1<TrackAboutMonoCore.Models.Asset>,System.Action1>)
[0x00000] in
/Users/sonmez56/Projects/TrackAbout.Mono/TrackAboutMonoCore/Services/ActionsService.cs:24
at TrackAboutMonoCore.Controllers.LocateController.Save
(object,System.EventArgs) [0x00055] in
/Users/sonmez56/Projects/TrackAbout.Mono/TrackAboutMonoCore/Controllers/LocateController.cs:64
at MonoTouch.UIKit.UIBarButtonItem/Callback.Call
(MonoTouch.Foundation.NSObject) [0x00010] in
/Developer/MonoTouch/Source/monotouch/src/UIKit/UIBarButtonItem.cs:23
at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff> at
MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x0004c]
in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
at TrackAboutIOS.Application.Main (string[]) [0x00000] in
/Users/sonmez56/Projects/TrackAbout.Mono/TrackAboutIOS/TrackAboutIOS/Main.cs:16
at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 TrackAboutIOS 0x01d20618
mono_handle_native_sigsegv + 280 1 TrackAboutIOS
0x01d45bd4 sigabrt_signal_handler + 180 2 libsystem_c.dylib
0x376647ed _sigtramp + 48 3 libsystem_c.dylib
0x3765a20f pthread_kill + 54 4 libsystem_c.dylib
0x3765329f abort + 94 5 TrackAboutIOS
0x01e394ac monoeg_g_log + 208 6 TrackAboutIOS
0x01d11664 get_numerous_trampoline + 160 7 TrackAboutIOS
0x01d11aac mono_aot_get_imt_thunk + 56 8 TrackAboutIOS
0x01dbdc50 initialize_imt_slot + 112 9 TrackAboutIOS
0x01dbf1c4 build_imt_slots + 1124 10 TrackAboutIOS
0x01dbf32c mono_vtable_build_imt_slot + 120 11 TrackAboutIOS
0x01d236fc mono_convert_imt_slot_to_vtable_slot + 292 12
TrackAboutIOS 0x01d23974 common_call_trampoline
+ 284 13 TrackAboutIOS 0x01d21c60 mono_vcall_trampoline + 228 14 TrackAboutIOS
0x00934198 generic_trampoline_vcall + 136 15 TrackAboutIOS
0x00b9fec4
Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeValue_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1116 16 TrackAboutIOS 0x00ba13bc Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_WriteMemberInfoProperty_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1712 17 TrackAboutIOS 0x00ba2a70 Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeObject_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonObjectContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1784 18 TrackAboutIOS 0x00ba0124 Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeValue_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1724 19 TrackAboutIOS 0x00ba3ec0 Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeList_Newtonsoft_Json_JsonWriter_Newtonsoft_Json_Utilities_IWrappedCollection_Newtonsoft_Json_Serialization_JsonArrayContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 2520 20 TrackAboutIOS 0x00ba041c Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeValue_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 2484 21 TrackAboutIOS 0x00ba13bc Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_WriteMemberInfoProperty_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1712 22 TrackAboutIOS 0x00ba2a70 Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeObject_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonObjectContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1784 23 TrackAboutIOS 0x00ba0124 Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_SerializeValue_Newtonsoft_Json_JsonWriter_object_Newtonsoft_Json_Serialization_JsonContract_Newtonsoft_Json_Serialization_JsonProperty_Newtonsoft_Json_Serialization_JsonContract + 1724 24 TrackAboutIOS 0x00b9f70c Newtonsoft_Json_Serialization_JsonSerializerInternalWriter_Serialize_Newtonsoft_Json_JsonWriter_object
+ 356 25 TrackAboutIOS 0x00b2c52c Newtonsoft_Json_JsonSerializer_SerializeInternal_Newtonsoft_Json_JsonWriter_object
+ 300 26 TrackAboutIOS 0x00b2c3b4 Newtonsoft_Json_JsonSerializer_Serialize_Newtonsoft_Json_JsonWriter_object
+ 156 27 TrackAboutIOS 0x012010c0 RestSharp_Serializers_JsonSerializer_Serialize_object + 452 28
TrackAboutIOS 0x011f8ad0
RestSharp_RestRequest_AddBody_object_string + 396 29 TrackAboutIOS
0x011f8e4c RestSharp_RestRequest_AddBody_object + 152 30
TrackAboutIOS 0x011d3c64
TrackAboutMonoCore_Services_TrackAboutAPIRequestBuilder_TARestRequest_WithBody_T_T
+ 152 31 TrackAboutIOS 0x011d22d4 TrackAboutMonoCore_Services_ActionsService_CustomerSetVolume_int_System_Collections_Generic_List_1_TrackAboutMonoCore_Models_Asset_System_Action_1_RestSharp_RestResponse_1_TrackAbout_Rest_Models_TARestResponse
+ 328 32 TrackAboutIOS 0x011ce3bc TrackAboutMonoCore_Controllers_LocateController_Save_object_System_EventArgs
+ 960 33 TrackAboutIOS 0x0139003c MonoTouch_UIKit_UIBarButtonItem_Callback_Call_MonoTouch_Foundation_NSObject
+ 96 34 TrackAboutIOS 0x008b0450 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200 35 TrackAboutIOS 0x01d05834 mono_jit_runtime_invoke + 1644 36 TrackAboutIOS
0x01dbd09c mono_runtime_invoke + 128 37 TrackAboutIOS
0x01e4c054 monotouch_trampoline + 3436 38 CoreFoundation
0x30c7f3fd -[NSObject performSelector:withObject:withObject:] + 52 39
UIKit 0x3353efaf -[UIApplication
sendAction:to:from:forEvent:] + 62 40 UIKit
0x3360476b -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 118
41 CoreFoundation 0x30c7f3fd -[NSObject
performSelector:withObject:withObject:] + 52 42 UIKit
0x3353efaf -[UIApplication sendAction:to:from:forEvent:] + 62 43
UIKit 0x3353ef6b -[UIApplication
sendAction:toTarget:fromSender:forEvent:] + 30 44 UIKit
0x3353ef49 -[UIControl sendAction:to:forEvent:] + 44 45 UIKit
0x3353ecb9 -[UIControl(Internal) _sendActionsForEvents:withEvent:] +
492 46 UIKit 0x3353f5f1 -[UIControl
touchesEnded:withEvent:] + 476 47 UIKit
0x3353dad3 -[UIWindow _sendTouchesForEvent:] + 318 48 UIKit
0x3353d4c1 -[UIWindow sendEvent:] + 380 49 UIKit
0x3352383d -[UIApplication sendEvent:] + 356 50 UIKit
0x335230e3 _UIApplicationHandleEvent + 5826 51 GraphicsServices
0x33e1322b PurpleEventCallback + 882 52 CoreFoundation
0x30cf9523 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION
+ 38 53 CoreFoundation 0x30cf94c5 CFRunLoopDoSource1 + 140 54 CoreFoundation 0x30cf8313 __CFRunLoopRun + 1370 55 CoreFoundation
0x30c7b4a5 CFRunLoopRunSpecific + 300 56 CoreFoundation
0x30c7b36d CFRunLoopRunInMode + 104 57 GraphicsServices
0x33e12439 GSEventRunModal + 136 58 UIKit
0x33551e7d UIApplicationMain + 1080 59 TrackAboutIOS
0x01696c74
wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string_intptr_intptr
+ 240 60 TrackAboutIOS 0x00098420 TrackAboutIOS_Application_Main_string__ + 152 61 TrackAboutIOS
0x008b0450
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200 62 TrackAboutIOS 0x01d05834 mono_jit_runtime_invoke + 1644 63 TrackAboutIOS
0x01dbd09c mono_runtime_invoke + 128 64 TrackAboutIOS
0x01dc16b4 mono_runtime_exec_main + 436 65 TrackAboutIOS
0x01dc1a74 mono_runtime_run_main + 756 66 TrackAboutIOS
0x01d0c744 mono_jit_exec + 140 67 TrackAboutIOS
0x01e41110 main + 2288 68 TrackAboutIOS
0x0009826c start + 52
There's normally an exception type and message before the line:
Stacktrace:
It usually provides a good hint of the issue. Now the native stack trace also gives a clue here:
0x01e394ac monoeg_g_log + 208 6 TrackAboutIOS
0x01d11664 get_numerous_trampoline + 160 7 TrackAboutIOS
The first line tells us something was printed (or at least it tried to print) in your logs. It you check your device's log (e.g. using Xcode or mtouch --logdev) you should see the message.
The next line makes me think you're running out of trampolines (the error message will tell you which type). Here are the instructions on how to augment the number of trampolines available for your application.
Note: in case this is not trampoline-related please edit your question to add the exception type/message and the content of your device's log.

Resources