-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build and run Session 2.6.0 #17
Comments
@Dodo0303 so it looks like the debug build is failing because it can't find the
At some point I want to tweak the build process to try and automatically extract the value so we don't need to manually ensure they match but I haven't been able to find the time to get to it As for the release build - it looks like something is going wrong when building the If you look the actual build logs for the failed build, under the |
@mpretty-cyro thanks for helping! The app group variable indeed didn't match. For the release build, it wouldn't print out the location of the logs for some reason. All I can share is this: |
Hey @Dodo0303, I made a couple of changes in oxen-io#976 (write the AppGroupId to the If these changes don't help then it'll probably have to wait a bit until I have the chance to spend some time trying to improve the build process (I'd like to try to move things into Swift Package Manager but just need to find the time) |
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):
The text was updated successfully, but these errors were encountered: