Развертывание сборки iOS с Fastlane приводит к «неверной имени кривой», когда `key_content`IOS

Программируем под IOS
Ответить Пред. темаСлед. тема
Anonymous
 Развертывание сборки iOS с Fastlane приводит к «неверной имени кривой», когда `key_content`

Сообщение Anonymous »

Я получил эту ошибку при попытке сделать Fastlane Beta Command

Код: Выделить всё

+------------------------------------+---------------------------------------------------------------------------------------------+
[12:42:28]: Called from Fastfile at line 24
[12:42:28]: ```
[12:42:28]:     22:         increment_build_number(xcodeproj: "PayWatcher.xcodeproj")
[12:42:28]:     23:         build_app(scheme: "PayWatcher")
[12:42:28]:  =>  24:         pilot( api_key_path: "fastlane/store.json", skip_waiting_for_build_processing: true)
[12:42:28]:     25:       end
[12:42:28]:     26:     end
[12:42:28]: ```
[12:42:28]: invalid curve name

+---------------------------------------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | default_platform       | 0           |
| 2    | match                  | 3           |
| 3    | increment_build_number | 0           |
| 4    | build_app              | 21          |
| 💥   | pilot                  | 0           |
+------+------------------------+-------------+

[12:42:28]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡️   invalid curve name after brew upgrade?
https://github.com/fastlane/fastlane/issues/20553 [open] 14 💬
25 Nov 2024

➡️  app_store_connect_api_key fails with 'invalid curve name' when `key_content` provided as github repo secret
https://github.com/fastlane/fastlane/issues/29478 [closed] 1 💬
5 days ago

➡️  i am unable to publish app to AppStore
https://github.com/fastlane/fastlane/issues/22183 [open] 1 💬
16 Aug 2024

and 10 more at: https://github.com/fastlane/fastlane/search?q=invalid%20curve%20name&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.
/opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/spaceship/lib/spaceship/connect_api/token.rb:71:in 'OpenSSL::PKey::EC#initialize':  [!] invalid curve name (OpenSSL::PKey::ECError)
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/spaceship/lib/spaceship/connect_api/token.rb:71:in 'Class#new'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/spaceship/lib/spaceship/connect_api/token.rb:71:in 'Spaceship::ConnectAPI::Token.create'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/spaceship/lib/spaceship/connect_api/token.rb:49:in 'Spaceship::ConnectAPI::Token.from_json_file'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/spaceship/lib/spaceship/connect_api/token.rb:34:in 'Spaceship::ConnectAPI::Token.from'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/pilot/lib/pilot/manager.rb:23:in 'Pilot::Manager#login'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/pilot/lib/pilot/manager.rb:19:in 'Pilot::Manager#start'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/pilot/lib/pilot/build_manager.rb:17:in 'Pilot::BuildManager#upload'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in 'Fastlane::Actions::UploadToTestflightAction.run'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:263:in 'block (2 levels) in Fastlane::Runner#execute_action'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in 'Fastlane::Actions.execute_action'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:255:in 'block in Fastlane::Runner#execute_action'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:229:in 'Dir.chdir'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:229:in 'Fastlane::Runner#execute_action'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:157:in 'Fastlane::Runner#trigger_action_by_name'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/fast_file.rb:159:in 'Fastlane::FastFile#method_missing'
from Fastfile:24:in 'block (2 levels) in Fastlane::FastFile#parsing_binding'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/lane.rb:41:in 'Fastlane::Lane#call'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:49:in 'block in Fastlane::Runner#execute'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:45:in 'Dir.chdir'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/runner.rb:45:in 'Fastlane::Runner#execute'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/lane_manager.rb:46:in 'Fastlane::LaneManager.cruise_lane'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/command_line_handler.rb:34:in 'Fastlane::CommandLineHandler.handle'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/commands_generator.rb:110:in 'block (2 levels)  in Fastlane::CommandsGenerator#run'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in 'Commander::Command#call'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in 'Commander::Command#run'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in 'Commander::Runner#run_active_command'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in 'Commander::Runner#run!'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in 'Commander::Delegates#run!'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/commands_generator.rb:363:in 'Fastlane::CommandsGenerator#run'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/commands_generator.rb:43:in 'Fastlane::CommandsGenerator.start'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in 'Fastlane::CLIToolsDistributor.take_off'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/gems/fastlane-2.226.0/bin/fastlane:23:in ''
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/bin/fastlane:25:in 'Kernel#load'
from /opt/homebrew/Cellar/fastlane/2.226.0_1/libexec/bin/fastlane:25:in ''
< /code>
my fastfile: < /p>
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
match(app_identifier: "Oleksandr-Matrosov.PayWatcher", type: "appstore")
increment_build_number(xcodeproj: "PayWatcher.xcodeproj")
build_app(scheme: "PayWatcher")
pilot( api_key_path: "fastlane/store.json", skip_waiting_for_build_processing: true)
end
end
my fastlane/store.json:

Код: Выделить всё

{
"key_id": "SNQ5X3RCX7",
"issuer_id": "69a6de75-ee54-47e3-e053-5b8c7c11a4d1",
"key": "-----BEGIN PRIVATE KEY-----MIGTAgEAMBMGByqGSM43AgEGAAqGSM49AwEHBHkwdwIBAQQgGzrTJoXrDyFXixa7z/XhbzOADMnFSRj/7ynH0SLZILygCgYIKoZIzj0DAQehRANCAARqsnZeZYe+TuKCtHSq5fk4zNzo9SyAkHjLV605s5qN6EBBNrjSf3FMmQDIGWNncPyY35CUcHwmmq6nAwG2UqGw-----END PRIVATE KEY-----"
}
Я использую это видео -учебник, который, я думаю, работает хорошо, но я застрял

Подробнее здесь: https://stackoverflow.com/questions/795 ... key-conten
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение
  • Развертывание Fastlane и Jenkins на сервере для iOS
    Anonymous » » в форуме IOS
    0 Ответы
    9 Просмотры
    Последнее сообщение Anonymous
  • Нарисуйте границу вокруг кривой на определенном расстоянии от кривой.
    Anonymous » » в форуме C#
    0 Ответы
    67 Просмотры
    Последнее сообщение Anonymous
  • Нахождение площади под кривой, пересекаемой другой кривой
    Anonymous » » в форуме Python
    0 Ответы
    105 Просмотры
    Последнее сообщение Anonymous
  • Разрыв кривой везде, где наблюдается значительное изменение кривой.
    Anonymous » » в форуме Python
    0 Ответы
    26 Просмотры
    Последнее сообщение Anonymous
  • Алгоритм для поиска кривой с касательными на установленных расстояниях вдоль кривой
    Anonymous » » в форуме Python
    0 Ответы
    7 Просмотры
    Последнее сообщение Anonymous

Вернуться в «IOS»