gym/lib/gym/detect_values.rb in fastlane-2.46.0.beta.20170707010003 vs gym/lib/gym/detect_values.rb in fastlane-2.46.0.beta.20170708010003

- old
+ new

@@ -58,10 +58,12 @@ # Since Xcode 9 you need to provide the explicit mapping of what provisioning profile to use for # each target of your app # rubocop:disable Style/MultilineBlockChain def self.detect_selected_provisioning_profiles - return if Gym.config[:export_options] && Gym.config[:export_options][:provisioningProfiles] + if Gym.config[:export_options] && Gym.config[:export_options].kind_of?(Hash) && Gym.config[:export_options][:provisioningProfiles] + return + end require 'xcodeproj' provisioning_profile_mapping = {}