Closed
Description
Description
When using the new 3.0.0-rc.2 branch with iOS simulator, the livesynced app crashed every other time (literally every other time).
I make one change, the change breaks the app. I make another app, the app livesyncs successfully, after a third change the app crashed, etc.
Which platform(s) does your issue occur on?
iOS only
Please provide the following version numbers that your issue occurs with:
- CLI: 3.0.0-rc.2
- Cross-platform modules: rc
- Runtime: "3.0.0-rc.1-2017-3-28-2"
- iOS 10.3
Please tell us how to recreate the issue in as much detail as possible.
I created a new app:
tns create rctest
Ran the app
tns run ios
Made changes to the javascript code.
Received the following error on the console (the app itself crashed)
Transferring project files...
Successfully transferred app.js.
Refreshing application...
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=3):
The request to open "org.nativescript.rctest" failed.
The process did launch, but has since exited or crashed.
Unable to sync files. Error is: Multiple errors were thrown:
Error Command failed: xcrun simctl launch 316B5D74-F5CF-4706-ABD7-1EA6F287AAF0 org.nativescript.rctest
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=3):
The request to open "org.nativescript.rctest" failed.
The process did launch, but has since exited or crashed.
while executing xcrun simctl launch 316B5D74-F5CF-4706-ABD7-1EA6F287AAF0 org.nativescript.rctest.
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Pasteboard change listener callback port <NSMachPort: 0x7fdf31e14470> registered
Apr 22 13:41:32 Alexander-Mac SpringBoard[4621]: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus
Apr 22 13:41:32 Alexander-Mac com.apple.CoreSimulator.SimDevice.316B5D74-F5CF-4706-ABD7-1EA6F287AAF0.launchd_sim[4604] (UIKitApplication:org.nativescript.rctest[0x9d6e][4626][5736]): Service exited due to Terminated: 15
Apr 22 13:41:32 Alexander-Mac backboardd[4622]: [Common] Unable to get short BSD proc info for 5736: No such process
Apr 22 13:41:32 Alexander-Mac backboardd[4622]: [Common] Unable to get proc info for 5736: Undefined error: 0
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Pasteboard change listener callback port <NSMachPort: 0x7fdf31d04e10> registered
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Requesting launch of org.nativescript.rctest with options: {
environment = {
};
}
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Beginning launch sequence for bundle 'org.nativescript.rctest'
retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout <value>)
bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout <value>)
bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway <value>)
Note: Use 'xcrun simctl spawn booted defaults write <domain> <key> <value>' to modify defaults in the booted Simulator device.
Simulator booted at: 2017-04-22 16:31:12 +0000
Current time: 2017-04-22 17:41:32 +0000
Within boot leeway: NO
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Launch attempt #0 for bundle 'org.nativescript.rctest', have been trying to launch for 0 seconds. Modern launch services = YES
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Got LSBundleProxy for 'org.nativescript.rctest', sequenceNumber 260, cacheGUID 444AF7D9-F80F-4F19-A597-4EF1EF9128BC
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: [Common] [FBSSystemService][0x1094] Sending request to open "org.nativescript.rctest"
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: [Common] [FBSSystemService][0x1094] Error handling open request for org.nativescript.rctest: <NSError: 0x7fdf31e18340; domain: FBSOpenApplicationServiceErrorDomain; code: 3 (ProcessExited); reason: "The process did launch, but has since exited or crashed."> {
description = "The request to open "org.nativescript.rctest" failed.";
failureReason = "The process did launch, but has since exited or crashed.";
}
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "org.nativescript.rctest" failed." UserInfo={NSLocalizedFailureReason=The process did launch, but has since exited or crashed., BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "org.nativescript.rctest" failed.}
Apr 22 13:41:32 Alexander-Mac CoreSimulatorBridge[4627]: Non-FBS error launching 'org.nativescript.rctest', will NOT retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "org.nativescript.rctest" failed." UserInfo={NSLocalizedFailureReason=The process did launch, but has since exited or crashed., BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "org.nativescript.rctest" failed.}
Apr 22 13:41:32 Alexander-Mac assertiond[4626]: Ignoring assertion request named "Deliver Message" from <BSProcessHandle: 0x7f8360605da0; SpringBoard:4621; valid: YES> because process { pid 5736; bundleID (null) } is unknown.
Apr 22 13:41:32 Alexander-Mac assertiond[4626]: Ignoring assertion request named "FBSceneSnapshotAction:org.nativescript.rctest" from <BSProcessHandle: 0x7f8360605da0; SpringBoard:4621; valid: YES> because process { pid 5736; bundleID (null) } is unknown.