Questions tagged [macos-app-extension]

21 questions
8
votes
0 answers

ignoring mis-configured plug-in at /Path/To/Foo.appex: plug-ins must be sandboxed

I'm getting this message spammed in the console: Additionally, my extension doesn't show up in System Preferences: (no, I'm not developing OneNote) Here are the commands I use to install the extension, each of which claims it succeeded: And here…
Ky -
  • 30,724
  • 51
  • 192
  • 308
6
votes
0 answers

Is it possible to create a standalone Quick Look extension/plug-in?

According to Apple we should new build Thumbnail or Preview Extensions instead of the old Quick Look generators which will be deprecated (probably in Big Sur). There is also no Option to create a Quick Look plug-in project in Xcode anymore. Instead…
Anubis
  • 653
  • 1
  • 7
  • 16
6
votes
2 answers

How to listen to "beforeNavigate" event in safari app extensions

I'm developing a safari app extension. I've to listen to "beforeNavigate" event as in old Safari JS Extensions, we could listen to these events using Safari's Windows & Tabs API. I went through the How to create Safari App Extension, but…
5
votes
0 answers

Validating receipt from macOS App Extensions?

How a macOS App Extension can validate the app store receipt? That is, to verify whether in-app purchases for the app is valid (and continues to be valid) Apparently the main bundle points to the App Extension's bundle hence the appStoreReceiptURL…
adib
  • 8,285
  • 6
  • 52
  • 91
4
votes
5 answers

Safari Extension app is not shown in Safari preferences Extensions tab

I have followed all the instruction mentioned at Creating Your First Safari Extension App. After running FirstSafariExtensionApp target, I have opened Safari preferences Extensions tab but I couldn't find My Extension in the left pane. I have Apple…
Necktwi
  • 2,483
  • 7
  • 39
  • 62
3
votes
1 answer

How to enable and debug a macOS file provider extension?

I am trying to build a barebone app with Xcode 12.5 Beta 3 on macOS Big Sur 11.2.2 with a file provider extension. I use the beta version of Xcode because previous versions do not provide a template for file provider extensions (example project on…
3
votes
2 answers

UNUserNotificationCenter. Notifications are not allowed for this application

I noob in development application on OSX. I want to create app with Share extension. After content loading I want to show Notification, but I getting error "Notifications are not allowed for this application". I don't understand why…
3
votes
1 answer

NSURLSession from macos Sharing Extension

I'm getting this error in the func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) { URLSessionDataDelegate method: error=Optional(Error Domain=NSURLErrorDomain Code=-1 “unknown error” …
jrwren
  • 17,465
  • 8
  • 35
  • 56
2
votes
0 answers

Embed FinderSync Extension appex to Electron app

I have build an electron app to sync files with selected directories and a FinderSync extension to show the sync status of the files and show contextual menus. The extension is working well with a main app, but when i embed the extension in the…
Àlex Garcia
  • 101
  • 6
2
votes
0 answers

How to open link in safari browser using Swift 4.2 and xcode 10.1 macos app extension

I am developing mac os app extension in Swift 4.2 using Xcode version 10.1. Currently I am showing one popup window when user click on toolbar button. In popup window I have loaded web page which has searchbox. Currently when user search using…
2
votes
2 answers

Cmake Xcode add extension via new copy files phase

I am trying to build an Xcode 9 project with cmake (3.8.0). It consists of an app target and an appex (extension) target, which needs to be copied into the app's PlugIns directory via a "Copy Files Phase" (or "Embed App Extension Phase") in the…
jfjs
  • 103
  • 6
2
votes
1 answer

I'm trying to hide active applications from the dock in OSX Sierra but what I'm doing just crashes the application

I did some research on the subject and theoretically you should be able to insert LSUIElement right before at the end of a .dmg file to get the icon to hide from the dock even when it is in use. I'm not looking…
Cdhippen
  • 615
  • 1
  • 10
  • 32
1
vote
1 answer

VPN System Extension blocked even though it's notarized, requires user open macOS System Preferences. Is it b/c the app is not on the mac AppStore?

I have an application that we're developing that provides VPN System Extension for macOS. I have successfully built, signed and notarized the app. When we install the package the user sees this popup: The program tried to load new system…
1
vote
1 answer

You don't have permission to save file in Mac Mojave

In my macOS app I'm trying to create a directory using the below extension extension URL { static func createFolder(folderName: String, folderPath:URL) -> URL? { let fileManager = FileManager.default let folderURL =…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
0 answers

macOS App .documentDirectory in App Extension

I've faced an issue, where while I'm trying to get .documentDirectory from my app, I get /Users//Documents But when I'm trying to do exact same thing from App Extension I get /Users//Library/Containers/
1
2