gym/lib/gym/detect_values.rb in fastlane-2.72.0.beta.20171230010003 vs gym/lib/gym/detect_values.rb in fastlane-2.72.0.beta.20171231010003
- old
+ new
@@ -28,9 +28,14 @@
config[:output_name] ||= Gym.project.app_name
config[:build_path] ||= archive_path_from_local_xcode_preferences
+ # Make sure the output name is valid and remove a trailing `.ipa` extension
+ # as it will be added by gym for free
+ config[:output_name].gsub!(".ipa", "")
+ config[:output_name].gsub!(File::SEPARATOR, "_")
+
return config
end
def self.archive_path_from_local_xcode_preferences
day = Time.now.strftime("%F") # e.g. 2015-08-07