Skip to content

Livesync not working for iOS simulator #5652

Open
@overwise

Description

@overwise

Issue Description

When I run ns debug ios on simulator, the app is installed but not launched. When I launch it, it works. After saving changes in code, those are compiled and installed, but app is not restarted. If I manually restart the app in simulator, the changes are there. Android works fine in emulator.
There is one error in console, when I run ns debug ios or ns run ios, but it doesn't re-appear after that, on livesync:

Installing on device 50C0BB46-3D96-4FD7-9FC9-83613FA3D3E8...
Successfully installed on device with identifier '50C0BB46-3D96-4FD7-9FC9-83613FA3D3E8'.
Successfully transferred all files on device 50C0BB46-3D96-4FD7-9FC9-83613FA3D3E8.
Restarting application on device 50C0BB46-3D96-4FD7-9FC9-83613FA3D3E8...
Error while trying to start application org.nativescript.example on device 50C0BB46-3D96-4FD7-9FC9-83613FA3D3E8. Error is: Command xcrun with arguments simctl terminate 50C0BB46-3D96-4FD7-9FC9-83613FA3D3E8 org.nativescript.example failed with exit code 3. Error output:
 An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Application termination failed.
FBSSystemService reported failure without an error, possibly because the app is not currently running.

Stack:

OS: darwin x64
MacOS Monterey 12.2.1
xCode v13.3 (13E113)
Node v16.14.1
npm v8.5.0
NativeScript CLI v8.2.2
Angular CLI v8.3.21

package.json

{
  "name": "some-app",
  "main": "./src/main.ts",
  "version": "1.0.0",
  "private": true,
  "dependencies": {
    "@angular/animations": "~13.2.0",
    "@angular/common": "~13.2.0",
    "@angular/compiler": "~13.2.0",
    "@angular/core": "~13.2.0",
    "@angular/forms": "~13.2.0",
    "@angular/platform-browser": "~13.2.0",
    "@angular/platform-browser-dynamic": "~13.2.0",
    "@angular/router": "~13.2.0",
    "@nativescript/angular": "^13.0.0",
    "@nativescript/core": "8.2.1-next-03-19-2022-2010078648",
    "@nativescript/theme": "~3.0.2",
    "moment": "^2.29.1",
    "nativescript-phone": "^3.0.3",
    "nativescript-ui-sidedrawer": "^10.0.2",
    "rxjs": "~7.5.0",
    "zone.js": "~0.11.5"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~13.2.0",
    "@angular/compiler-cli": "~13.2.0",
    "@nativescript/android": "8.2.2",
    "@nativescript/ios": "8.2.2",
    "@nativescript/types": "~8.2.0",
    "@nativescript/webpack": "~5.0.6",
    "@ngtools/webpack": "~13.2.0",
    "nativescript": "^8.2.2",
    "typescript": "~4.5.5"
  }
}

Reproduction

No response

Relevant log output (if applicable)

No response

Environment

No response

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-pending-triageReported bug, pending triage to confirm.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions