Posts

Post not yet marked as solved
0 Replies
560 Views
When i click "Grant Access.." button to grant access to my source code, Appstoreconnect page is opened and i choose "Github enterprise" button. And i move to github enterprise page ( "Create Github App" page ). And when i click "Create github for ~~" button, i move to appstoreconnect error page which tells me that "Github Enterprise installation was incomplete". I'm owner in my github enterprise organization. What can i do?
Posted
by eunjo.
Last updated
.
Post not yet marked as solved
0 Replies
1.1k Views
I'm working with NSFileProviderReplicatedExtension for macOS app. I want to apply custom badge on files instead of default badges (For example, com.apple.icon-decoration.heart, com.apple.icon-decoration.pinned, .. and so on). I tried to define new UTI in my Info.plist refering this post (-> https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html) But it doesn't work. Can i define custom badge? If yes, how can i work with this? Please reply.
Posted
by eunjo.
Last updated
.
Post not yet marked as solved
1 Replies
577 Views
I'm working with FileProvider Framework (macOS). It takes almost five minutes or more to remove a domain. 153:  NSFileProviderManager.remove(domain) { [weak self] error in 154: 155:         // Here.. Line 153 runs, and it takes more than five minutes to enter line 154. How can i solve it?
Posted
by eunjo.
Last updated
.
Post not yet marked as solved
1 Replies
1.6k Views
I want to localize two value in info.plist. First one is [ NSFileProviderDecorations - Item0 - Label ], and second one is [ NSExtensionFileProviderActionName ]. I could localize first one using InfoPlist.strings. (and Label-NSStringFormat) But it does not work for second one. I tried InfoPlist.strings, Localizable.strings, ..., but i can't localize this key. What should i do?
Posted
by eunjo.
Last updated
.
Post not yet marked as solved
0 Replies
620 Views
In fetchContents(..) method, I download file item from server by session.downloadTask. And i copy file from response url to temporary url (which is created from NSFileProviderManager.temporaryURL). After this, it's certain that file contents of temporary url is not 0byte (same length with downloaded file) And then i call completionHandler with this temporary url, file provider item. But i cannot open file in finder with error msg - cannot open because the file is empty. let task = downloadItem(named: filename) { url, error in       let dataURL = makeTemporaryURL()       do {         try FileManager.default.copyItem(at: url, to: dataURL)         completionHandler(dataURL, item, nil)       }       catch let error as NSError {         completionHandler(nil, nil, Error.fileDownloadFailed)       }     }     task.progress.cancellationHandler = { completionHandler(nil, nil, NSError(domain: NSCocoaErrorDomain, code: NSUserCancelledError)) }           return task.progress
Posted
by eunjo.
Last updated
.