iOS 11以前のAction + Document + File Provider拡張機能があります。私が見る問題は次のとおりです:Xcode 9でビルドされたiOS 9および10でFile Provider Extensionが起動しない
私のアプリがXcode 8でビルドされているとき、ファイルプロバイダはすべてのiOSで正常に動作します。
私のアプリは、iOSの11で正常に動作しますが、iOSの9と10に起動に失敗しXcodeの9(コードの変更なし)、ファイルのプロバイダーを使用して構築されている場合。
ドキュメントピッカーとアクション拡張は、どこでもうまく機能します。私はここで
は(Xcodeの8)の成功と失敗のデバイスのログ(Xcodeの9)のとき、ファイルプロバイダー拡張子を登録しようとXcodeの8で使用できないクラスを使用したいので
私はXcodeの9の上に構築する必要がありますメインアプリが起動します。他のアプリが内線番号に電話をかけようとすると、同様のメッセージが表示されます。
のXcode 9は、iOS 10
installd(MobileSystemServices)[42] <Notice>: 0x16e107000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.companyname.appname.fileprovider at /private/var/mobile/Containers/Data/PluginKitPlugin/5B502EFD-DFA7-4F23-BCCE-EBF63F455B98
lsd(MobileCoreServices)[75] <Notice>: Found extensionPointData dict <com.apple.fileprovider-ui> for <private>
lsd(MobileCoreServices)[75] <Notice>: Found extensionPointData dict <com.apple.fileprovider-nonui> for <private>
SpringBoard(UserNotificationsServer)[49] <Notice>: [com.companyname.appname] Application installed using default data provider
SpringBoard(UserNotificationsServer)[49] <Notice>: Create new default data providers
fileproviderd(MobileCoreServices)[21] <Notice>: LaunchServices observer: Installed plugins <private>
fileproviderd(Foundation)[21] <Notice>: discovered extensions
assertiond[59] <Notice>: Ignoring assertion request named "com.apple.extension.session" from <BSProcessHandle: 0x10022bb30; fileproviderd:21; valid: YES> because process { pid 224; bundleID (null) } is unknown.
fileproviderd(Foundation)[21] <Notice>: calling plugIn beginUsing:
fileproviderd(PlugInKit)[21] <Notice>: connection to plug-in <private>(C96A6048-676A-4B17-8DEF-983B0BEA5656) lost
fileproviderd(PlugInKit)[21] <Error>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.companyname.appname.fileprovider" UserInfo={NSDebugDescription=connection to service named com.companyname.appname.fileprovider}
fileproviderd(Foundation)[21] <Notice>: PlugInKit error in beginUsing:
fileproviderd[21] <Fault>: [ERROR] Extension request failed. Error: <private>
fileproviderd[21] <Fault>: [ERROR] Error registering file provider extension <private>: <private>.
fileproviderd[21] <Notice>: [NOTICE] Trying to register file provider extension <private> again. Tries left: 2
fileproviderd(Foundation)[21] <Notice>: killing invalid plugIn
fileproviderd(Foundation)[21] <Notice>: completed calling plugIn beginUsing: for pid: 0
assertiond[59] <Notice>: Ignoring assertion request named "com.apple.extension.session" from <BSProcessHandle: 0x10022bb30; fileproviderd:21; valid: YES> because process { pid 224; bundleID (null) } is unknown.
fileproviderd(Foundation)[21] <Notice>: calling plugIn beginUsing:
fileproviderd(PlugInKit)[21] <Error>: plug-in <private> pre-screen sees activating state
fileproviderd(PlugInKit)[21] <Notice>: connection to plug-in <private>(C96A6048-676A-4B17-8DEF-983B0BEA5656) lost
fileproviderd(PlugInKit)[21] <Error>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.companyname.appname.fileprovider" UserInfo={NSDebugDescription=connection to service named com.companyname.appname.fileprovider}
fileproviderd(Foundation)[21] <Notice>: PlugInKit error in beginUsing:
fileproviderd[21] <Fault>: [ERROR] Extension request failed. Error: <private>
fileproviderd(Foundation)[21] <Notice>: killing invalid plugIn
fileproviderd[21] <Fault>: [ERROR] Error registering file provider extension <private>: <private>.
Xcodeの8のiOSの10
fileproviderd(Foundation)[21] <Notice>: discovered extensions
installd(MobileSystemServices)[42] <Notice>: 0x16e107000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.companyname.appname.fileprovider is now at /private/var/mobile/Containers/Data/PluginKitPlugin/8B44BA26-5F62-465E-B40D-A0FE9F4277B1
lsd(MobileCoreServices)[75] <Notice>: Found extensionPointData dict <com.apple.fileprovider-ui> for <private>
lsd(MobileCoreServices)[75] <Notice>: Found extensionPointData dict <com.apple.fileprovider-nonui> for <private>
SpringBoard(UserNotificationsServer)[49] <Notice>: [com.companyname.appname] Application installed using default data provider
SpringBoard(UserNotificationsServer)[49] <Notice>: Create new default data providers
fileproviderd(Foundation)[21] <Notice>: discovered extensions
fileproviderd(MobileCoreServices)[21] <Notice>: LaunchServices: Waiting on mutex for local DB to be updated
fileproviderd(MobileCoreServices)[21] <Notice>: LaunchServices observer: Uninstalled plugins <private>
fileproviderd(MobileCoreServices)[21] <Notice>: LaunchServices observer: Installed plugins <private>
assertiond[59] <Notice>: Ignoring assertion request named "com.apple.extension.session" from <BSProcessHandle: 0x10022bb30; fileproviderd:21; valid: YES> because process { pid 224; bundleID (null) } is unknown.
fileproviderd(Foundation)[21] <Notice>: calling plugIn beginUsing:
FileProvider(ADAL)[319] <Notice>: ADAL version 2.3.1
kernel(Sandbox)[0] <Notice>: SandboxViolation: FileProvider(319) deny(1) file-read-data /private/var/mobile/Containers/Data/Application
kernel(Sandbox)[0] <Notice>: SandboxViolation: FileProvider(319) deny(1) file-read-data /private/var/mobile/Containers/Shared/AppGroup
fileproviderd(Foundation)[21] <Notice>: completed calling plugIn beginUsing: for pid: 319
FileProvider[319] <Notice>: ACFileProvider - "init" [319]:0x13dd560b0. Constructor
にこの原因とどのように私はそれを固定し得ることができているものの任意のアイデア?おかげさまで
@Benから "この問題はXcode 9.1で修正されているようです。" (スコアが低いために貼り付けられた) –