File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,7 @@ def fail_with_message(message)
2020fail_with_message ( 'No output_dir specified' ) unless output_dir
2121
2222info_plist_path = File . join ( archive_path , 'Info.plist' )
23- unless File . exist? ( info_plist_path )
24- puts '(!) No Info.plist found, search for other plist'
25- info_plist_paths = Dir [ archive_path , '*.plist' ]
26- fail_with_message ( 'More then 1 plist found' ) unless info_plist_paths . nil? || info_plist_paths . count == 1
27-
28- info_plist_path = info_plist_paths . first
29- end
30-
31- fail_with_message ( 'No Info.plist found' ) unless info_plist_path
23+ fail_with_message ( 'No Info.plist found' ) unless File . exist? ( info_plist_path )
3224
3325infos = Plist . parse_xml ( info_plist_path )
3426fail_with_message ( 'Failed to read ipa name' ) if infos . nil? || infos [ 'Name' ] . nil?
You can’t perform that action at this time.
0 commit comments