Hello,
I am making my first iOS application. Everything works fine with iOS simulator but when I try to test on real devices (using browserstack.com as I don't have one personally), the app closes at startup, after a few seconds. The log shows this:
May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: XPC connection invalidated: [application<net.winstars>:632] May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: XPC connection invalidated: [application<net.winstars>: <RBSHereditaryGrant| endowmentNamespace:com.apple.boardservices.endpoint-injection UIScene:com.apple.frontboard.systemappservices::com.apple.springboard>, May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: XPC connection invalidated: [application<net.winstars>: <RBSHereditaryGrant| endowmentNamespace:com.apple.frontboard.visibility UIScene:com.apple.frontboard.systemappservices::com.apple.springboard> May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: XPC connection invalidated: [application<net.winstars>: ]> May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: Assertion 31-58-1055 (target:[application<net.winstars>:632](UIScene:com.apple.frontboard.systemappservices::sceneID%3Anet.winstars-default)) will be created as active May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: Calculated state for application<net.winstars>: none (role: UserInteractiveNonFocal) May 31 15:12:45 runningboardd(RunningBoard)[31] <Error>: RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{ May 31 15:12:45 runningboardd(RunningBoard)[31] <Error>: }> May 31 15:12:45 runningboardd(RunningBoard)[31] <Notice>: Finished acquiring assertion 31-58-1055 (target:[application<net.winstars>:632](UIScene:com.apple.frontboard.systemappservices::sceneID%3Anet.winstars-default)) May 31 15:12:45 mDNSResponder[134] <Notice>: [R104] DNSServiceCreateConnection STOP PID[632](WinStars) May 31 15:12:45 appstored[169] <Notice>: StoreKitServiceListener: Connection to WinStars invalidated May 31 15:12:45 SpringBoard(FrontBoard)[58] <Notice>: Workspace connection invalidated for <FBApplicationProcess: 0x134843770; application<net.winstars>:632(v625)> May 31 15:12:45 SpringBoard(FrontBoard)[58] <Notice>: [application<net.winstars>:632] Now flagged as pending exit for reason: workspace client connection invalidated May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: SBMainWorkspaceApplicationSceneLayoutElementViewController-sceneID:net.winstars-default did end transition to visible YES May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: SBMainWorkspaceApplicationSceneLayoutElementViewController-sceneID:net.winstars-default shouldDisplayLayoutElementBecomeActive=YES because isEffectivelyForeground=YES isSuspendedUnderLock=NO sceneIfExists=<FBScene: 0x28338a260; sceneID: sceneID:net.winstars-default; valid: YES> May 31 15:12:45 backboardd(BackBoardHIDEventFoundation)[61] <Notice>: destinations for Accelerometer event: () May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: sceneHandle=<SBDeviceApplicationSceneHandle: 0x13497e7b0; sceneID: sceneID:net.winstars-default; scenePointer: 0x28338a260; scene: <FBScene: 0x28338a260; sceneID: sceneID:net.winstars-default; valid: YES> { May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: specification = UIApplicationSceneSpecification; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: settings = <UIApplicationSceneSettings: 0x282abec00> { May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: displayConfiguration = "<FBSDisplayConfiguration: 0x283dc4000; Main; mode: "820x1180@2x 60Hz p3 SDR">"; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: frame = {{0, 0}, {820, 1180}}; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: level = 1.0; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: interfaceOrientation = portrait (1); May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: foreground = YES; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: interruptionPolicy = default; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: isOccluded = BSSettingFlagNotSet; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: otherSettings = <BSSettings: 0x2805c78a0> { May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: statusBarStyleOverridesToSuppress = (none); May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: deactivationReasons = ; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: deviceOrientationEventsEnabled = NO; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: canShowAlerts = YES; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: userInterfaceStyle = light; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: peripheryInsets = UIEdgeInsets: {0, 0, 0, 0}; May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: deviceOrientation = portrait (1); May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: saf May 31 15:12:45 SpringBoard(BaseBoard)[58] <Error>: Unable to get short BSD proc info for 632: No such process May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: End pending app suggestions update because Transitioning May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: Front display did change: <SBApplication: 0x283f89040; net.winstars> May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: activity is unchanged, still disabled May 31 15:12:45 SpringBoard(BaseBoard)[58] <Error>: Unable to get short BSD proc info for 632: No such process May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: SBIdleTimerGlobalCoordinator - _setIdleTimerWithDescriptor:<SBIdleTimerDescriptor: 0x280800240; timerMode: Disabled; quickUnwarnInterval: 0.0s> reason:"SBAppDidEnterBackground"] May 31 15:12:45 SpringBoard(SpringBoard)[58] <Notice>: SBMainWorkspaceApplicationSceneLayoutElementViewController-sceneID:net.winstars-default will begin transition to visible NO May 31 15:12:45 mediaserverd(MediaExperience)[33] <Notice>: -CMSessionMgr- CMSessionMgrHandleApplicationStateChange: Client net.winstars with pid '632' is now Terminated.
The problem is that I don't understand it.
The explanation seems to be here: [application<net.winstars>:632] Now flagged as pending exit for reason: workspace client connection invalidated
What could this possibly mean?
With my thanks,
Franck
ps: I develop the program using QT 5.15.2