diff --git a/AppBox.xcodeproj/project.pbxproj b/AppBox.xcodeproj/project.pbxproj index 08d36d7b..dfcc72d7 100644 --- a/AppBox.xcodeproj/project.pbxproj +++ b/AppBox.xcodeproj/project.pbxproj @@ -1222,7 +1222,7 @@ CODE_SIGN_ENTITLEMENTS = AppBox/AppBox.entitlements; CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 3PQ7E4L589; ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; @@ -1253,7 +1253,7 @@ LD_DYLIB_INSTALL_NAME = ""; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.11; - MARKETING_VERSION = 3.0.0; + MARKETING_VERSION = 3.0.1; PRODUCT_BUNDLE_IDENTIFIER = com.developerinsider.AppBox; PRODUCT_NAME = "$(TARGET_NAME)"; USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)"; @@ -1268,7 +1268,7 @@ CODE_SIGN_ENTITLEMENTS = AppBox/AppBox.entitlements; CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 3PQ7E4L589; ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; @@ -1299,7 +1299,7 @@ LD_DYLIB_INSTALL_NAME = ""; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.11; - MARKETING_VERSION = 3.0.0; + MARKETING_VERSION = 3.0.1; PRODUCT_BUNDLE_IDENTIFIER = com.developerinsider.AppBox; PRODUCT_NAME = "$(TARGET_NAME)"; USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)"; diff --git a/AppBox/Common/UploadManager/UploadManager.m b/AppBox/Common/UploadManager/UploadManager.m index e96195bb..3dcb437a 100644 --- a/AppBox/Common/UploadManager/UploadManager.m +++ b/AppBox/Common/UploadManager/UploadManager.m @@ -639,6 +639,9 @@ -(void)handleSharedURLResult:(NSString *)url{ //Create manifest file with share IPA url and upload manifest file if (self.dbFileType == DBFileTypeIPA) { NSString *shareableLink = url; + shareableLink = [shareableLink stringByReplacingOccurrencesOfString:@"https://www.dropbox.com" withString:abDropBoxDirectDownload]; + shareableLink = [shareableLink stringByReplacingOccurrencesOfString:@"https://dropbox.com" withString:abDropBoxDirectDownload]; + shareableLink = [shareableLink substringToIndex:shareableLink.length-5]; self.project.ipaFileDBShareableURL = [NSURL URLWithString:shareableLink]; [self.project createManifestWithIPAURL:self.project.ipaFileDBShareableURL completion:^(NSURL *manifestURL) { strongify(self); @@ -649,7 +652,7 @@ -(void)handleSharedURLResult:(NSString *)url{ } [Common showAlertWithTitle:@"Error" andMessage:@"Unable to create manifest file!!"]; self.errorBlock(nil, YES); - }else{ + } else { //change file type and upload manifest self.dbFileType = DBFileTypeManifest; [self dbUploadFile:manifestURL.resourceSpecifier to:self.project.dbManifestFullPath.absoluteString mode:[[DBFILESWriteMode alloc] initWithOverwrite]]; diff --git a/AppBox/ViewController/HomeViewController/HomeViewController.m b/AppBox/ViewController/HomeViewController/HomeViewController.m index 42fb64d9..99308a50 100644 --- a/AppBox/ViewController/HomeViewController/HomeViewController.m +++ b/AppBox/ViewController/HomeViewController/HomeViewController.m @@ -317,6 +317,10 @@ -(void)updateViewState{ [textFieldEmail setEnabled:enable]; [textFieldMessage setEnabled:enable]; + //Reset text field content + [textFieldEmail setStringValue: enable ? textFieldEmail.stringValue : abEmptyString]; + [textFieldMessage setStringValue: enable ? textFieldMessage.stringValue : abEmptyString]; + //Just for confirm changes [self textFieldMailValueChanged:textFieldEmail]; [self textFieldDevMessageValueChanged:textFieldMessage];