Ich erstelle ein Cocoa-Anwendungsprojekt und füge das Ziel "Finder sync extension" hinzu. Dann wird "finderSync.appex" in den Ordner ".../Contens/Plugins /" gestellt. Aber wenn ich die Anwendung starte, wird die Erweiterung nicht automatisch geladen, sollte ich sie manuell laden? Wie kann ich es laden?Wie wird eine Finder-Sync-Erweiterung automatisch geladen?
Von der Entwicklung Führung von Apple, sagt es:
For OS X to recognize and automatically load the Finder Sync extension, the extension target’s info.plist file must contain the following entries:
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict/>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.FinderSync</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).FinderSync</string>
</dict>
ich bereits als oben gesetzt, aber es doens't Arbeit.
Hallo, ich bin mit dem gleichen Problem konfrontiert. Könnten Sie das lösen? Beim Hinzufügen von $ PRODUCT_MODULE_NAME stürzt die App ab. Manuell kann es auf diese Weise gemacht werden, aber ich bin nicht sicher, ob es so gemacht werden soll. https://stackoverflow.com/questions/31176942/how-to-enable-findersync-extension-in-the-system-preference-in-cocoa-objective –