Skip to content

Commit

Permalink
answer-huang#1.0.5 支持拖入 dSYM 文件。
Browse files Browse the repository at this point in the history
  • Loading branch information
answer committed Nov 27, 2016
1 parent 7a2eeab commit c566d6a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Objective-C/DSYMTools/Controller/MainWindowViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,13 @@ - (IBAction)exportIPA:(id)sender {
NSLog(@"还未选中 archive 文件");
return;
}


if(_selectedArchiveInfo.archiveFileType == ArchiveFileTypeDSYM){
NSLog(@"archive 文件才可导出 ipa 文件");
return;
}


NSString *ipaFileName = [_selectedArchiveInfo.archiveFileName stringByReplacingOccurrencesOfString:@"xcarchive" withString:@"ipa"];

NSSavePanel *saveDlg = [[NSSavePanel alloc]init];
Expand Down

0 comments on commit c566d6a

Please sign in to comment.