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)

Ouverte
#4,048 25 commentaires 2 réactions 1 personne assignée Voir sur GitHub

@Fatme y travaille déjà.

Depuis le 23/10/2018.

needs more info
Langage dominant
JavaScript
Étoiles
1.1k
Forks
204
Merge moyen
1 j 9 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.