Skip to content

'flutter run' against iOS simulator is fragile #10228

@xster

Description

@xster

I may have pressed enter on flutter run before the simulator finished booting.

Got back

Launching lib/main.dart on iPhone SE in debug mode...
CoreSimulatorBridge: [Common] [FBSSystemService][0x58fc] Error handling open request for com.yourcompany.github: <NSError: 0x7fc6a9515ac0; domain: FBSOpenApplicationServiceErrorDomain; code: 1 (RequestDenied); reason: "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard")."> {
	    description = "The request to open "com.yourcompany.github" failed.";
	    failureReason = "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").";
	    underlyingError = <NSError: 0x7fc6a9513ae0; domain: FBSOpenApplicationErrorDomain; code: 4 (NotFound); reason: "Application "com.yourcompany.github" is unknown to FrontBoard."> {
	        description = "The operation couldn’t be completed. Application "com.yourcompany.github" is unknown to FrontBoard.";
	        failureReason = "Application "com.yourcompany.github" is unknown to FrontBoard.";
	    };
	}
CoreSimulatorBridge: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9513ae0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Recoverable error launching 'com.yourcompany.github', will retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9513ae0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Launch attempt #5 for bundle 'com.yourcompany.github', have been trying to launch for 55 seconds. Modern launch services = YES
CoreSimulatorBridge: Failed to get LSBundleProxy for 'com.yourcompany.github'
CoreSimulatorBridge: [Common] [FBSSystemService][0xdba] Sending request to open "com.yourcompany.github"
CoreSimulatorBridge: [Common] [FBSSystemService][0xdba] Error handling open request for com.yourcompany.github: <NSError: 0x7fc6a97174c0; domain: FBSOpenApplicationServiceErrorDomain; code: 1 (RequestDenied); reason: "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard")."> {
	    description = "The request to open "com.yourcompany.github" failed.";
	    failureReason = "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").";
	    underlyingError = <NSError: 0x7fc6a9717860; domain: FBSOpenApplicationErrorDomain; code: 4 (NotFound); reason: "Application "com.yourcompany.github" is unknown to FrontBoard."> {
	        description = "The operation couldn’t be completed. Application "com.yourcompany.github" is unknown to FrontBoard.";
	        failureReason = "Application "com.yourcompany.github" is unknown to FrontBoard.";
	    };
	}
CoreSimulatorBridge: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9717860 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Recoverable error launching 'com.yourcompany.github', will retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9717860 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Launch attempt #6 for bundle 'com.yourcompany.github', have been trying to launch for 66 seconds. Modern launch services = YES
CoreSimulatorBridge: Failed to get LSBundleProxy for 'com.yourcompany.github'
CoreSimulatorBridge: [Common] [FBSSystemService][0xad5c] Sending request to open "com.yourcompany.github"
CoreSimulatorBridge: [Common] [FBSSystemService][0xad5c] Error handling open request for com.yourcompany.github: <NSError: 0x7fc6a95151a0; domain: FBSOpenApplicationServiceErrorDomain; code: 1 (RequestDenied); reason: "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard")."> {
	    description = "The request to open "com.yourcompany.github" failed.";
	    failureReason = "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").";
	    underlyingError = <NSError: 0x7fc6a9513fb0; domain: FBSOpenApplicationErrorDomain; code: 4 (NotFound); reason: "Application "com.yourcompany.github" is unknown to FrontBoard."> {
	        description = "The operation couldn’t be completed. Application "com.yourcompany.github" is unknown to FrontBoard.";
	        failureReason = "Application "com.yourcompany.github" is unknown to FrontBoard.";
	    };
	}
CoreSimulatorBridge: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9513fb0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Recoverable error launching 'com.yourcompany.github', will retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9513fb0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Launch attempt #7 for bundle 'com.yourcompany.github', have been trying to launch for 77 seconds. Modern launch services = YES
CoreSimulatorBridge: Failed to get LSBundleProxy for 'com.yourcompany.github'
CoreSimulatorBridge: [Common] [FBSSystemService][0xfec6] Sending request to open "com.yourcompany.github"
CoreSimulatorBridge: [Common] [FBSSystemService][0xfec6] Error handling open request for com.yourcompany.github: <NSError: 0x7fc6a9719a40; domain: FBSOpenApplicationServiceErrorDomain; code: 1 (RequestDenied); reason: "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard")."> {
	    description = "The request to open "com.yourcompany.github" failed.";
	    failureReason = "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").";
	    underlyingError = <NSError: 0x7fc6a9719c10; domain: FBSOpenApplicationErrorDomain; code: 4 (NotFound); reason: "Application "com.yourcompany.github" is unknown to FrontBoard."> {
	        description = "The operation couldn’t be completed. Application "com.yourcompany.github" is unknown to FrontBoard.";
	        failureReason = "Application "com.yourcompany.github" is unknown to FrontBoard.";
	    };
	}
CoreSimulatorBridge: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9719c10 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Recoverable error launching 'com.yourcompany.github', will retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a9719c10 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Launch attempt #8 for bundle 'com.yourcompany.github', have been trying to launch for 88 seconds. Modern launch services = YES
CoreSimulatorBridge: Failed to get LSBundleProxy for 'com.yourcompany.github'
CoreSimulatorBridge: [Common] [FBSSystemService][0xd930] Sending request to open "com.yourcompany.github"
CoreSimulatorBridge: [Common] [FBSSystemService][0xd930] Error handling open request for com.yourcompany.github: <NSError: 0x7fc6a9719df0; domain: FBSOpenApplicationServiceErrorDomain; code: 1 (RequestDenied); reason: "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard")."> {
	    description = "The request to open "com.yourcompany.github" failed.";
	    failureReason = "The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").";
	    underlyingError = <NSError: 0x7fc6a971a200; domain: FBSOpenApplicationErrorDomain; code: 4 (NotFound); reason: "Application "com.yourcompany.github" is unknown to FrontBoard."> {
	        description = "The operation couldn’t be completed. Application "com.yourcompany.github" is unknown to FrontBoard.";
	        failureReason = "Application "com.yourcompany.github" is unknown to FrontBoard.";
	    };
	}
CoreSimulatorBridge: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a971a200 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Recoverable error launching 'com.yourcompany.github', will retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.yourcompany.github" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x7fc6a971a200 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application "com.yourcompany.github" is unknown to FrontBoard." UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application "com.yourcompany.github" is unknown to FrontBoard.}}, NSLocalizedDescription=The request to open "com.yourcompany.github" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.yourcompany.github" is unknown to FrontBoard").}
CoreSimulatorBridge: Launch attempt #9 for bundle 'com.yourcompany.github', have been trying to launch for 99 seconds. Modern launch services = YES
CoreSimulatorBridge: Failed to get LSBundleProxy for 'com.yourcompany.github'
CoreSimulatorBridge: [Common] [FBSSystemService][0xa46d] Sending request to open "com.yourcompany.github"

and it wasn't possible to get it to work with subsequent flutter run. Even after shutting down the simulator and reopening.

May be the same issue @sethladd faced in the codelab

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowcustomer: posse (eap)platform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions