New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Could not find app with app identifier" when init Mac project #7480

Closed
chenyihu opened this Issue Dec 14, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@chenyihu

chenyihu commented Dec 14, 2016

Spaceship::Application.find

def find(identifier, mac: false)
          all.find do |app|
            (app.apple_id == identifier.to_s || app.bundle_id == identifier) &&
              app.version_sets.any? { |v| v.platform == (mac ? "osx" : "ios") }
          end
end

and Deliver

detect_values.rb

def find_app(options)
      search_by = options[:app_identifier]
      search_by = options[:app] if search_by.to_s.length == 0
      app = Spaceship::Application.find(search_by)  # <-----  Issue Here
      if app
        options[:app] = app
      else
        UI.user_error!("Could not find app with app identifier '#{options[:app_identifier]}' in your iTunes Connect account (#{options[:username]} - Team: #{Spaceship::Tunes.client.team_id})")
      end
end

fastlane env

fastlane gems

Gem Version Update-Status
credentials_manager 0.16.2 Up-To-Date
frameit 3.0.0 Up-To-Date
scan 0.14.2 Up-To-Date
supply 0.8.0 Up-To-Date
screengrab 0.5.6 Up-To-Date
fastlane 1.111.0 Up-To-Date
fastlane_core 0.60.0 Up-To-Date
sigh 1.12.1 Up-To-Date
match 0.11.1 Up-To-Date
spaceship 0.39.0 Up-To-Date
pilot 1.13.1 Up-To-Date
gym 1.13.0 Up-To-Date
produce 1.4.0 Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

@fastlane-bot

This comment has been minimized.

Show comment
Hide comment
@fastlane-bot

fastlane-bot Dec 14, 2016

It seems like you have not included the output of fastlane env.

To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

fastlane-bot commented Dec 14, 2016

It seems like you have not included the output of fastlane env.

To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

@hjanuschka

This comment has been minimized.

Show comment
Hide comment
@hjanuschka

hjanuschka Dec 14, 2016

Member

@chenyihu thx for the report - in fact there is already PR for that: #7360

as a temp workaround you can set the platform option to osx.

commandline:
-j osx

or in fastfile:

deliver(platform: "osx")
Member

hjanuschka commented Dec 14, 2016

@chenyihu thx for the report - in fact there is already PR for that: #7360

as a temp workaround you can set the platform option to osx.

commandline:
-j osx

or in fastfile:

deliver(platform: "osx")
@chenyihu

This comment has been minimized.

Show comment
Hide comment
@chenyihu

chenyihu Dec 14, 2016

@hjanuschka Thank you very much!

chenyihu commented Dec 14, 2016

@hjanuschka Thank you very much!

@chenyihu chenyihu closed this Dec 14, 2016

@SemenovAlexander

This comment has been minimized.

Show comment
Hide comment
@SemenovAlexander

SemenovAlexander Dec 15, 2016

Contributor

@hjanuschka
I've also have related issue - Could not find app with app identifier and -j osx doesn't fix it, because in current release that value goes nowhere.

Actually deliver now fails to do anything with Mac apps

Any news, when #7360 will be merged?

Contributor

SemenovAlexander commented Dec 15, 2016

@hjanuschka
I've also have related issue - Could not find app with app identifier and -j osx doesn't fix it, because in current release that value goes nowhere.

Actually deliver now fails to do anything with Mac apps

Any news, when #7360 will be merged?

@hjanuschka

This comment has been minimized.

Show comment
Hide comment
@hjanuschka

hjanuschka Dec 16, 2016

Member

@SemenovAlexander hmmm - seems to work - as a workaround for others - maybe you +1 the #7360 so it will get a bit more attention

Member

hjanuschka commented Dec 16, 2016

@SemenovAlexander hmmm - seems to work - as a workaround for others - maybe you +1 the #7360 so it will get a bit more attention

@fastlane fastlane locked and limited conversation to collaborators Mar 22, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.