【问题标题】:Ionic Pro iOS build error: Unknown method 'error!'Ionic Pro iOS 构建错误:未知方法“错误!”
【发布时间】:2017-10-26 01:59:51
【问题描述】:

我正在尝试使用 Ionic Pro 为 iOS 构建我的 Ionic 3 应用程序。它已经在 Android 上运行。

这是我遇到的错误:

[08:47:12]: Unknown method 'error!', supported [:error, :important, :success, :message, :deprecated, :command, :command_output, :verbose, :header, :interactive?, :input, :confirm, :select, :password, :crash!, :user_error!, :shell_error!, :build_failure!, :test_failure!, :abort_with_message!, :not_implemented]
+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | default_platform       | 0           |
| 2    | create_keychain        | 0           |
| 3    | download_certs         | 1           |
| 4    | import_certificate     | 0           |
| ????   | update_project_codesi  | 0           |
|      | gning                  |             |
| 6    | shell command          | 0           |
| 7    | delete_keychain        | 0           | 
+------+------------------------+-------------+
[08:47:12]: fastlane finished with errors
[!] Unknown method 'error!', supported [:error, :important, :success, :message, :deprecated, :command, :command_output, :verbose, :header, :interactive?, :input, :confirm, :select, :password, :crash!, :user_error!, :shell_error!, :build_failure!, :test_failure!, :abort_with_message!, :not_implemented]
\e[91mFailed to upload ipa to storage please retry your build.
\e[0m Running after script...
$ clean-up
Cleaning up files...
Successful clean up ERROR: Job failed: exit status 1

如果您需要更多日志,请告诉我。该错误似乎与代码签名有关。我昨天刚刚续订了所有生产证书,并且在我的安全配置文件中设置了正确的凭据。

【问题讨论】:

  • 您是否安装了插件“cordova-plugin-ionic”?因为我正面临由该插件引起的类似问题

标签: ios ionic2 ionic3


【解决方案1】:

对不起,伙计们,我忘了我发布了这个,但我解决了这个问题。我从来没有使用 Ionic Pro 构建应用程序,但我在 Xcode 中遇到了完全相同的错误,并且更新 Xcode 解决了这个问题。也许 Ionic Pro 的 iOS 构建工具更新缓慢?

【讨论】:

    最近更新 更多