【问题标题】:[NativeScript]: Metadata for Darwin.strlen found but symbol not available at runtime nativescript[NativeScript]:找到 Darwin.strlen 的元数据,但运行时 nativescript 符号不可用
【发布时间】:2021-08-11 13:45:24
【问题描述】:

我正在编写本机脚本并创建 iOS 应用并将其发布到应用商店。 该应用程序在 iOS 14.6 之前运行顺利,但从 iOS 14.7 开始我得到了

Metadata for "Darwin.strlen" found but symbol not available at runtime. 
toCharPtr(file:///app/vendor.js:182294:30) 
at Database(file:///app/vendor.js:182382:32) 
at file:///app/bundle.js:830:27 
at SqLiteService(file:///app/bundle.js:826:20) 
at _createClass(file:///app/vendor.js:20966:28) 
at _createProviderInstance(file:///app/vendorjs:20938:38) 
at resolveNgModuleDep(file:///app/vendor.js:20902:44) 
at _createClass(file:///app/vendor.js:20974:50) 
at _createProviderInstance(file:///app/vendorjs:20938:38) 
at resolveNgModuleDep(file:///app/vendor.js:20902:44) 
at createClass(file:///app/vendor.js:21843:42) 
at createDirectivelnstance(file:///app/vendor.js:21714:31) 
at createViewNodes(file:///app/vendor.js:30074:59) 
at createRootView(file:///app/vendor.js:29988:20) 
at file:///app/vendor.js:21193:43 
at file:///app/vendor.js:27761:46 
at forEach([native code]) 
t file:///app/vendor.js:27483:51 
at file:///app/vendor.js:27451:45 
at onInvoke(file:///app/vendor.js:26943:39) 
at file:///app/vendor.js:147266:49 
at file:///app/vendor.js:148011:37 
at onInvokeTask(file:///app/vendor.js:26934:43) 
at file:///app/vendor.js:147316:57 
at drainMicroTaskQueue(file:///app/vendor.js:147723:42) 
at file:///app/vendor.js:134241:44 
at file://)app/vendor.js:80750:31 
at [native code] at file:///app/vendor.js:60836:36 
at file:///app/vendor.js:60828:30 
at [native code] 
at file:///app)vendor.js:60701:32 
at UlApplicationMain([native code]) 
at run(file:///app/vendor.js:60977:26) 
at file:///app/vendor.js:134272:26 
at file:///app/vendor.js:134173:38 
at file:///app/vendor.js:134153:26 
at file:///app/bundle.js:12323:66 
at webpack_require_(file:///app/runtime.js:75:34) 
at checkDeferredModules(file:///app/runtime.js:44:42) 
at webpackJsonpCallback(file:///app/runtime.js:31:39) 
at anonymous(file:///app)bundle.js:2:61) 
at evaluate([native code]) 
at moduleEvaluation([native code]) 
at [native code] 
at asyncFunctionResume([native code]) 
at [native code] 
at promiseReactionJob([native code]) 

这个错误和应用程序在运行时崩溃,我不确定更新后的操作系统有什么问题,有人可以帮我解决这个问题吗?

【问题讨论】:

    标签: ios nativescript ios14 nativescript-angular


    【解决方案1】:

    它出现在 iOS 14.7 Apple 删除/隐藏了一些功能。这个问题: https://github.com/NathanaelA/nativescript-sqlite/issues/171 正在跟踪实际问题,正如我在该问题中所述,我有一个修复程序等待最终测试,然后再发布。

    NS-Sqlite 2.8.2 或更高版本应该可以解决这个问题。

    (免责声明:我是该插件的作者)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-25
      • 2020-11-20
      • 2017-01-02
      • 1970-01-01
      • 2021-04-13
      • 1970-01-01
      相关资源
      最近更新 更多