NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 196 forks source link

Error iOS Cloud Build #5131

Closed profjefferson closed 4 years ago

profjefferson commented 4 years ago

Im using Nativescript Sidekick to build IOS, but i got this error, what coudl be?

[19-11-14 10:06:25.737] (CLI) cp: no such file or directory: /private/tmp/builds/_/c38a6f781ed60e4b051469293a0cf18b3b6aaffb/6.0.3/6.0.2/thehelp/AppResources/iOS/* [19-11-14 10:06:42.146] Build step completed. [19-11-14 10:06:42.155] Build failed. Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:01:38.957] [WARN] cp: no such file or directory: /private/tmp/builds//c38a6f781ed60e4b051469293a0cf18b3b6aaffb/6.0.3/6.0.2/thehelp/AppResources/iOS/* [00:01:43.226] [ERROR] cp: no such file or directory: /private/tmp/builds//c38a6f781ed60e4b051469293a0cf18b3b6aaffb/6.0.3/6.0.2/thehelp/App_Resources/iOS/* 'Build failed with error code 2'.


My package.json:

{ "name": "[EDITED]", "nativescript": { "id": "[EDITED]", "tns-android": { "version": "6.0.2" }, "tns-ios": { "version": "6.0.2" } }, "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", "android": "tns run android", "ios": "tns run ios", "mobile": "tns run", "preview": "tns preview" }, "private": true, "dependencies": { "@angular/animations": "8.2.14", "@angular/cli": "^8.3.19", "@angular/common": "8.2.14", "@angular/compiler": "8.2.14", "@angular/core": "8.2.14", "@angular/forms": "8.2.14", "@angular/http": "8.0.0-beta.10", "@angular/platform-browser": "8.2.14", "@angular/platform-browser-dynamic": "8.2.14", "@angular/router": "8.2.14", "@ngxs/store": "3.5.1", "core-js": "2.5.4", "nativescript-angular": "8.0.2", "nativescript-fancyalert": "3.0.9", "nativescript-feedback": "^1.3.12", "nativescript-theme-core": "1.0.4", "nativescript-ui-autocomplete": "6.0.0", "nativescript-ui-calendar": "6.0.0", "nativescript-ui-chart": "7.0.0", "nativescript-ui-dataform": "6.0.0", "nativescript-ui-gauge": "6.0.0", "nativescript-ui-listview": "8.0.0", "nativescript-ui-sidedrawer": "8.0.0", "reflect-metadata": "0.1.12", "rxjs": "6.5.0", "tns-core-modules": "~6.0.0", "zone.js": "0.9.1" }, "devDependencies": { "@angular-devkit/build-angular": "0.800.3", "@angular/compiler-cli": "^8.2.14", "@nativescript/schematics": "0.7.0", "@nativescript/tslint-rules": "0.0.2", "@ngtools/webpack": "^8.3.19", "@types/jasmine": "3.3.8", "@types/jasminewd2": "2.0.3", "@types/node": "8.9.4", "codelyzer": "5.0.0", "jasmine-core": "3.4.0", "jasmine-spec-reporter": "4.2.1", "karma": "4.1.0", "karma-chrome-launcher": "2.2.0", "karma-coverage-istanbul-reporter": "2.0.1", "karma-jasmine": "2.0.1", "karma-jasmine-html-reporter": "1.4.0", "nativescript-dev-webpack": "^1.3.0", "protractor": "5.4.0", "ts-node": "7.0.0", "tslint": "5.15.0", "typescript": "^3.4.5" }, "author": "[EDITED]", "description": "[EDITED]" }

KristianDD commented 4 years ago

Hi @profjefferson , Do you get this error every time you make a cloud build? In case all your builds fail with this error you can try to clean the Cloud workspace. You can do this by:

  1. Using NativeScript CLI - execute in the project directory tns cloud clean workspace
  2. Using NativeScript Sidekick - Open project -> File -> Clean Cloud Workspace

If the issue persist, please attach to the issue the full log of NativeScript Sidekick.

rosen-vladimirov commented 4 years ago

Closing due to inactivity.