[英]NativeScript app not running in real device. IOS14 XCODE12
Since i updated xcode to version 12 because of IOS 14 my NativeScript apps don't run on real device but works on the simulator.由于 IOS 14,我将 xcode 更新到版本 12,因此我的 NativeScript 应用程序不能在真实设备上运行,但可以在模拟器上运行。
i tried this but it didn't work.我试过这个,但没有用。 https://github.com/NativeScript/NativeScript/issues/8665 https://github.com/NativeScript/NativeScript/issues/8665
I got this error: XCODE error我收到此错误: XCODE 错误
This is the package.json:这是 package.json:
{ "nativescript": { "id": "XXXXXXXXXXXXXXX", "tns-android": { "version": "6.4.1" }, "tns-ios": { "version": "6.4.2" } }, "description": "App description", "license": "XXXX", "repository": "XXXXXX", "dependencies": { "nativescript-camera": "^4.5.0", "nativescript-datetimepicker": "^1.2.2", "nativescript-feedback": "^1.3.11", "nativescript-geolocation": "^5.1.0", "nativescript-imagepicker": "^7.1.0", "nativescript-phone": "^2.0.0", "nativescript-theme-core": "~1.0.6", "tns-core-modules": "~6.4.0" }, "devDependencies": { "nativescript-dev-webpack": "~1.5.0" }, "gitHead": "42f2a6a9c94eaf9c68d2a41e0daaa1a2544bc28f", "readme": "NativeScript Application" } { "nativescript": { "id": "XXXXXXXXXXXXXXX", "tns-android": { "version": "6.4.1" }, "tns-ios": { "version": "6.4.2" } } , "description": "App description", "license": "XXXX", "repository": "XXXXXX", "dependencies": { "nativescript-camera": "^4.5.0", "nativescript-datetimepicker": "^1.2.2", "nativescript-feedback": "^1.3.11", "nativescript-geolocation": "^5.1.0", "nativescript-imagepicker": "^7.1.0", "nativescript-phone ": "^2.0.0", "nativescript-theme-core": "~1.0.6", "tns-core-modules": "~6.4.0" }, "devDependencies": { "nativescript-dev- webpack": "~1.5.0" }, "gitHead": "42f2a6a9c94eaf9c68d2a41e0daaa1a2544bc28f", "readme": "NativeScript 应用程序" }
这是 iOS 14 中 JSC 的问题。您必须升级到 tns-ios 6.5.2 或新的 7.0.0 才能让您的应用在 iOS 14 上可靠启动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.