lib/produce/developer_center.rb in produce-1.3.2 vs lib/produce/developer_center.rb in produce-1.4.0

- old
+ new

@@ -17,11 +17,12 @@ else app_name = Produce.config[:app_name] UI.message "Creating new app '#{app_name}' on the Apple Dev Center" app = Spaceship.app.create!(bundle_id: app_identifier, - name: app_name) + name: app_name, + mac: Produce.config[:platform] == "osx") if app.name != Produce.config[:app_name] UI.important("Your app name includes non-ASCII characters, which are not supported by the Apple Developer Portal.") UI.important("To fix this a unique (internal) name '#{app.name}' has been created for you. Your app's real name '#{Produce.config[:app_name]}'") UI.important("will still show up correctly on iTunes Connect and the App Store.") @@ -44,10 +45,10 @@ end private def app_exists? - Spaceship.app.find(app_identifier) != nil + Spaceship.app.find(app_identifier, mac: Produce.config[:platform] == "osx") != nil end def login Spaceship.login(Produce.config[:username], nil) Spaceship.select_team