Closed
Description
" [self moveLocalFile:[NSString stringWithFormat:@"%@-Settings.plist", settings] fromDirectory:DirectoryTypeMainBundle toDirectory:DirectoryTypeLibrary withFolderName:@""] " in (id)getSettings:(NSString *)settings objectForKey:(NSString *)objKey and (BOOL)setSettings:NSString *)settings object:(id)value forKey:(NSString *)objKey;
if "withFolderName:@""" the %@-Settings.plist will be a folder with the name "/Library/App-Settings.plist/",isn't a file
([[NSFileManager defaultManager] copyItemAtPath:originPath toPath:destinationPath error:nil]) will fail because there has had a file " %@-Settings.plist ",but it's a folder,can not be read as a pist
the same bug in swift version