运行离子Cordova Build iOS --prod时出错

问题描述

我在尝试将角离子应用程序部署到ipa时遇到此错误。在我运行“ ionic cordova build ios --prod”之后,出现这些错误。请帮助我解决这些错误。 P / s:我正在使用Ionic 4和Xcode 9.2。

enter image description here

enter image description here

这是我的 project.pbxproj 文件:

$twitter = Invoke-WebRequest -Uri https://twitter.com/i/lists/1236608287456645036112899
$lists = $twitter.ParsedHtml.getElementsByTagName('ol')
$nodes = $lists[0].childNodes
$r = $nodes | %{
   [pscustomobject]@{
       Time = $_.getElementsByClassName('time')[0].innerText.Substring(2)
       News = $_.getElementsByClassName('js-tweet-text-container')[0].innerText
   }
}

...

// !$*UTF8*$!
{
    archiveVersion = 1;
    classes = {
    };
    objectVersion = 52;
    objects = {

解决方法

尝试使用最新版本的Xcode。

  1. 离子Cordova平台删除iOS
  2. ionic cordova平台添加ios
  3. 离子科尔多瓦建立iOS

如果您使用一些自定义插件,请确保您已将应用程序签名给正确的团队,并在Platform / ios内运行pod install

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...