Building for IOS failed
Closed this issue · 5 comments
anaszgh commented
After adding nativescript-localize
ios build resulted in
{AppName} does not contain a valid Info.plist, so it cannot be installed on Anas’s iPhone
After checking the info.plist file in xcode, it appears that
executable file
and bundle display name
values are not set in the info.plist
Kindly note that without nativescript-localize
the build & run on device works fine.
anaszgh commented
tns cli version: 4.24
and here is a copy from the package.json
{
"nativescript": {
"id": "org.nativescript.VAT",
"tns-android": {
"version": "4.2.0"
},
"tns-ios": {
"version": "4.2.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"dependencies": {
"@angular/animations": "~6.1.0",
"@angular/common": "~6.1.0",
"@angular/compiler": "~6.1.0",
"@angular/core": "~6.1.0",
"@angular/forms": "~6.1.0",
"@angular/http": "~6.1.0",
"@angular/platform-browser": "~6.1.0",
"@angular/platform-browser-dynamic": "~6.1.0",
"@angular/router": "~6.1.0",
"nativescript-angular": "~6.1.0",
"nativescript-camera": "^4.0.2",
"nativescript-cardview": "^3.1.1",
"nativescript-floatingactionbutton": "^4.1.4",
"nativescript-loading-indicator": "^2.4.0",
"nativescript-localize": "^3.0.6",
"nativescript-modal-datetimepicker": "^1.1.4",
"nativescript-plugin-firebase": "^7.1.4",
"nativescript-printer": "^1.2.0",
"nativescript-purchase": "^2.0.5",
"nativescript-secure-storage": "^2.3.0",
"nativescript-snackbar": "^3.2.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-chart": "^3.9.0",
"reflect-metadata": "~0.1.8",
"rxjs": "^6.0.0",
"tns-core-modules": "^4.3.0-2018-10-08-112346-02",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular/compiler-cli": "~6.1.0",
"@ngtools/webpack": "~6.2.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "^0.16.2",
"typescript": "~2.7.2"
},
"readme": "NativeScript Application"
}
One more note, the build & run works fine on android
lfabreges commented
Have you defined an "app.name" in your localization file ?
anaszgh commented
@lfabreges Yes i did
lfabreges commented
I'm not able to reproduce the error. Can you create a minimal repo so that I can investigate ?
lfabreges commented
I'm closing this issue for now, to reopen it I'll need a repo to reproduce the issue