Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Unable to build for iOS using Sidekick's cloud build #469

Open
draggie opened this issue Jan 29, 2020 · 1 comment
Open

Unable to build for iOS using Sidekick's cloud build #469

draggie opened this issue Jan 29, 2020 · 1 comment

Comments

@draggie
Copy link

draggie commented Jan 29, 2020

Please, provide the details below:

Did you verify whether this issue has already been reported here?

Yes, there is not much information about this case and nothing helped so far.

Tell us about the problem

Application has been working on iOS builds with Sidekick's cloud build fine so far.
Recently I had been improving Android version and now Im not able to build the iOS one anymore.
Tried to reverting to some previous stable states of code, but this seems to not work at all.
Flag 'clean build' is set, configuration is just for 'source maps'.
Android build works fine.
Currently build fails with this error each time:

The following build commands failed: CompileC /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/DerivedData/AllRestaurants/Build/Intermediates.noindex/ArchiveIntermediates/AllRestaurants/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/MBProgressHUD.build/Objects-normal/armv7/MBProgressHUD.o /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/DerivedData/AllRestaurants/Build/Intermediates.noindex/ArchiveIntermediates/AllRestaurants/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/MBProgressHUD.build/Objects-normal/arm64/MBProgressHUD.o /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures) [00:02:14.233] [ERROR] ** ARCHIVE FAILED ** The following build commands failed: CompileC /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/DerivedData/AllRestaurants/Build/Intermediates.noindex/ArchiveIntermediates/AllRestaurants/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/MBProgressHUD.build/Objects-normal/armv7/MBProgressHUD.o /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/DerivedData/AllRestaurants/Build/Intermediates.noindex/ArchiveIntermediates/AllRestaurants/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/MBProgressHUD.build/Objects-normal/arm64/MBProgressHUD.o /tmp/builds/_/fe7b99781b463b98aa838d8f597bd26f7dde88b6/6.3.3/6.3.0/AllRestaurants/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures) 'Build failed with error code 2'.

Full log from Sidekick's console: https://justpaste.it/380s4

Which platform(s) does the issue occur on?

iOS 13 (but the build without targeting device also fails)
Windows 10 (but I build on cloud)

Provide the following version numbers that the issue occurs with:

  • NativeScript Sidekick: 1.19.2-v.2019.11.18.2 (latest)
  • NativeScript CLI: 6.3.3
  • CLI extension nativescript-cloud: 1.19.3
  • CLI extension nativescript-starter-kits: 0.3.5

Tell us how to recreate the issue in as much detail as possible

  1. Just try building my code for iOS using cloud build
  2. I can share my repository with anyone who takes this

Does this issue happen every time?

Yes

Send the client logs

https://justpaste.it/21dx8

package.json
{ "nativescript": { "id": "alltm.mobile", "tns-ios": { "version": "6.3.0" }, "tns-android": { "version": "6.3.1" } }, "description": "All Restaurants mobile application", "license": "SEE LICENSE IN <your-license-filename>", "version": "1.7.1", "repository": "https://github.com/draggie/native", "scripts": { "lint": "tslint \"src/**/*.ts\" --fix", "lint:fix": "ng lint --fix", "tslint": "tslint \"app/**/*.ts\"", "docs": "node_modules/.bin/compodoc -p tsconfig.json -d ./docs/", "serve-docs": "node_modules/.bin/compodoc -s -d ./docs/" }, "dependencies": { "@angular/cli": "^8.3.23", "@angular/common": "8.2.14", "@angular/compiler": "8.2.14", "@angular/core": "8.2.14", "@angular/forms": "8.2.14", "@angular/platform-browser": "8.2.14", "@angular/platform-browser-dynamic": "8.2.14", "@angular/router": "8.2.14", "@auth0/angular-jwt": "3.0.1", "@ngx-translate/core": "11.0.1", "@ngx-translate/http-loader": "4.0.0", "@nstudio/nativescript-loading-indicator": "^2.0.4", "byline": "5.0.0", "hammerjs": "^2.0.8", "libphonenumber-js": "1.7.14", "lodash": "^4.17.15", "nativescript-angular": "^8.20.4", "nativescript-background-fetch": "^1.2.1", "nativescript-background-geolocation-lt": "1.9.1", "nativescript-background-http": "^4.2.1", "nativescript-bugsnag": "^1.0.14", "nativescript-camera": "^4.5.0", "nativescript-drop-down": "^5.0.4", "nativescript-email": "^1.5.5", "nativescript-feedback": "^1.3.12", "nativescript-geolocation": "^5.1.0", "nativescript-google-maps-sdk": "^2.9.1", "nativescript-imagepicker": "^7.1.0", "nativescript-iqkeyboardmanager": "^1.5.1", "nativescript-local-notifications": "^4.1.5", "nativescript-phone": "^1.4.1", "nativescript-photo-editor": "^1.1.0", "nativescript-photoviewer": "^2.1.5", "nativescript-ripple": "^2.2.1", "nativescript-social-share": "^1.6.0", "nativescript-theme-core": "~1.0.6", "nativescript-ui-autocomplete": "^6.0.0", "nativescript-ui-dataform": "^6.0.0", "nativescript-ui-listview": "^8.0.1", "nativescript-ui-sidedrawer": "^8.0.0", "nativescript-worker-loader": "0.9.5", "reflect-metadata": "~0.1.10", "rxjs": "^6.5.2", "timers": "0.1.1", "tns-core-modules": "^6.3.2", "ts-loader": "6.0.4", "uglifyjs-webpack-plugin": "^2.1.3", "zone.js": "^0.9.1" }, "devDependencies": { "@angular/compiler-cli": "~8.2.14", "@nativescript/schematics": "^1.0.0", "@ngtools/webpack": "^8.3.23", "@types/lodash": "4.14.108", "codelyzer": "~5.0.0-beta.2", "nativescript-dev-webpack": "^1.4.1", "node-sass": "^4.13.1", "tns-platform-declarations": "6.3.2", "tslint": "~5.18.0", "tslint-eslint-rules": "5.4.0", "typescript": "3.4.5" }, "readme": "NativeScript Application", "author": "Maciej Lodygowski" }

@damikael
Copy link

damikael commented Feb 7, 2020

Same problem. The issue seems to be related to nativescript-loading-indicator but even with last version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants