Mendix 9, Hybrid SAML/SSO error on iOS (com.apple.runningboard.assertions.webkit)
1
Hi all, After doing a Mendix upgrade from Mendix 8 to Mendix 9.12.8 we are currently getting an error when starting our app, and using SSO to login (in xCode Simulator, at least with iOS version 15/16). I’m not sure if the same problem exist if we would build an Android application, since our client is only using iPads to make use of the hybrid application. I used the following instructies to correctly implement SSO on the hybrid app: https://docs.mendix.com/howto8/mobile/implement-sso-on-a-hybrid-app-with-mendix-and-saml/ Details: - Installed SAML module: 3.3.8 - PIN Feature for Hybrid Apps is turned off - No anonymous users allowed - xCode version 14.2 - Node version 12.22.12 - NPM version 6.14.16 - iOS version 15 and 16 (in xCode simulator) When I start the iOS application (using the xCode simulator) the SSO is automatically shown, then I’m able to fill in my credentials and click on login. After that I see a generic Mendix error, then I see that the SSO window is closed and that the Mendix app is shown again with that same generic Mendix error. There is no error visible in the logging, so it seems to be a client side error. If I than close the app and restart the app, then i’m directly logged in. So I did receive the SSO token, but the first redirect after SSO login does not seem to work correctly. When I do the same on a computer, on a browser, the SSO is working perfectly fine. In the xCode console I see the following errors after clicking on login (SSO): 2023-02-28 18:12:25.499791+0100 ICTO6[90176:2871980] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}> 2023-02-28 18:12:25.499870+0100 ICTO6[90176:2871980] [ProcessSuspension] 0x14901e1c0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=90219, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit} 2023-02-28 18:12:25.500665+0100 ICTO6[90176:2871980] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}> 2023-02-28 18:12:25.500720+0100 ICTO6[90176:2871980] [ProcessSuspension] 0x14901e280 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess Suspended Assertion' for process with PID=90219, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist} 2023-02-28 18:12:55.480313+0100 ICTO6[90176:2871317] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service 2023-02-28 18:12:55.483362+0100 ICTO6[90176:2871317] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service 2023-02-28 18:12:55.483950+0100 ICTO6[90176:2871317] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service Is there something I’m missing? Any help is appreciated! Kind regards, Tom