Description
I am currently on an Intel MacOS using Xcode 15.4 and the latest iOS SDK. For earlier releases I had always been able to build and test the app with no problems.
Now, I am getting two different problems, depending on where I try to build it. If I build on any simulator, I get this:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This method shouldn't be run on the logging thread/queue that make flush fast enough' *** First throw call stack: ( 0 CoreFoundation 0x00007ff8004cd531 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff8000837e8 objc_exception_throw + 48 2 Foundation 0x00007ff800dba624 _userInfoForFileAndLine + 0 3 CocoaLumberjack 0x000000011201f22e -[DDLog flushLog] + 174 4 CocoaLumberjack 0x000000011201f16f +[DDLog flushLog] + 79 5 SignalCoreKit 0x0000000112b52586 +[OWSLogger flush] + 54 6 SignalCoreKit 0x0000000112b5c380 $s13SignalCoreKit6LoggerC5flushyyFZ + 64 7 SignalCoreKit 0x0000000112b60532 $s13SignalCoreKit12owsFailDebug_4file8function4lineySS_S2SSitF + 274 8 SignalCoreKit 0x0000000112b60a4a $s13SignalCoreKit14owsAssertDebug__4file8function4lineySb_SSyXKS2SSitF + 490 9 SessionUtilitiesKit 0x000000011758e5d3 $s19SessionUtilitiesKit20OWSCurrentAppContextC26appSharedDataDirectoryPathSSvgZ + 963 10 SessionUtilitiesKit 0x000000011758e1e4 $s19SessionUtilitiesKit20OWSCurrentAppContextC26appSharedDataDirectoryPathSSvgZTo + 36 11 SessionUtilitiesKit 0x0000000117563a96 +[OWSFileSystem appSharedDataDirectoryPath] + 54 12 Session 0x000000010fd8ae2a $s7Session14AppEnvironmentC13setupLogFiles33_CFC2D9B747C972AA8C90D2DE57EBA639LLyyFyyYbcfU_yyYbcfU_ + 282 13 Session 0x000000010fcb2198 $sIegh_IeyBh_TR + 40 14 libdispatch.dylib 0x000000011253729d _dispatch_call_block_and_release + 12 15 libdispatch.dylib 0x000000011253858f _dispatch_client_callout + 8 16 libdispatch.dylib 0x00000001125404ba _dispatch_lane_serial_drain + 1127 17 libdispatch.dylib 0x0000000112541255 _dispatch_lane_invoke + 441 18 libdispatch.dylib 0x000000011254e356 _dispatch_root_queue_drain_deferred_wlh + 318 19 libdispatch.dylib 0x000000011254d751 _dispatch_workloop_worker_thread + 590 20 libsystem_pthread.dylib 0x0000000112097b84 _pthread_wqthread + 327 21 libsystem_pthread.dylib 0x0000000112096acf start_wqthread + 15 ) libc++abi: terminating due to uncaught exception of type NSException
If I build instead on my physical iPhone, I get these errors.

Here is what I changed in order to build the app (NOTE: I don't have an apple developer program subscription, but again, this has never caused me any problems in the past):
- changed all bundle and app group IDs
- removed the push notification capability from the Session target
- removed the target dependency on the SessionNotificationServiceExtension from the Session target