该应用程序在XCode的模拟器上运行,但一旦在实际设备上执行,它就会显示黑屏或白屏,并在main.m文件中的[运行时executeModule:@“ ./”]处停止。我必须通过单击Xcode按钮以释放手机来手动停止执行。 原生脚本:5.4.0 iOS:12.3.1 Mac OS:Mojave
package.JSON
{
"name": "food-med_v01",
"version": "1.0.0",
"description": "A native application built with NativeScript-Vue",
"author": "XXXXXX",
"license": "MIT",
"nativescript": {
"id": "org.nativescript.food_med_01",
"tns-android": {
"version": "5.0.0"
},
"tns-ios": {
"version": "5.4.1"
}
},
"dependencies": {
"nativescript-background-http": "^3.4.0",
"nativescript-camera": "^4.5.0",
"nativescript-gradient": "^2.0.1",
"nativescript-http-formdata": "^1.6.0",
"nativescript-imagepicker": "^6.2.0",
"nativescript-socketio": "^3.2.1",
"nativescript-theme-core": "^1.0.4",
"nativescript-toasty": "^1.3.0",
"nativescript-ui-listview": "^6.3.2",
"nativescript-ui-sidedrawer": "^4.3.0",
"nativescript-vue": "^2.0.0",
"tns-core-modules": "^5.0.2",
"tns-platform-declarations": "^5.4.2",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.2",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"clean-webpack-plugin": "^0.1.19",
"cli": "^1.0.1",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"extract-text-webpack-plugin": "~3.0.0",
"lazy": "1.0.11",
"nativescript-dev-webpack": "^0.24.1",
"nativescript-vue-template-compiler": "^2.0.0",
"nativescript-worker-loader": "~0.9.0",
"node-sass": "^4.9.2",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.1.0",
"sass-loader": "^7.1.0",
"terser-webpack-plugin": "^1.1.0",
"vue-loader": "^15.2.6",
"webpack": "^4.33.0",
"webpack-bundle-analyzer": "~2.13.1",
"webpack-cli": "^3.1.0",
"webpack-sources": "~1.0.1"
}
}