Загрузка IOS .ipa с помощью fastlane не удаласьIOS

Программируем под IOS
Ответить
Anonymous
 Загрузка IOS .ipa с помощью fastlane не удалась

Сообщение Anonymous »

На самом деле у меня возникла проблема с авторизацией при использовании fastlane для загрузки файла IPA.

Кто-нибудь уже сталкивался с этой проблемой? Похоже, у меня проблема с именем кривой, но я не знаю почему.
мой itc_key.json имеет следующее значение (не реальные значения):

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

{
"key_id":"0Q9TOPAUYSKQN",
"issuer_id":"90qadod857-2177-4tsda1-a43b-7d4shkie39fb228",
"key":"-----BEGIN PRIVATE KEY-----\\npoaaGHAgEApBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBPQQgFegrHHbJp7Nx4+6s\\nRuIMJoxkRsBhFsgs0sss Nb0qSdspqnmyOhRANCAAS/5R/KSdsRBLfNONi6osssd+5YhxMHky\\nBp8N3IzZ0rcZjQJFGcZVeJhWt8CZjdklss9QO7b50XSiopaBiYw9xUaiVW\\n----END PRIVATE KEY-----","in_house":false,"duration":500
}
Ниже вы увидите вывод команд, которые я запустил. (запуск команд из моего wsl Ubuntu, также пробовал на Mac, тот же результат)
первая команда

____________________________________________________________________________________

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

mawsika@Mawsika-DELL:/tmp$ fastlane pilot upload --ipa "dev-cm1.ipa" --api_key_path "./itc_key.json" --verbose
[

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

✔] 🚀

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

[10:52:10]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile

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

INFO [2026-01-09 10:52:10.88]: Creating authorization token for App Store Connect API

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

DEBUG [2026-01-09 10:52:10.89]: App identifier (hello.world.app)

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

Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens

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

Token has expired, issued-at-time is in the future, or has been revoked! Trying to refresh...

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

Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens

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

Token has expired, issued-at-time is in the future, or has been revoked! Trying to refresh...

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

Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens

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

Token has expired, issued-at-time is in the future, or has been revoked! Trying to refresh...

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

Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens

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

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

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

Search query: The request could not be completed because:

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

Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired.  Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens
вторая команда

_____________________________________________________________________________________

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

mawsika@Mawsika-DELL:/tmp$ fastlane run app_store_connect_api_key key_filepath:"./itc_key.json"

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

[✔] 🚀

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

[10:54:25]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile

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

[10:54:26]: ---------------------------------------

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

[10:54:26]: --- Step: app_store_connect_api_key ---

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

[10:54:26]: ---------------------------------------

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

[10:54:26]: To not be asked about this value, you can specify it using 'key_id'

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

[10:54:26]: The key ID: toto

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

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

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

➡️ invalid curve name after brew upgrade?

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

https://github.com/fastlane/fastlane/issues/20553 [open] 15 💬

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

18 Sep 2025

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

➡️ i am unable to publish app to AppStore

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

https://github.com/fastlane/fastlane/issues/22183 [open] 3 💬

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

04 Aug 2025

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

➡️ Getting error: invalid curve name for app_store_connect_api_key

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

https://github.com/fastlane/fastlane/issues/20593 [closed] 12 💬

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

2 weeks ago

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

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

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

/home/mawsika/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/fastlane-2.230.0/spaceship/lib/spaceship/connect_api/token.rb:71:in initialize': [!] invalid curve name (OpenSSL::PKey::ECError) from /home/mawsika/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/fastlane-2.230.0/spaceship/lib/spaceship/connect_api/token.rb:71:in new'

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

from /home/mawsika/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/fastlane-2.230.0/spaceship/lib/spaceship/connect_api/token.rb:71:in create' from /home/mawsika/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/fastlane-2.230.0/fastlane/lib/fastlane/actions/app_store_connect_api_key.rb:43:in run'


Подробнее здесь: https://stackoverflow.com/questions/798 ... lane-fails
Ответить

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

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

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

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

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