mlkit
mlkit copied to clipboard
Brand new app with `mlkit-core` fails to build for iOS
Steps to reproduce:
- Generate new project with drawer template NG
ns create ml-kit-test --template @nativescript/template-drawer-navigation-ng - Run
npm i @nativescript/mlkit-core - 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"
}
}