0

我正在尝试将 Ionic Live Updates 与 Ionic Cordova 应用程序一起使用。我的应用程序同时具有 Android 和 iOS 平台。在 Android 上一切正常,该应用程序可以毫无问题地下载和安装更新。在 iOS 上我有一些问题,在 iOS 模拟器上一切正常,而在真实设备上下载没有完成,并且在控制台中我有这些错误:

Task <DDB226AB-7A26-4D74-85E2-D694ABBAA78B>.<1> HTTP load failed, 0/0 bytes (error code: 28 [1:28])
Task <DDB226AB-7A26-4D74-85E2-D694ABBAA78B>.<1> finished with error [28] Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <DDB226AB-7A26-4D74-85E2-D694ABBAA78B>.<1>, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=28, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <DDB226AB-7A26-4D74-85E2-D694ABBAA78B>.<1>"
), _NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0, ipv4, dns}
Download Error:Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <DDB226AB-7A26-4D74-85E2-D694ABBAA78B>.<1>, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=28, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <DDB226AB-7A26-4D74-85E2-D694ABBAA78B>.<1>"
), _NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0, ipv4, dns}
[] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW A3DFA494-7267-4432-BFDE-24AECBB73558 [28: No space left on device]
[connection] nw_endpoint_flow_setup_channel [C530.2 172.67.175.242:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
Connection 523: received failure notification
Connection 523: failed to connect 1:28, reason -1
Connection 523: encountered error(1:28)

即使错误消息显示设备上没有剩余空间,我也有超过 200GB 的可用空间。

在我的离子信息下方:

$ ionic info

Ionic:

   Ionic CLI                     : 6.18.1 (/Users/xxx/.volta/tools/image/packages/@ionic/cli/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.9.1
   @angular-devkit/build-angular : 12.2.13
   @angular-devkit/schematics    : 12.2.13
   @angular/cli                  : 12.2.13
   @ionic/angular-toolkit        : 5.0.3

Cordova:

   Cordova CLI       : 10.0.0 (cordova-lib@10.1.0)
   Cordova Platforms : android 10.1.1, ios 6.2.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, cordova-plugin-ionic 5.5.1, (and 21 other plugins)

Utility:

   cordova-res                          : 0.15.3
   native-run (update available: 1.5.0) : 1.3.0

System:

   Android SDK Tools : 26.1.1 (/Users/xxx/Library/Android/sdk)
   ios-deploy        : 1.11.4
   ios-sim           : 8.0.2
   NodeJS            : v14.16.1 (/Users/xxx/.volta/tools/image/node/14.16.1/bin/node)
   npm               : 6.14.12
   OS                : macOS Monterey
   Xcode             : Xcode 13.1 Build version 13A1030d

你能帮助我吗?

4

0 回答 0