sigh/lib/sigh/runner.rb in fastlane-2.112.0.beta.20181218200038 vs sigh/lib/sigh/runner.rb in fastlane-2.112.0
- old
+ new
@@ -79,17 +79,10 @@
end
end
# Take the provisioning profile name into account
results = filter_profiles_by_name(results) if Sigh.config[:provisioning_name].to_s.length > 0
-
- # Since September 20, 2016 spaceship doesn't distinguish between AdHoc and AppStore profiles
- # any more, since it requires an additional request
- # Instead we only call is_adhoc? on the matching profiles to speed up spaceship
-
- results = filter_profiles_for_adhoc_or_app_store(results)
-
return results if Sigh.config[:skip_certificate_verification]
UI.message("Verifying certificates...")
return results.find_all do |current_profile|
installed = false
@@ -154,21 +147,9 @@
profiles = filtered
elsif (filtered || []).count > 0
profiles = filtered
end
profiles
- end
-
- def filter_profiles_for_adhoc_or_app_store(profiles)
- profiles.find_all do |current_profile|
- if profile_type == Spaceship.provisioning_profile.ad_hoc
- current_profile.is_adhoc?
- elsif profile_type == Spaceship.provisioning_profile.app_store
- !current_profile.is_adhoc?
- else
- true
- end
- end
end
def certificates_for_profile_and_platform
case Sigh.config[:platform].to_s
when 'ios', 'tvos'