pilot/lib/pilot/build_manager.rb in fastlane-2.212.2 vs pilot/lib/pilot/build_manager.rb in fastlane-2.213.0
- old
+ new
@@ -155,10 +155,10 @@
else
UI.important("No build specified - fetching latest build for version #{app_version}")
end
end
platform = Spaceship::ConnectAPI::Platform.map(fetch_app_platform)
- build ||= Spaceship::ConnectAPI::Build.all(app_id: app.id, version: app_version, build_number: build_number, sort: "-uploadedDate", platform: platform, limit: Spaceship::ConnectAPI::Platform.size).first
+ build ||= Spaceship::ConnectAPI::Build.all(app_id: app.id, version: app_version, build_number: build_number, sort: "-uploadedDate", platform: platform, limit: Spaceship::ConnectAPI::Platform::ALL.size).first
end
# Verify the build has all the includes that we need
# and fetch a new build if not
if build && (!build.app || !build.build_beta_detail || !build.pre_release_version)