Ionic Pro iOS构建错误:未知方法'错误!'

时间:2017-09-28 16:05:09

标签: ios ionic2 ionic3

我正在尝试使用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

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

1 个答案:

答案 0 :(得分:0)

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