-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
Description
Livesync for iOS kills the app with every second JS/TS file update with Xcode 8.3.2.
This issue happens for both {N} Core and {N} Angular projects.
The app updates fine when I make changes to XML/HTML or CSS.
This started happening after I've updated Xcode to 8.3.2
I've tried to restart my machine and reload the simulator with the latest version, but that didn't change anything.
Android livesync is not affected by this.
Environment
macOS Sierra
NativeScript 3.0
Xcode 8.3.2
To recreate the issue
Create a new project.
Run tns run ios
Open a JS or a TS file (like items.component.ts
) and make a change to it and save. This will make the app to crash.
If you save again, the app will open up again.
Make a change again and the app will crash again.
... and on and on ...
Console log after crash
5:23:11 PM - File change detected. Starting incremental compilation...
5:23:11 PM - Compilation complete. Watching for file changes.
Executing before-prepare hook from /Users/witalec/GitHub/_/ns300-test/hooks/before-prepare/nativescript-dev-typescript.js
Preparing project...
Project successfully prepared (ios)
Transferring project files...
Successfully transferred items.component.js.
Refreshing application...
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=3):
The request to open "org.nativescript.ns300test" 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 10D1CA2D-5108-40D2-89DC-DAC0A5529598 org.nativescript.ns300test
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=3):
The request to open "org.nativescript.ns300test" failed.
The process did launch, but has since exited or crashed.
while executing xcrun simctl launch 10D1CA2D-5108-40D2-89DC-DAC0A5529598 org.nativescript.ns300test.
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Pasteboard change listener callback port <NSMachPort: 0x7fef7131bb20> registered
May 3 17:23:12 MCBRAWITALEC SpringBoard[733]: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus
May 3 17:23:12 MCBRAWITALEC com.apple.CoreSimulator.SimDevice.10D1CA2D-5108-40D2-89DC-DAC0A5529598.launchd_sim[716] (UIKitApplication:org.nativescript.ns300test[0xc07c][738][1643]): Service exited due to Terminated: 15
May 3 17:23:12 MCBRAWITALEC backboardd[734]: [Common] Unable to get short BSD proc info for 1643: No such process
May 3 17:23:12 MCBRAWITALEC backboardd[734]: [Common] Unable to get proc info for 1643: Undefined error: 0
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Pasteboard change listener callback port <NSMachPort: 0x7fef713290f0> registered
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Requesting launch of org.nativescript.ns300test with options: {
environment = {
};
}
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Beginning launch sequence for bundle 'org.nativescript.ns300test'
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-05-03 15:23:51 +0000
Current time: 2017-05-03 16:23:12 +0000
Within boot leeway: NO
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Launch attempt #0 for bundle 'org.nativescript.ns300test', have been trying to launch for 0 seconds. Modern launch services = YES
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Got LSBundleProxy for 'org.nativescript.ns300test', sequenceNumber 252, cacheGUID 40C3C8A7-FD14-4AAC-9624-B2B95CE1C67F
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: [Common] [FBSSystemService][0x538b] Sending request to open "org.nativescript.ns300test"
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: [Common] [FBSSystemService][0x538b] Error handling open request for org.nativescript.ns300test: <NSError: 0x7fef6ef19350; domain: FBSOpenApplicationServiceErrorDomain; code: 3 (ProcessExited); reason: "The process did launch, but has since exited or crashed."> {
description = "The request to open "org.nativescript.ns300test" failed.";
failureReason = "The process did launch, but has since exited or crashed.";
}
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Error Launching: Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "org.nativescript.ns300test" failed." UserInfo={NSLocalizedFailureReason=The process did launch, but has since exited or crashed., BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "org.nativescript.ns300test" failed.}
May 3 17:23:12 MCBRAWITALEC CoreSimulatorBridge[739]: Non-FBS error launching 'org.nativescript.ns300test', will NOT retry. Error was: Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "org.nativescript.ns300test" failed." UserInfo={NSLocalizedFailureReason=The process did launch, but has since exited or crashed., BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "org.nativescript.ns300test" failed.}
May 3 17:23:12 MCBRAWITALEC assertiond[738]: Ignoring assertion request named "Deliver Message" from <BSProcessHandle: 0x7fac58207050; SpringBoard:733; valid: YES> because process { pid 1643; bundleID (null) } is unknown.
May 3 17:23:12 MCBRAWITALEC assertiond[738]: Ignoring assertion request named "FBSceneSnapshotAction:org.nativescript.ns300test" from <BSProcessHandle: 0x7fac58207050; SpringBoard:733; valid: YES> because process { pid 1643; bundleID (null) } is unknown.
tjvantoll
Metadata
Metadata
Assignees
Labels
No labels