lib/produce/itunes_connect.rb in produce-1.2.0 vs lib/produce/itunes_connect.rb in produce-1.2.1

- old
+ new

@@ -34,15 +34,15 @@ application = fetch_application counter = 0 while application.nil? counter += 1 - UI.crash!("Couldn't find newly created app on iTunes Connect - please check the website for more information") if counter == 60 + UI.crash!("Couldn't find newly created app on iTunes Connect - please check the website for more information") if counter == 200 # Since 2016-08-10 iTunes Connect takes some time to actually list the newly created application # We have no choice but to poll to see if the newly created app is already available UI.message("Waiting for the newly created application to be available on iTunes Connect...") - sleep 10 + sleep 15 application = fetch_application end UI.crash!("Something went wrong when creating the new app - it's not listed in the App's list") unless application