Skip to content
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

Fix NOOP code in DTXIPCConnection when assertions are turned off. #219

Conversation

sewerynplazuk
Copy link
Contributor

When SBTUITestTunnel configures an IPC connection (DTXIPCConnection.m) it performs its initialisation within a NSAssert:

NSAssert([self _commonInit] == YES, @"The service “%@” already has two endpoints connected.", _serviceName);

In Release configurations NS assertions are disabled, and when they're disabled NSAssert becomes a no-op,
which means the init code is missing from Release builds and UI tests always fail to launch if IPC is enabled.

@tcamin tcamin merged commit bca57e5 into Subito-it:master Nov 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants