undefined method `edit_version' for Spaceship::ConnectAPI::App #17024
-
Hi all, I looked at the issue and followed the AppStoreConnect document to implement a script of iOS submission, but the object returned by Thus, I'm trying to use Please correct me if I miss any information, thank you. :-) fastlane 2.155.3 Spaceship::Tunes.login("username", "password") |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
I'm wondering the same! There seem to be some changes to the new API and certain fields/functionality are missing? |
Beta Was this translation helpful? Give feedback.
-
Hi @joshdholtz , |
Beta Was this translation helpful? Give feedback.
-
Here you go! https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/connect_api/models/app.rb#L204 app = Spaceship::ConnectAPI::App.find(“com.bundle..id”)
# Spaceship::ConnectAPI::Platform::IOS
# Spaceship::ConnectAPI::Platform::MAC_OS
# Spaceship::ConnectAPI::Platform::TV_OS
# Spaceship::ConnectAPI::Platform::WATCH_OS
edit_version = app. get_edit_app_store_version(platform: Spaceship::ConnectAPI::Platform::IOS) |
Beta Was this translation helpful? Give feedback.
-
Hi @joshdholtz, If I miss something, please let me know, thank you. :D Create a new app |
Beta Was this translation helpful? Give feedback.
-
Thanks so much, Josh! |
Beta Was this translation helpful? Give feedback.
-
Hi @joshdholtz Sorry for bothering you again, we have already done the part based on your useful information, it works well, but we still have the following partial code need to be revised, I'm not sure if there is any sample code or link to reference in the following parts? Thank you.
|
Beta Was this translation helpful? Give feedback.
Here you go! https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/connect_api/models/app.rb#L204