問題タブ [findersync]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
objective-c - FinderSync plist の NSExtensionPrincipalClass に製品モジュール名を追加するとクラッシュする
私の cocoa アプリケーションには finder 同期拡張機能があります。
Apple ガイドで提案されているとおり: https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/Finder.html
$(PRODUCT_MODULE_NAME) をファインダーの info.plist に追加しました。
これを行うと、初期ポイントに到達する前であってもファインダーがクラッシュします。
私のキャッチされていない例外ハンドラーでさえ、この例外をキャッチできません。
私の拡張機能の info.plist ファイル。
エラー スタック トレースは次のとおりです。
cocoa - App Sandbox がオフの Finder 同期が機能しない
シンプルな Finder Sync (FinderSync) 拡張機能 (appex) を作成しました。これは、デフォルトで App Sandbox がオンになっています (.entitlements com.apple.security.app-sandbox true 内)。
すべて正常に動作しますが、この拡張機能を介して macOS 上の特定のフォルダーにアクセスする必要があり、サンドボックスをオンにするとアクセスできません。
サンドボックスを無効にしましたが、拡張機能が Finder に読み込まれません。これについて何か考えはありますか?回避策はありますか?