Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brand new app with mlkit-core fails to build for iOS #64

Open
andrewm-mitchells opened this issue Jul 22, 2024 · 2 comments
Open

Brand new app with mlkit-core fails to build for iOS #64

andrewm-mitchells opened this issue Jul 22, 2024 · 2 comments

Comments

@andrewm-mitchells
Copy link

Steps to reproduce:

  1. Generate new project with drawer template NG ns create ml-kit-test --template @nativescript/template-drawer-navigation-ng
  2. Run npm i @nativescript/mlkit-core
  3. Run ns build iOS

At this point you'd get the following error:
Command xcodebuild failed with exit code 65

ns info:

Component nativescript has 8.8.0 version and is up to date.
✔ Component @nativescript/core has 8.8.1 version and is up to date.
✔ Component @nativescript/ios has 8.8.1 version and is up to date.
✖ Component @nativescript/android is not installed.

package.json:

{
  "name": "ml-kit-test",
  "main": "src/main.ts",
  "version": "1.0.0",
  "private": true,
  "dependencies": {
    "@angular/animations": "~18.0.0",
    "@angular/common": "~18.0.0",
    "@angular/compiler": "~18.0.0",
    "@angular/core": "~18.0.0",
    "@angular/forms": "~18.0.0",
    "@angular/platform-browser": "~18.0.0",
    "@angular/platform-browser-dynamic": "~18.0.0",
    "@angular/router": "~18.0.0",
    "@nativescript/angular": "^18.0.0",
    "@nativescript/core": "~8.8.0",
    "@nativescript/mlkit-core": "^2.1.0",
    "@nativescript/theme": "~3.0.2",
    "nativescript-ui-sidedrawer": "~15.2.0",
    "rxjs": "~7.8.0",
    "zone.js": "~0.14.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~18.0.0",
    "@angular/compiler-cli": "~18.0.0",
    "@nativescript/ios": "8.8.1",
    "@nativescript/types": "~8.8.0",
    "@nativescript/webpack": "~5.0.0",
    "@ngtools/webpack": "~18.0.0",
    "typescript": "~5.4.0"
  }
}
@andrewm-mitchells
Copy link
Author

This bug makes it impossible to use a barcode scanner on nativescript currently as other solutions like https://market.nativescript.org/plugins/@nstudio/nativescript-barcodescanner/ are also out of date and won't function properly

@ShimonKh
Copy link

ShimonKh commented Nov 3, 2024

same issue. Any updates?

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

No branches or pull requests

2 participants