NativeScript / NativeScript/nativescript-cli

Cannot run on iOS: Command xcrun with arguments simctl install...An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1)

Open
#4,048 25 comments 2 reactions 1 assignee View on GitHub

@Fatme is already working on this.

Since Oct 23, 2018.

needs more info
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

Environment
✔ Getting NativeScript components versions information...
✔ Component nativescript has 4.2.4 version and is up to date.
✔ Component tns-core-modules has 4.2.1 version and is up to date.
✔ Component tns-android has 4.2.0 version and is up to date.
✔ Component tns-ios has 4.2.0 version and is up to date.

Dependencies:

"dependencies": {
"@angular/animations": "~6.0.6",
"@angular/common": "~6.0.6",
"@angular/compiler": "~6.0.6",
"@angular/core": "~6.0.6",
"@angular/forms": "~6.0.6",
"@angular/http": "~6.0.6",
"@angular/platform-browser": "~6.0.6",
"@angular/platform-browser-dynamic": "~6.0.6",
"@angular/router": "~6.0.6",
"nativescript-android-utils": "^1.0.2",
"nativescript-angular": "~6.0.6",
"nativescript-drop-down": "^4.0.1",
"nativescript-geolocation": "^4.3.1",
"nativescript-gradient": "^2.0.1",
"nativescript-localstorage": "^2.0.0",
"nativescript-modal-datetimepicker": "^1.1.7",
"nativescript-plugin-firebase": "^7.1.6",
"nativescript-theme-core": "~1.0.4",
"nativescript-toast": "^1.4.6",
"nativescript-ui-sidedrawer": "~4.1.0",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.1.0",
"tns-core-modules": "^4.2.1",
"zone.js": "~0.8.18"
},

Describe the bug
Just finished to configure Firebase for Android to:

  • receiving push notification (<-- ok)
  • displaying adv (<-- ok)

It works ok

(Nb. To let "nativescript-plugin-firebase" work with "nativescript-geolocation", I had to write this line in the app.gradle:
project.ext {
googlePlayServicesVersion = "15.0.1"
}

)

Now I'm trying to run on iOS (after removing the platform ios from the folder, to let the runner generate it from zero):
tns run ios

But I'm getting this error during the installation:
Unable to apply changes on device: 314852F5-762C-4287-8565-3081236DB5A0. Error is: Command xcrun with arguments simctl install 314852F5-762C-4287-8565-3081236DB5A0 /Users/alessandro/Documents/Progetti/cmi-app-nativescript/meteo-by-centrometeoitaliano/platforms/ios/build/emulator/meteobycentrometeoitaliano.app failed with exit code 1. Error output:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Underlying error (domain=MIInstallerErrorDomain, code=11):
Bundle at path /Users/alessandro/Library/Developer/CoreSimulator/Devices/314852F5-762C-4287-8565-3081236DB5A0/data/Library/Caches/com.apple.mobile.installd.staging/temp.RswIpe/extracted/meteobycentrometeoitaliano.app has missing or invalid CFBundleExecutable in its Info.plist

Is there some trouble between nativescript and geolocation also for iOS?

Thank you

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.