Skip to content
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

Add xctestrun snippet as a Release Toolkit action #437

Open
spencertransier opened this issue Jan 5, 2023 · 0 comments
Open

Add xctestrun snippet as a Release Toolkit action #437

spencertransier opened this issue Jan 5, 2023 · 0 comments

Comments

@spencertransier
Copy link
Contributor

While reviewing the Day One Apple Fastlane improvements with Jeremy, he suggested making a Release Toolkit action of this code:

    xctestrun_path = Dir.glob(File.join(build_products_path, '*.xctestrun')).select do |path|
      path.include?(options[:name])
    end.first

    if xctestrun_path.nil? || !File.exist?((xctestrun_path))
      UI.user_error!("Unable to find .xctestrun file at #{build_products_path}")
    end

It is a common set of code shared between many (all?) of the iOS apps, so potentially a good candidate for a Release Toolkit action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant