Questions tagged [osx-extensions]

Related to the new OS X extensions.

Related to the new OS X extensions.

12 questions
28
votes
5 answers

How to use Crashlytics with iOS / OS X today view extensions?

Since today extensions run as separated a process I am sure they will not log any crashes out of the box. I assume we need to initialize Crashlytics on the widget separately. E.g. in the viewDidLoad method of the TodayViewController. Is anybody…
martn_st
  • 2,576
  • 1
  • 24
  • 30
11
votes
4 answers

Communicate between finder sync extension and XPC

I am working on a Finder Sync Extension for OS X and want to use a background XPC service. I can start in the main app and have it launch the XPC and run correctly but nothing happens when I attempt to access it from the Finder Sync. both the…
utahwithak
  • 6,235
  • 2
  • 40
  • 62
5
votes
2 answers

How to integrate Finder Sync Extensions with Xcode in Cocoa

I want to use Finder Sync Extensions exactly like Dropbox like add toolbar icon and update the badge icons while syncing using Objective C in Xcode. I searched in google a lot but I could not found any sample code related to this. I found only one…
jigs
  • 839
  • 1
  • 6
  • 23
4
votes
0 answers

Finder Sync plugin and NSXPCConnection

I have the following situation: there is a main, non-sandboxed application; there is a Finder Sync plugin, bundled into this application. Sandboxed; there is a XPC helper bundled into this application. Sandboxed. Problem: opening NSXPCConnection…
Nickolay Olshevsky
  • 13,706
  • 1
  • 34
  • 48
4
votes
3 answers

FinderSync Extension - requestBadgeIdentifierForURL is never called

I have tested the template provided in Xcode for making a FinderSync Extension. Everything works well except two things: a) The method requestBadgeIdentifierForURL is never called by the system when a folder is monitored so that badges are not set.…
3
votes
3 answers

Can you distribute a Safari App Extension *outside* the Mac App Store?

The App Extension Programming Guide says this: To deliver an OS X app extension, it’s recommended that you submit your containing app to the App Store, but it’s not required. And the Safari App Extension Programming Guide says this: Safari app…
TheNextman
  • 12,428
  • 2
  • 36
  • 75
3
votes
1 answer

OS X Finder Sync Extension

I am not able to create a simple Finder Sync Extension. I have created a new OS X project and added the Finder Sync Extension target and I ran the extension attached to finder. The code appears to be running the init methods and the toolbar items…
Douglas Cobb
  • 193
  • 1
  • 9
2
votes
2 answers

OS X Finder Sync App not attaching to xcode debugger

I have a finder sync extension app. While running an app the breakpoints and console is not working.
Velu Loganathan
  • 241
  • 2
  • 11
2
votes
0 answers

host connection connection from pid invalidated

I have created finder sync extension and things are working fine on 10.10 OS X but when running on 10.11 , For each new finder window sync extension - (instancetype)init method is getting called. After launching new window I am getting below log in…
Parag Bafna
  • 22,812
  • 8
  • 71
  • 144
1
vote
0 answers

FinderSync requestBadgeIdentifierForURL not invoked for new files

I have tested the template provided in Xcode for making a FinderSync Extension. For some cases the requestBadgeIdentifierForURL funciton is not invoked. Using the finder with the view-"tree view", you can open the folder and see the files in it…
1
vote
0 answers

How can I share data between the container macOS app and my Xcode Source Editor Extension?

I have made an Xcode Source Editor extension, and it lives within a container app, as Apple recommends. The container app handles the UI, and accordingly the input from the user that needs to be set for my extension to work right. How can I take the…
Lizza
  • 2,769
  • 5
  • 39
  • 72
1
vote
1 answer

Is it possible to run pluginkit from a process running as root?

I'm trying to run pluginkit (The executable that manages extensions on OS X) from a launch daemon running as root. /usr/bin/pluginkit -m -i "" fails with an output of match: Connection invalid. This is not terribly unexpected, since…
Chris Vasselli
  • 13,064
  • 4
  • 46
  • 49